An Xtream Codes login is three separate values that most apps will not accept directly. This free tool turns them into the exact links your app expects — M3U, EPG and Player API — and tests whether the server answers. Everything runs inside your browser.
What Xtream Codes Actually Is
Xtream Codes is not a streaming service. It is the login system that a great many IPTV providers use behind the scenes. Instead of handing you a playlist file to download, the provider gives you three things: a server address, a username and a password. Your app sends those to the server, and the server hands back the channel list on demand. That is the whole idea.
The practical problem is that those three pieces are useless on their own. Most apps, players and TV boxes want a single link, not three separate values. The link has a specific shape, and if you get a single character wrong the whole thing fails silently — no error message, just an empty channel list. This page builds that link for you from the three values you already have.
If you are still deciding which method to use, our Xtream Codes vs M3U guide compares the two properly. The short version: Xtream is tidier because your channel list updates automatically, while an M3U is a frozen snapshot you import once.
Why the Links Are Easy to Get Wrong
Four things trip people up, and all four are handled automatically below.
- The scheme. Most Xtream servers run on plain
http, nothttps. Apps that quietly upgrade the address to a secure one get no reply. - The port. It is usually a number like
8080or25461, and it has to be attached to the address with a colon. Omit it and the request goes nowhere. - The path. The endpoint is
get.phpfor the playlist,xmltv.phpfor the guide, andplayer_api.phpfor the account. Mixing them up is the single most common mistake. - The output format.
output=tsandoutput=hlsdeliver the same channels in different containers, and one will often work when the other stutters badly.
A correctly formed M3U link looks like this, and every part of it matters:
http://example.com:8080/get.php?username=you&password=secret&type=m3u_plus&output=ts
Build Your Links
Enter the three values your provider gave you and press the button. The port field is optional — if your server address already includes it, leave the field empty and the tool will read it from the address. All four links are built at once so you can paste whichever one your app asks for.
Xtream Codes Link Builder
Turn your login into working M3U, EPG and API links. Runs in your browser — nothing is sent to us.
Which Link Goes Where
Every app is slightly different, but the same four links cover almost everything you will be asked for.
| Link | Where it goes |
|---|---|
| M3U (TS) | The main playlist field in VLC, TiviMate, IPTV Smarters and most set-top boxes. |
| M3U (HLS) | The same field, but for phones, Apple devices or any setup where TS stutters. |
| EPG | The guide or XMLTV field, so your programme times actually appear. |
| Player API | The plain Xtream login field, where an app asks for a server, username and password separately rather than one link. |
If your app offers an “Xtream Codes” or “Xtream API” login screen, you usually do not need any of these links at all — just type the three values into the boxes. The links exist for the apps that only accept a single address. Our M3U parser can then read the playlist a link produces, so you can see exactly what the server sent back.
If the Test Says the Server Is Unreachable
The test button only answers one question: did the server reply at all. A failed test almost always means one of these, in this order.
- The address is wrong. Copy it from the provider’s message again rather than retyping it. A single wrong letter is enough.
- The port is missing. If the provider gave a number after a colon, it belongs in the port field.
- The server blocks browser checks. Some hosts refuse requests that come from a web page but work perfectly inside your app. This is common and not a fault on your side.
- The line is genuinely down. Before assuming the worst, check it in the app you actually use. If that fails too, contact your provider.
A test that passes is not a guarantee that every channel works — it only confirms the address and your login are being accepted. To check whether the streams themselves are alive, run your playlist through the playlist health checker.
Keeping Your Login Safe
An Xtream link contains your username and password in plain text. Anyone who sees the link can use your subscription, and providers usually limit how many people can watch at once. Treat the link exactly as you would treat a password.
Three habits worth keeping:
- Never post a full link in a forum, group chat or support ticket. Share the server address only, and blank out the credentials.
- This tool never sends your details anywhere. The links are assembled by JavaScript inside this page, so you can build them with the network switched off entirely.
- Change your password if a link ever leaks. If your provider charges per connection, a shared link is money out of your pocket.
Be cautious of any website that offers to “check your account details” or show your expiry date. It cannot do that without your password passing through its own server, which is exactly what you should avoid. Before signing up anywhere, our guide on how to spot an IPTV scam is worth five minutes.
When the App Still Says No
If the links are correct and the server responds, but the app refuses to log in, the fault is nearly always on the app side rather than the link. The usual culprits are a trailing space pasted in with the username, the wrong output format selected, or a player that needs the account added under a different menu than the one you used. Our IPTV not working guide walks through those cases step by step, and the M3U playlist guide covers what the format looks like once you have it.
Frequently Asked Questions
Is this Xtream Codes link builder safe to use?
Yes. The links are built by JavaScript inside this page. Your server address, username and password are never sent to us, never logged and never stored. You can build the links with your internet connection switched off.
What are the three things I need from my provider?
A server address, a username and a password. The address may already include a port number after a colon; if it does not, your provider will normally give you the port separately.
Which link should I use for my app?
Start with the M3U link using output=ts. If it stutters on a phone or Apple device, try the HLS link instead. Use the EPG link in the guide field, and the Player API link only if your app asks for an Xtream login by link rather than separate boxes.
The test says my server is unreachable. What now?
Check the address and port first, copying them again rather than retyping. If they are right, some servers simply block requests that come from a web page while working normally inside your app. Confirm in the app you actually use before assuming the line is down.
Can I see my account expiry date with this tool?
No, and no website honestly can. Reading account details means your password passing through someone else's server, which is a risk you should not take. Expiry dates can only be read safely inside your own app.
Does the link expire?
The links do not expire on their own, but they only work while your subscription is active and the server address stays the same. If your provider changes the server, rebuild the links with the new address.
Conclusion
A link builder will not fix a dead server or a mistyped address, but it removes the one step where most people quietly go wrong. Build the links once, paste the right one into the right field, and the "empty playlist" problem usually disappears.
Want a service that hands you clean, working links from the start? Check Earnest IPTV — 18,000+ properly organized channels, full EPG coverage, and a working Xtream login across 80,000+ movies & series.