M3U vs Xtream Codes: Which IPTV Login Should You Use?
A clear comparison of the three IPTV login types: how M3U, Xtream Codes and MAG portals work, how they handle the guide and the on-demand library, and which one to choose for your device.

When an IPTV subscription is activated, the message that arrives does not contain a TV channel. It contains a login: a few lines of text that tell a player app where to find the channels and how to prove you are allowed to watch them. For most people that login comes in one of three forms: an M3U playlist link, an Xtream Codes login or a MAG portal address. They all lead to the same channels, but they work in different ways, suit different devices and behave differently when something goes wrong.
Knowing which one you have, and which one you should ask for, saves a surprising amount of frustration. It decides how quickly the player loads, whether the TV guide appears by itself, how the on-demand library is organised and how easy it is to fix a typing mistake. This guide explains each login type in plain language, compares them side by side and gives clear advice on which to use on each kind of device.

The short answer
If your player supports it, Xtream Codes is usually the better choice. It loads live channels, the TV guide and the on-demand library together, in a structured way, and most modern players are designed around it. M3U playlists are the universal fallback: almost every player and media app can open one, including general-purpose tools such as VLC. MAG portals are only for MAG set-top boxes and a few apps that imitate them.
The rest of this article explains why, and how to get the most out of whichever login you use.
What a login actually does
It helps to understand the job a login performs. An IPTV player is an empty shell when you first install it. It knows how to play video and how to draw menus, but it has no idea which channels exist or where to find them. The login fills that gap. It tells the player:
- where the service is on the internet;
- who you are, so the service can check that your plan is active;
- which channels, categories and titles are available to you;
- where to fetch the stream for each channel when you press play;
- where to find the TV guide.
The three login types deliver this information in different packaging. The channels at the end of the chain are the same.
M3U playlists explained
M3U is one of the oldest formats in digital media. It began as a simple way to list music files for playback and grew into the most widely supported way to describe a list of streams.
What it looks like
An M3U playlist is a text file. For IPTV, each channel usually takes two lines: one describing the channel and one giving the address of its stream. The description line can include the channel name, its logo, its category and an identifier used to match it with the TV guide. You normally never see the file itself. Instead, you receive a single web link that points to it, and you paste that link into your player.
How a player uses it
When you add an M3U link, the player downloads the whole list at once, reads every entry and builds its channel menu from it. With a large line-up, that list can be very long, so the first load may take a while, and low-powered devices can feel slow while they process it.
The TV guide with M3U
The playlist describes channels, not schedules. To show a guide, the player needs a separate guide address, often called the EPG URL. Some players find it automatically from information in the playlist; others need you to paste it in. If you use M3U and the guide is empty, a missing EPG URL is the first thing to check. The EPG explainer covers how guide data works in detail.
On-demand content with M3U
Films and series can be included in an M3U playlist, but they appear as long flat lists of entries rather than neatly organised libraries with posters, seasons and episodes. Some players do a good job of tidying them up; others simply show them as more channels. For people who watch a lot of on-demand content, this is one of the main reasons to prefer Xtream Codes.
Strengths of M3U
- Universal. Nearly every IPTV player, many Smart TV apps and general media players such as VLC can open an M3U link.
- Simple to share between your own devices. One link, copied into each player.
- Good fallback. If a player does not support Xtream Codes, M3U almost certainly works.
Weaknesses of M3U
- Large lists load slowly on modest devices.
- The guide may need a separate link.
- On-demand content is less organised.
- One long link is easy to mistype when entering it with a TV remote.
Xtream Codes explained
Xtream Codes is the name commonly used for a login method based on a server address, a username and a password. Rather than downloading one giant list, the player talks to the service in a structured way, asking for exactly what it needs.
What it looks like
You receive three details:
- a server URL, usually starting with http:// and often ending with a port number such as :8080;
- a username;
- a password.
You type these into the player's Xtream Codes login screen. Some players call it "Xtream Codes API", "XC login" or simply "Login with Xtream".
How a player uses it
After you sign in, the player asks the server for the list of live categories, then the channels in each category, then the on-demand categories and titles, then the guide. Because the information arrives in organised pieces, the player can show categories quickly and fetch details as you browse. On most devices this feels faster and lighter than processing one enormous playlist.
The TV guide with Xtream Codes
With Xtream Codes, the guide is part of the same connection. The player knows where to find it without any extra links. In most players the guide simply appears after the first load, which is one of the biggest practical advantages of this login type.
On-demand content with Xtream Codes
Films and series are delivered as proper libraries. Players can show posters, ratings, descriptions, seasons and episodes, and many remember exactly where you stopped watching. If the on-demand library matters to you, Xtream Codes gives a much better experience.
Strengths of Xtream Codes
- Structured loading, which is usually faster and easier on the device.
- The guide loads automatically.
- Organised movie and series libraries with artwork and episode lists.
- Short details that are easier to type than a long M3U link.
- Account information such as the expiry date is often shown inside the player.
Weaknesses of Xtream Codes
- Not every app supports it. General media players such as VLC do not.
- Three fields instead of one, each of which has to be exactly right.
MAG portals explained
MAG boxes are dedicated IPTV set-top boxes. They do not use apps in the usual sense. Instead, they load the entire interface from a portal, a web address that the box connects to at start-up.
How a MAG login works
A MAG box has a unique hardware identifier called a MAC address, printed on a label underneath the box. The service links that MAC address to your plan. You then enter the portal address in the box settings. When the box starts, it connects to the portal, the portal recognises the MAC address, and the channels, guide and menus appear.
Strengths of MAG portals
- No app to install or update.
- Simple for the viewer: after setup, the box behaves like a traditional TV receiver.
- Usually connected by cable, which gives stable playback.
Weaknesses of MAG portals
- Tied to one box. The login is linked to the MAC address, so it does not move to other devices.
- Less customisation than app-based players.
- Requires the MAC address to be registered before it works.
The MAG setup guide shows exactly where to enter the portal address.
Side-by-side comparison
| Feature | M3U playlist | Xtream Codes | MAG portal |
|---|---|---|---|
| What you receive | One web link | Server URL, username, password | Portal URL, linked to your box |
| Player support | Almost universal | Most modern IPTV players | MAG boxes and portal apps |
| TV guide | Often needs a separate link | Loads automatically | Built into the portal |
| Movies and series | Flat lists | Organised libraries | Organised in the portal |
| Load speed on small devices | Can be slow with big lists | Usually faster | Fast |
| Ease of typing on a TV | One long link | Three short fields | Portal URL once |
| Works on several devices | Yes | Yes | One box only |
Which login to use on each device
The right choice depends mostly on the device and the player you use.
Firestick and Fire TV
Most popular players on Fire TV support Xtream Codes, and it is usually the better option for speed and for the guide. Use M3U only if your chosen player lacks Xtream support. The Firestick guide covers installation step by step.
Android TV and Google TV
The same advice applies: choose Xtream Codes where possible. These devices are generally more powerful than sticks, so large M3U lists also load reasonably well if you need them.
Samsung and LG Smart TVs
Smart TV players vary. Some accept Xtream Codes directly on the TV; others are activated by uploading an M3U link on the player's website using the TV's device code. Follow whatever your chosen player expects. The Samsung guide and LG guide explain both routes.
Apple TV, iPhone and iPad
Most well-known players on Apple devices support Xtream Codes, and it gives the best experience with the guide and the library.
Windows and Mac
For a quick test, VLC opens an M3U link in seconds. For everyday viewing with a guide and organised categories, a dedicated IPTV player with Xtream Codes is more comfortable.
MAG boxes
Use the portal. That is what the box is designed for.
Typing your login without mistakes
The most common reason a player refuses a login is a typing error. Logins are exact: one wrong character and the server rejects the request.
Common mistakes
- Capital letters. Usernames and passwords are case-sensitive.
- 0 and O, 1 and l. These look similar on many screens and fonts.
- Missing http:// at the start of the server URL.
- Missing or wrong port number, such as :8080, at the end of the server URL.
- A space at the end of a password copied from a message.
- Extra characters picked up when copying from a chat app on another device.
Tips for entering details on a TV
Typing with a remote is slow, and mistakes are easy. A few tricks help:
- Use the player's phone companion app or web portal if it offers one, so you can paste details from your phone.
- Some TVs and sticks accept a USB or Bluetooth keyboard.
- Type slowly and check each field before pressing sign in.
- If a field shows dots for the password, look for an option to show the password while you type.
If you still get an error, send a photo of the login screen and the error message to the support team. They can check the details against your line. The troubleshooting page lists other common causes.
Switching from one login type to another
You are not locked into the first login you receive. If you started with M3U and want the advantages of Xtream Codes, or you change devices, you can ask for the details that suit your new setup.
When switching makes sense
- The guide is empty with M3U and you do not want to manage a separate EPG link.
- Your device struggles to load a large playlist.
- You watch a lot of films and series and want proper libraries.
- You moved from a MAG box to an app-based device, or the other way round.
How to switch cleanly
- Ask the team for the login type you want.
- In your player, add the new login as a new profile or playlist.
- Check that channels, the guide and on-demand content load correctly.
- Remove the old profile to avoid confusion and save storage.
- Recreate your favourites in the new profile if the player does not carry them over.
Adding each login type in a typical player
Every player has its own menus, but the steps follow the same pattern. Knowing the pattern makes any new player easy to set up.
Adding an Xtream Codes login
- Open the player and look for an option such as "Add user", "Add playlist" or "New profile".
- Choose the Xtream Codes option. It may be labelled "Xtream Codes API", "XC" or "Login with username".
- Give the profile a name you will recognise, for example "Aero".
- Enter the server URL exactly as sent, including http:// and the port number.
- Enter the username and password, paying attention to capital letters.
- Confirm and wait while the player loads categories, channels, the guide and the library.
The first load can take a minute or two. After that, opening the player is usually much faster, because the player keeps the basic structure in memory and only refreshes what has changed.
Adding an M3U playlist
- Open the player's "Add playlist" option and choose M3U, M3U URL or "Load from URL".
- Name the playlist.
- Paste or type the full M3U link.
- If the player has a field for an EPG URL and you received one, add it too.
- Confirm and let the player download and process the list.
With a very large playlist, the player may appear to freeze while it processes the list. Give it time before assuming something has gone wrong.
Entering a MAG portal
- Send the MAC address from the label under the box to the team so it can be linked to your plan.
- On the box, open Settings, then System settings, then Servers, then Portals.
- Name the portal and enter the portal URL exactly as received.
- Save, then restart the portal or the box.
Code-based activation on Smart TVs
Some Smart TV players do not let you type a login on the TV at all. Instead, they show a device code or MAC address on the screen. You visit the player's website on a phone or computer, enter that code and add your M3U link or Xtream details there. The TV then downloads the information automatically. This avoids typing long details with a remote, which is a real advantage. The setup guides explain this process for each TV brand.
Troubleshooting by login type
Each login type has its own typical problems. Knowing them makes it much quicker to find the cause.
Typical M3U problems
The playlist will not load. Check that the full link was entered, with no missing characters at the end. Long links are easy to cut short. Also make sure there are no spaces in the middle of the link.
The player freezes while loading. The list may be too large for the device's memory. Close other apps, restart the device and try again. If it keeps happening, Xtream Codes is usually the better option on that device.
No guide appears. Add the EPG URL in the player settings if your player needs it, then run a guide update.
Channel logos are missing. Logo addresses are part of the playlist. If logos do not appear, the player may not support them, or it may need a refresh. This does not affect playback.
Typical Xtream Codes problems
"Invalid login" or "Authentication failed". Retype the server URL, username and password carefully. Check for http://, the port number and capital letters.
Categories appear but channels do not play. Restart the player, then check your internet connection. If a few channels play and others do not, the problem may be with specific channels, which support can check.
The guide is empty after sign-in. Wait a few minutes, then use the player's EPG update option. Some players load the guide only after the channel list is complete.
The account shows as expired. Many players display the plan end date. If it shows expired while you believe your plan is active, contact support with a screenshot.
Typical MAG portal problems
"Authentication failed" at start-up. The MAC address registered with the service may not match the box. Compare the label on the box with the MAC address you sent, character by character.
The portal does not load at all. Check the network cable and the portal URL, then restart the box. Some boxes need the date and time set correctly to connect.
The guide or channel list is out of date. Restart the portal from the settings menu to reload everything.
Why there are three formats at all
It can seem odd that one subscription comes with three different ways to log in. The reason is history.
Playlists came first
M3U playlists existed long before IPTV services as we know them. Media players already understood them, so they were the natural starting point when people began streaming live channels over the internet. Their simplicity is the reason they are still supported almost everywhere.
Set-top boxes brought portals
As dedicated IPTV boxes appeared, manufacturers wanted a television-like experience: switch on, see channels, press the guide button. Portals delivered the whole interface from the server, so the box itself could stay simple. MAG boxes became one of the best-known families of these devices.
Apps needed something more structured
When IPTV moved onto Smart TVs, streaming sticks and phones, player apps wanted richer information than a flat playlist could easily provide: categories, artwork, series and episodes, account details and an integrated guide. Logins based on a server, username and password, widely known as Xtream Codes logins, met that need. Today they are the default in most modern players.
Each format survived because it solved a real problem for a particular kind of device. That is why a good IPTV service still offers all three.
Getting more from your login
Once the login works, a few settings in the player make everyday viewing noticeably better.
Organise favourites early
Whatever login type you use, the line-up is large. Spend a few minutes marking the channels you watch every week as favourites. Most players then let you open a favourites list or a favourites-only guide, which turns tens of thousands of channels into a short personal list.
Hide what you do not need
Many players let you hide categories. If you never watch certain countries or genres, hiding them speeds up scrolling and makes the guide lighter. With Xtream Codes this is usually done in the player's category settings; with M3U some players offer a similar filter after the playlist loads.
Set the right refresh interval
Players refresh the channel list and the guide on a schedule. A daily refresh is usually ideal. Refreshing too often slows the device, while refreshing too rarely means new channels or schedule changes take longer to appear.
Use profiles for different people
Some players support several profiles under one login. A household can create separate profiles with their own favourites, so the sports fan's list does not mix with the children's cartoons. This does not change the number of screens in your plan; it simply keeps everyone's choices tidy.
Keep the player updated
Developers regularly improve how players handle large libraries and guides. Updating the app from the official store is often the simplest way to make loading faster and fix small display bugs.
Back up your login details
Keep your login details somewhere safe and private, such as a password manager. If you reset a device, replace a streaming stick or reinstall a player, you will need them again, and having them ready saves a message to support and a wait for the reply.
Know where the account information is
Players that use Xtream Codes often show the account status, the number of allowed connections and the expiry date in a settings or account screen. It is worth knowing where this is, because it is the quickest way to check your plan details when you are about to renew or when something seems wrong.
A quick decision guide
If you just want to know what to ask for, these rules cover almost every situation:
- You use a modern IPTV player on a TV, stick, Apple TV, phone or tablet: ask for Xtream Codes.
- Your player only accepts playlists, or you want to use VLC: ask for an M3U link, and an EPG URL if the player supports one.
- You have a MAG box: use the portal and send the MAC address from the label.
- Your Smart TV player uses a device code: follow its activation website and enter whichever login type it supports, usually M3U or Xtream Codes.
- You are not sure: tell the team your device model and player, and they will send the login that fits. The devices page also lists what each device needs.
Security and privacy
Your login is the key to your subscription, so it deserves the same care as any password.
Keep it private
Do not post your login online, in forums or in group chats. Shared logins can be suspended, and other people watching with your details use up your screens, which can stop your own streams from playing.
Use trusted apps
Install players only from official app stores or the developer's own website. Apps from unknown sources can be unreliable and may expose your device to unnecessary risk.
Watch for unexpected changes
If you suddenly find that your streams stop because the screen limit is reached when nobody else in your home is watching, contact support. They can check your line and replace the details if needed.
Frequently asked questions
Is Xtream Codes better than M3U?
For most players and most viewers, yes. Xtream Codes loads the guide and the on-demand library in an organised way and tends to be lighter on the device. M3U remains useful because almost every app supports it.
Can I use the same login on several devices?
Yes. You can enter the same Xtream Codes or M3U details on several devices. How many can play at the same moment depends on the number of screens in your plan, as shown on the pricing page. MAG portal logins are tied to one box.
Why does my M3U playlist take so long to load?
Large playlists contain thousands of entries, and the player has to read all of them. On low-powered devices this takes time. Switching to Xtream Codes, or using a more capable device, usually helps.
Do I need a separate EPG link?
With Xtream Codes, usually not. With M3U, some players need one. With a MAG portal, the guide is built in.
Which login does Aero provide?
Aero provides Xtream Codes logins, M3U playlist links and MAG portal access. The team sends the type that best suits your device and player, and you can ask for another type if your setup changes.
What should I do if the player says the login is invalid?
Retype the details carefully, checking capitals, similar-looking characters, the http:// prefix and the port number. If it still fails, send a photo of the screen to support.
Choosing with confidence
The difference between M3U, Xtream Codes and MAG portals can sound technical, but the practical choice is simple. If you use a modern IPTV player on a TV, stick, phone or computer, ask for Xtream Codes and enjoy a guide and a library that load by themselves. If your app only understands playlists, M3U will work almost anywhere. If you have a MAG box, use the portal it was designed for.
Whatever login you receive, type it carefully, keep it private and do not hesitate to ask for a different type if your devices or habits change. The channels at the end of the chain are the same; the login simply decides how comfortably you reach them.
Not sure which login suits your device? Tell us what you watch on and we will send the right one.
Ask the Aero teamWritten by the Aero IPTV team. Questions about this article? Get in touch.


