If you have ever opened an IPTV app for the first time, you probably saw three options: Xtream Codes, M3U URL and sometimes a portal address. They look like three different products. They are not. They are three ways for your app to talk to the same server, and the choice mostly depends on what your device and app support.
This guide explains what each login type really does, what you gain or lose with each, and how to pick one without wasting an evening. If you are new to the terms, read what Xtream Codes is first, then come back here.
In this guide
- What an Xtream Codes login is
- What an M3U link is
- What a Stalker portal is
- Which one gives the best experience
- How to convert between them
- Common mistakes with login types
- A simple way to decide in two minutes
- What changes on each device
- Quick checklist
- Frequently asked questions
What an Xtream Codes login is
An Xtream Codes login is made of four things: a server address with a port, a username and a password. The app uses them to ask the server for your account details, the list of channels, the movies and series, and the program guide. Everything arrives as structured data, so the app can show clean categories, posters and a proper TV guide.
Because the app talks to the server directly, it can also read your expiry date, check how many connections you have and refresh the list on its own. That is why most modern players put Xtream Codes first on the menu. If your app offers it, this is usually the smoothest option.

What an M3U link is
An M3U link is a single web address that returns a text file listing channels. Each entry has a name, a group and a stream address. It is the oldest and simplest format, and almost every media player can open one, including VLC and Kodi.
The weakness is that a plain M3U file carries no account information and often no guide data. You usually need to add a separate XMLTV address for the program guide. Very large lists can also load slowly, because the app has to download and read the whole file every time it refreshes.
What a Stalker portal is
A Stalker portal, sometimes called MAC portal, works differently. You enter a portal address, and the service recognises your device by its MAC address, a hardware number shown in the app. There is no username or password on your side. Set top boxes such as MAG devices use this method, and some apps copy it.
The catch is that your service has to register that MAC address first, and a new device means a new registration. If you replace your box or reset the app and the number changes, the portal will stop working until it is updated. Keep a note of the number you gave your provider.

Which one gives the best experience
For most people the order is simple. Xtream Codes gives the cleanest result, M3U is the universal backup, and Stalker is for devices that only speak that language. On a phone, Fire TV Stick or Android TV, Xtream Codes should be your first try, as in our TiviMate setup guide.
Choose M3U when the app has no Xtream option, when you want to open the same list in VLC on a computer, or when you want to test quickly. Choose Stalker only when your device is built around it. Mixing them on the same device rarely helps, so decide once and stay with it.
How to convert between them
Xtream details can be turned into an M3U link. The usual pattern is the server address and port, followed by get.php with your username and password and a type setting. Your provider normally sends you this link as well, so you rarely need to build it yourself. Never paste it into a public forum, because it contains your password.
Going the other way is harder. An M3U link does not always reveal the Xtream fields, so ask your provider for the server, username and password if you want to switch to an app that needs them. Providers know this question well and usually answer within a few minutes.

Common mistakes with login types
The most frequent mistake is typing the portal address into an Xtream field, or the server address into the M3U field. If the app says the login failed, check that the address and the login type match. Another is leaving a space at the end of the username when pasting. Many keyboards add one without you noticing.
Also remember that some apps need the full address with http:// at the start, while others add it for you. If you see an error about an invalid URL, try adding or removing the prefix. The troubleshooting checklist walks through the other usual causes.
A simple way to decide in two minutes
Open your app and look at the add playlist screen. Write down which options it offers. Then check what your provider sent you: a server with username and password, a long link, or a portal and nothing else. If both lists share an item, use it. If they share more than one, choose in this order: Xtream Codes, M3U, portal.
If the first choice loads the channels but the guide is empty, do not switch login types straight away. Check the guide settings, because the problem is often a missing guide address or a refresh that has not run yet. Switching only makes sense when the list itself fails to load.
What changes on each device
Phones, Fire TV Sticks and Android TV boxes handle Xtream Codes well, because the popular apps on them were built around it. Computers are different: VLC and Kodi are happiest with an M3U link. Smart TVs vary by brand, and some only offer a portal or a link, so read the add playlist screen before you buy a subscription for that TV.
If you use more than one device, you can mix. Use Xtream on the TV for the guide and posters, and the M3U link in VLC on the laptop for a quick check. Both draw from the same account, so the connection limit of your line still applies across them.
Quick checklist
- Check which login types your app supports before you enter anything.
- Try Xtream Codes first, then M3U, then Stalker only if the device needs it.
- Copy details with no spaces before or after.
- Keep a note of the MAC address if you use a portal.
- Never post your M3U link or login in public.
Frequently asked questions
Is Xtream Codes better than M3U?
For most apps, yes. Xtream Codes lets the app read categories, posters, the guide and your account details. M3U is still a good backup and works in almost every media player.
Can I use the same service with all three login types?
Usually the service is the same, but your provider decides which methods they offer. Ask them for the details of each method you want to use.
Why does my portal stop working on a new box?
A portal ties your account to the MAC address of the device. A new device has a new number, so your provider has to register it.
Do I need a separate guide address with M3U?
Often yes. Many M3U links carry no program guide, so you add an XMLTV address in the app settings if your provider supplies one.
Test everything with a free trial first
Whatever player you settle on, try your service with a free 24-hour trial before you pay for anything. A trial lets you check the channel list, the EPG and the picture quality on your own TV and your own internet, which is the only test that really matters.
Get help from our team
Need a hand? Open the live chat on this site. Any visitor can use it and help is free. Our team knows TVs, streaming devices, apps and IPTV servers, so tell us your device model and what you see on the screen.