M3U vs Xtream Codes vs MAG Portal: Which IPTV Login to Use
The three IPTV login types side by side: how M3U, Xtream Codes and MAG portals work, how they handle the programme guide and the library, and which one to pick for your device.

When your IPTV subscription is activated, you receive a set of login details. For many people, that message is the first time they see terms like "Xtream Codes", "M3U URL" or "portal address", and it is not always obvious which one to use, where to type it or why there are different options at all. Choosing the wrong one does not break anything, but it can mean an empty programme guide, a missing film library or an app that takes ages to load.
This article explains the three login types used by MIPTV4K in plain language: what each one is, how it works behind the scenes, what it means for the guide and the on-demand library, and which one to choose on each device. By the end, you will know exactly what to do with the details you receive and how to fix the most common login errors yourself.

Why there are different login types at all
IPTV is delivered through player apps made by many different developers, running on very different devices: streaming sticks, smart TVs, set-top boxes, phones and computers. Over the years, three main ways of connecting a player to a service became standard. Each one grew out of a different need.
- M3U playlists came first. They are a simple, universal format for lists of media, used long before IPTV became popular.
- Xtream Codes logins arrived as services grew larger and players needed a richer, more organised way to load channels, the guide and on-demand content.
- MAG portals were designed for MAG set-top boxes, which identify themselves by their hardware address instead of a username and password.
All three give you access to the same service. The difference is how the player asks for the content and how much organisation it receives along the way.
M3U playlists explained
An M3U playlist is the simplest of the three. It is a single web address that points to a text file. That file lists every channel, one after another, with its name, its group, sometimes a logo and the address of its video stream.
What an M3U link looks like
You receive a single, long web address. Inside it, you will usually see your username and password as part of the address, followed by words such as "type=m3u" or "output=ts". You copy the whole address into your player as one piece. You do not need to separate it into parts.
How a player uses it
When you add the link, the player downloads the text file and reads it from top to bottom. It builds the channel list from the names and groups in the file. When you choose a channel, it opens the stream address listed for that channel.
Strengths of M3U
- Universal. Almost every player supports M3U, including general media players such as VLC on a computer.
- Simple. One address, nothing else to type. Useful for apps that only have a single input field.
- Portable. The same link can be used in many different apps, which makes testing easy.
Limitations of M3U
- The guide is separate. An M3U file describes channels, not schedules. The programme guide comes from a separate XMLTV address, which some players find automatically and others need you to enter by hand. Our EPG explainer covers this in detail.
- Large files load slowly. A very large line-up means a very large text file. On slower devices, loading and refreshing it can take a while.
- Less structure for on-demand content. Films and series may appear as long flat lists rather than tidy sections with artwork and descriptions, depending on the player.
Xtream Codes explained
An Xtream Codes login consists of three separate pieces of information: a server address, a username and a password. Instead of downloading one big text file, the player talks to the server and asks for exactly what it needs.
What an Xtream login looks like
You receive three values:
- Server URL: a web address that usually starts with "http://" and ends with a port number after a colon.
- Username: a short string of letters and numbers.
- Password: another string of letters and numbers.
In the player, you choose the option called "Xtream Codes", "Xtream API" or "Login with Xtream", then type each value into its own field.
How a player uses it
After you sign in, the player asks the server for the list of live channel categories, the channels in each one, the programme guide, the film library and the series library, often in separate requests. It receives organised data rather than a flat list, so it can display categories, artwork, descriptions and guide information neatly.
Strengths of Xtream Codes
- Everything in one login. Live channels, the guide, films and series all load from the same details.
- Better organisation. Categories, posters, ratings and episode lists are delivered in a structured way.
- The guide just works. In most players, the programme guide appears automatically after the first sync.
- Faster updates. The player can refresh only what changed rather than downloading everything again.
Limitations of Xtream Codes
- Not supported everywhere. Some simple players and general media players only accept M3U.
- Three fields to type. More chances for a typing mistake, especially on a TV remote.
For most people on most devices, Xtream Codes gives the best experience, which is why the team recommends it whenever the player supports it.
MAG portals explained
MAG boxes are dedicated IPTV set-top boxes. They do not use apps in the usual sense. Instead, they connect to a portal, a web address that delivers the full interface, the channels and the guide to the box.
How the box is identified
Every MAG box has a unique hardware address called a MAC address, printed on a label underneath the box. It usually starts with 00:1A:79. Instead of a username and password, the portal recognises your box by this address.
How to set it up
- Send the MAC address from the label to the team.
- The team links the box to your plan and sends you the portal address.
- On the box, open the settings, go to the server or portal section and enter the portal address.
- Restart the portal. The channel list and guide load automatically.
The MAG install guide walks through every menu.
Strengths of MAG portals
- Designed for TV. The interface, remote and guide are built for the living room.
- No typing of passwords. Once the MAC address is linked, you only enter the portal address.
- Stable. Dedicated hardware tends to behave consistently over time.
Limitations of MAG portals
- Only for MAG boxes and a few devices that imitate them.
- Tied to one box. If you replace the box, the new MAC address needs to be linked to your plan.

Side-by-side comparison
Here is how the three login types compare on the points that matter most in daily use.
| Point | M3U playlist | Xtream Codes | MAG portal |
|---|---|---|---|
| What you receive | One long link | Server, username, password | Portal address |
| Works with | Almost every player | Most modern IPTV players | MAG boxes |
| Programme guide | Separate EPG link in some apps | Loads automatically | Loads automatically |
| Films and series | Varies by player | Organised with artwork | Organised in the portal |
| Loading speed | Slower with big line-ups | Usually faster | Usually fast |
| Best for | VLC, simple players, testing | Fire TV, Android TV, Apple TV, phones | MAG set-top boxes |
Which login to use on each device
The right choice depends mostly on your device and the player installed on it. These recommendations cover the common setups.
Fire TV Stick and Fire TV Cube
Use Xtream Codes in a dedicated IPTV player. It loads the guide and the library cleanly and keeps the stick responsive. The Firestick guide shows the setup.
Android TV and Google TV
Use Xtream Codes. Android TV players almost always support it, and the same details also work on Android phones. See the Android TV guide.
Samsung and LG smart TVs
It depends on the app. Some TV apps support Xtream Codes directly; others use an M3U link added through a website with a device code. The team tells you which applies to the app on your model. The Samsung and LG guides explain both routes.
Apple TV, iPhone and iPad
Use Xtream Codes in an App Store player that supports it. Most popular players do.
MAG boxes
Use the MAG portal. It is the only option designed for these boxes.
Windows and Mac
In a dedicated IPTV player, use Xtream Codes. In VLC, use the M3U link, because VLC only accepts playlists. Note that VLC does not show a programme grid. The Windows guide covers both approaches.
Android phones and tablets
Use Xtream Codes in a dedicated player for the best experience, with the guide and the library.
What happens when you press play
It helps to know what the player actually does after you choose a channel, because it explains why the login type affects speed and reliability.
With an M3U playlist
The player already has the full list in memory from when it loaded the file. When you choose a channel, it looks up that channel's stream address in the list and opens it directly. If the playlist is old, for example because the app has not refreshed it for a long time, the stored address may be out of date and the channel may fail to start. Refreshing the playlist fixes that.
With Xtream Codes
The player keeps an organised copy of the categories and channels it received from the server. When you choose a channel, it builds the stream address from your login and the channel's identifier, then opens it. Because the player can ask the server for updated information at any time, its view of the line-up tends to stay current without large downloads.
With a MAG portal
The portal itself manages the interface. When you choose a channel, the portal tells the box which stream to open. The box does very little work of its own, which is one reason MAG boxes feel consistent even though their hardware is modest.
In all three cases, the video stream itself is the same. That is why picture quality does not depend on the login type: a 4K channel looks the same whether you reached it through M3U, Xtream Codes or a portal. What changes is how quickly you get there and how much information surrounds it.
Login types and the film and series library
The on-demand library is where the differences between login types are most visible. With more than 200,000 films and series available, organisation makes a huge difference to how easy it is to find something to watch.
Films and series with Xtream Codes
With an Xtream Codes login, players receive the film and series libraries as separate, structured sections. Films come with posters, release years, ratings and short descriptions. Series are grouped by show, then by season, then by episode. Most players also remember where you stopped, so you can resume a film or the next episode without searching.
Films and series with M3U
With an M3U playlist, films and series may appear as entries in the same long list as live channels, grouped by category name. Some players handle this well; others show a long, flat list with little artwork. If you mainly watch on-demand content, Xtream Codes is usually the better choice.
Films and series on MAG boxes
The portal presents the library in its own menus, with categories and descriptions. Navigation is designed for a TV remote, so it works comfortably even without a keyboard.
One subscription across several devices
Most households use more than one device. A single MIPTV4K plan can be installed on as many devices as you like, and the login type can differ from device to device.
A typical setup
A common arrangement looks like this:
- Living-room TV: a Fire TV Stick with a dedicated player using Xtream Codes.
- Bedroom TV: an older smart TV with its own app, using Xtream Codes or an M3U link depending on the app.
- Phone: an Android or iPhone player using the same Xtream Codes details.
- Laptop: VLC with the M3U link for occasional viewing.
All four devices use the same subscription. The only limit is how many play at the same time, which depends on whether your plan has one, two or three screens.
Keep a note of which device uses which login
When you set up several devices, write down which login type each one uses. If you later need to update a password or troubleshoot an error, you will know immediately which details to check on which device.
When a device is replaced
If you replace a phone or a streaming stick, simply install the player on the new device and enter the same details. Only MAG boxes need their new hardware address linked to your plan by the team.
Real-world scenarios
These short examples show how the choice works in practice.
A first-time user with a Fire TV Stick
Someone new to IPTV orders a one-screen plan and mentions a Fire TV Stick in the order form. The team sends Xtream Codes details and suggests a player. The user installs it from the Amazon Appstore, types the three values and waits for the first sync. The guide and the film library appear automatically.
A household with a MAG box and phones
A family uses a MAG box on the main TV and phones in other rooms. They send the box's MAC address and receive a portal address for the TV, plus Xtream Codes details for the phones. Everything works under one two-screen plan.
A laptop user who only wants a few channels
Someone watches mostly at a desk and is happy with a simple player. They use the M3U link in VLC and accept that VLC shows no programme grid. Later, they install a dedicated player on the laptop and switch to Xtream Codes to get the guide.
A smart TV with a device-code app
The owner of a recent Samsung TV installs an app that shows a device code on screen. They visit the app's website on a phone, enter the code and add their M3U link or Xtream details there. The channels appear on the TV a few moments later.
How to enter your details without errors
Most login problems come from small typing mistakes. A few habits avoid nearly all of them.
Type rather than paste on TVs
Copying and pasting between a phone and a TV often adds hidden spaces or line breaks. Typing the values with the remote is slower but more reliable.
Watch for look-alike characters
The digit 0 and the capital letter O, the digit 1 and the lowercase letter l, and the capital letter I are easy to confuse. If a login fails, check those characters first.
Respect capital letters
Usernames and passwords are case-sensitive. "Abc123" and "abc123" are different logins.
Include the full server address
For Xtream Codes, the server address usually needs "http://" at the start and the port number at the end, separated by a colon. Leaving either part out is a very common reason for a "connection failed" message.
Do not split the M3U link
An M3U link must be entered as one complete address. If a player only accepts Xtream Codes, do not try to cut the M3U link into parts; ask the team for the Xtream details instead.
Fixing the most common login errors
When something goes wrong, the error message usually points to the cause.
"Invalid username or password"
Check capital letters, look-alike characters and trailing spaces. If you copied the details, try typing them instead. If it still fails, send a photo of the error to the team.
"Connection failed" or "Server not reachable"
Check the server address for a missing "http://", a missing port or a typo. Make sure the device is connected to the internet by opening another app. Restart the router if needed.
"Account expired"
Your plan has reached its end date. Message the team to renew. Plans never renew automatically.
"Maximum connections reached"
More devices are playing than your plan allows. Close the player on any device you are not using. If this happens often, your household may need an extra screen; see the pricing page.
The channel list is empty
With an M3U link, the file may still be loading. Wait a minute and refresh. With Xtream Codes, sign out and sign in again. On a MAG box, restart the portal.
The guide is empty
With an M3U link, add the EPG URL in the settings. With Xtream Codes or a MAG portal, run the guide update option. Our EPG article has the full checklist.
Choosing a player that suits your login
The login type and the player app go hand in hand. A great login in a poor app still gives a poor experience, so it is worth knowing what to look for in a player.
Support for your login type
Check that the app explicitly supports the login type you have. Most IPTV players list "Xtream Codes" or "Xtream API" as a login option on their first screen. Apps that only accept a playlist will show a single field for an M3U address.
A proper programme guide
If you use the guide, choose an app with a full grid view and automatic guide updates. Some apps only show the current programme under each channel name.
Organised films and series
If you watch a lot of on-demand content, look for separate film and series sections, artwork, descriptions and the ability to resume where you stopped.
Performance on your device
On older streaming sticks and smart TVs, a lighter app often feels faster than a feature-packed one. If an app is slow to load the channel list or scroll the guide, try another before blaming the service.
Regular updates
Apps that are updated regularly tend to keep working as devices and operating systems change. An app that has not been updated in years may stop working after a system update.
Player apps come and go, and their quality changes over time, which is why the MIPTV4K team suggests a player that currently works well on your exact model when you order. You are always free to try others; your login will work in any app that supports its type.
Login types and screen limits
Whatever login type you use, your plan's screen count applies. A screen is one stream playing at one moment, so it does not matter whether that stream was opened through M3U, Xtream Codes or a portal.
If you use the same subscription on a TV with Xtream Codes and a laptop with the M3U link, and both play at once, that counts as two screens. If your plan only has one screen, one of them will stop or show a "maximum connections" message. Close the stream on the device you are not watching, or consider an extra screen if this happens regularly.
Switching between login types
You are not locked into one login type forever. If you change devices or players, a different type may suit you better.
When to switch from M3U to Xtream
If your player supports Xtream Codes and you are using an M3U link, switching often brings an automatic guide, a better organised film library and faster loading. Ask the team for your Xtream details.
When to use M3U as well
Some people use Xtream Codes on the TV and an M3U link in VLC on a laptop. The same subscription can be used in both ways, as long as you stay within your plan's number of screens.
When you replace a MAG box
If you buy a new MAG box, send its MAC address to the team so they can link it to your plan. The old box will no longer be needed.
Keeping your login details safe
Your login is the key to your subscription. Treat it like any other password.
- Store it somewhere safe, such as a password manager or a secure note on your phone. You will need it again if you reset a device or buy a new one.
- Do not share it outside your household. Every extra viewer takes up one of your screens, and lines shared widely can be suspended.
- Do not post screenshots of your login on forums or social media when asking for help. Send them to the team privately instead.
- Ask for new details if you think someone else has your login. The team can help.
If you want to offer the service to other people, the reseller program is the proper way to do it, with your own panel and client lines.
Frequently asked questions
Do the login types give access to different channels?
No. All three types give access to the same subscription. Only the way the player loads and displays it changes.
Can I use Xtream Codes and M3U at the same time?
Yes, on different devices, as long as the total number of devices playing at once stays within your plan.
Which login type is fastest?
In most players, Xtream Codes loads and refreshes faster than a large M3U playlist, because the player requests only what it needs.
Do I have to choose the login type when I order?
You can state a preference, but you do not have to. Tell the team your device and player, and they send the type that suits it. The order form and the free trial form both include the question.
My player asks for a "portal URL" but I do not have a MAG box. What should I do?
Some apps imitate MAG boxes and ask for a portal. In most cases, it is simpler to use the Xtream Codes option in the same app, or a different app. Ask the team for advice.
Can I change my password?
Ask the team. They can issue new details if you need them, for example if you think someone outside your household has your login. Remember to update every device that uses the old details.
Why does my app ask for a "playlist name"?
Many players let you give each login a name so you can tell them apart. It is only a label inside the app. Type anything you like, such as "MIPTV4K".
Does the login type affect picture quality?
No. The video stream is the same whichever login you use. Picture quality depends on the channel, your device and your connection, as explained in our buffering article.
Is an M3U link less secure?
The M3U link contains your username and password inside the address, so treat it as carefully as the login itself. Do not share it publicly.
Conclusion
The three IPTV login types all lead to the same channels, the same guide and the same library. They differ in how the player gets there. M3U is the universal single link, ideal for simple players and VLC, but it often needs a separate guide address. Xtream Codes is the organised option, with the guide and the library loading automatically in most modern players, which makes it the best choice on Fire TV, Android TV, Apple TV and phones. MAG portals are built for MAG boxes and identify the box by its hardware address.
A useful way to remember the difference: M3U is a list, Xtream Codes is a conversation and a MAG portal is a ready-made interface. A list is easy to read anywhere but carries little extra information. A conversation lets the player ask for exactly what it needs, when it needs it. A ready-made interface does the work for the box. Once you see them that way, choosing between them becomes a matter of matching the login to the device in front of you.
If you are unsure, you do not have to work it out alone. Tell the team which device and app you use, and you will receive the login type that fits, with help to enter it if needed.
Every MIPTV4K plan comes with Xtream Codes, M3U or MAG portal access, chosen for your device.
Compare the plansWritten by the MIPTV4K team. Questions about this article? Contact us.


