M3U vs Xtream Codes vs MAG Explained
Three ways to log in to IPTV, explained side by side: what you receive, how each handles the guide and on-demand library, and which suits your device.
When you order an IPTV subscription, you’ll usually be asked which login you need: an M3U playlist, an Xtream Codes login or a MAG portal. All three open the door to the same channels, but they work differently, suit different devices and handle the TV guide and on-demand library in their own ways. Picking the right one makes setup easier and everyday viewing smoother.
Here’s a plain-English explanation of each, a side-by-side comparison, and a simple way to decide.
An analogy to start
Think of the channels as a huge library:
- M3U is a printed catalogue listing every item and where to find it. You hand it to your player and it reads the whole thing.
- Xtream Codes is a library card. Your player shows the card and asks the librarian for just what it needs: the channel list, tonight’s guide, the film section.
- MAG is a reserved reading room. Your set-top box is recognised at the door by its unique ID, and everything’s laid out for it.
Side-by-side comparison
| M3U playlist | Xtream Codes | MAG portal | |
|---|---|---|---|
| You receive | A playlist link, plus a separate guide link | Server address, username and password | A portal address, linked to your box’s MAC address |
| Works with | Almost every IPTV player | Most modern players | MAG and similar set-top boxes |
| TV guide | Added separately | Automatic | Built in |
| Movies and series | Often mixed in with channels | Separate, organised libraries | Separate menus |
| Catch-up | Depends on the player | Usually supported | Usually supported |
| Typing on a TV remote | Hard (long link) | Easy (three short fields) | Once only |
| Best for | Basic players, maximum compatibility | Most TVs, sticks, boxes and phones | A simple, cable-box feel |
M3U playlists in detail
M3U is one of the oldest and most widely supported playlist formats. Behind the link is a plain text file: for each channel there’s a line describing it (name, logo, category and a guide ID) and a line with the stream’s web address. A heavily simplified example:
#EXTM3U
#EXTINF:-1 tvg-id="news.example" group-title="News",News 24
http://stream.example/live/news24
#EXTINF:-1 tvg-id="movies.example" group-title="Movies",Movie Channel
http://stream.example/live/movies
You won’t normally see this file; you paste the link into your player and it does the reading. The programme guide isn’t part of the playlist, so you add a separate guide link (usually in XMLTV format), and the player matches listings to channels using the guide ID.
Choose M3U when your player doesn’t support Xtream Codes, or you want a universal fallback. Watch out for typos in the long link, a missing guide link and slower loading of big playlists on low-powered devices.
Xtream Codes logins in detail
An Xtream Codes login has three parts: a server address (often with a port number, such as :8080), a username and a password. The name comes from the server software that popularised this kind of login; today it’s a widely supported standard, often labelled “Xtream Codes API” in player menus.
Instead of downloading one large file, the player asks the server for what it needs, when it needs it — live categories, the guide, the movie library, series with their seasons and episodes, catch-up and even your account’s expiry date. The result is a tidier, faster experience with live TV, movies and series in their own sections.
Choose Xtream Codes when you’re using a Smart TV, stick, Android box, phone or tablet with a modern player — which is most people. Watch out for a missing http://, a forgotten port number, or a stray space after the username.
MAG portals in detail
MAG boxes are dedicated set-top boxes. Each has a unique MAC address, a hardware ID printed on a sticker underneath. You send that address to your provider, who links it to your subscription, then you enter a portal address in the box’s settings. When the box connects, the portal recognises it and loads your channels, guide and on-demand menus in a TV-style interface.
Choose MAG when you want the simplest possible experience — especially for older relatives — and don’t need other apps on the box. Watch out for sending the wrong MAC address (some boxes list separate Wi-Fi and Ethernet addresses) and remembering that a new box needs its new MAC address linked.
What a typical login message looks like
Providers usually send logins in a format similar to this (the details below are made up for illustration):
- Xtream Codes: Server:
http://server.example:8080· Username:family123· Password:a1b2c3d4 - M3U: Playlist: a long link ending in something like
…type=m3u_plus&output=ts, plus a separate guide link ending inxmltv.php… - MAG: Portal URL:
http://portal.example:8080/c/, linked to your MAC address00:1A:79:XX:XX:XX
The easiest way to avoid mistakes is to copy each part from the message and paste it into the matching field. On a TV, use a phone remote app with copy and paste, or a player that lets you add the login from your phone’s browser.
Which should you choose?
- Do you have a MAG-type set-top box? Use the MAG portal.
- Does your player support Xtream Codes? Use Xtream Codes — it’s the easiest and most complete.
- Neither? Use the M3U playlist and add the guide link.
Not sure what your player supports? Tell your provider the device and app you’re using and they’ll send the right login.
What about the TV guide on each format?
The guide is often what makes IPTV feel like real television. With Xtream Codes it simply appears. With M3U, remember to add the separate guide link and refresh it, or you’ll see channel names with no programme information. With MAG, the guide is built into the portal. Whichever you use, set your device to your state’s time zone so programme times display correctly, and refresh the guide if it looks out of date.
Using different logins on different devices
On a multi-device plan, it’s perfectly normal for each screen to use the login type that suits it: Xtream Codes on the lounge Android box and phones, M3U on an older player, and a MAG portal for the grandparents’ box. They all draw from the same subscription and count towards the number of devices that can watch at once. Our guide to multi-device IPTV explains how that limit works.
Keeping your login safe
- Keep it private. Anyone with your playlist link or login can use your connections, which can lock you out of your own viewing and usually breaches the provider’s terms.
- Don’t paste it into forums or public groups when asking for help — contact your provider’s support directly.
- Use trusted players from your device’s official app store wherever possible.
Common questions
Is one format better quality than another? No. Picture quality comes from the stream itself, not the login type. Differences are in convenience, the guide and how the library is organised.
Can I switch later? Yes. Ask your provider for the other login type and add it to your player or device. MAG users moving to a new box just need the new MAC address linked.
What about M3U8? It’s the same playlist idea saved with UTF-8 text encoding, and you’ll also see .m3u8 at the end of individual HLS stream addresses. For setup purposes, treat it like M3U.
Set up your login
Australia IPTV supports all three formats, so every device in your household is covered. Our guide on how to use IPTV walks through entering each login step by step, and our explainer on how IPTV works shows what happens behind the scenes. Compare subscription plans, or see everything included on the IPTV Australia homepage.




