What Is M3U & Xtream Codes? M3U vs Xtream Explained
The two ways your IPTV subscription loads into an app — explained in plain English, with a side-by-side comparison and which one to choose.
When you buy an IPTV subscription, you get one of two things to type into your app: an M3U link or an Xtream Codes login. If you’ve ever wondered what is M3U, what Xtream Codes are, and which one you should use, this plain-English guide clears it all up — with a side-by-side comparison and step-by-step setup. New to all this? Start with our what is IPTV guide, or grab a free trial to try it.

What is an M3U playlist?
An M3U is a playlist file — a simple text list of channels and the web addresses where each one streams. In IPTV, your provider gives you an M3U link (a URL ending in .m3u), and when you paste it into an app, the app reads the list and builds your channel guide automatically. Think of it as one link that unlocks everything.
What’s inside an M3U file
Each channel is two lines — a description line starting with #EXTINF (the channel name, logo and group), followed by the stream URL. The file starts with #EXTM3U. You never edit this by hand; your app does the reading.
What is M3U8? (M3U vs M3U8)
You’ll sometimes see .m3u8 instead of .m3u. They’re the same kind of playlist — the only difference is that an M3U8 file is encoded in UTF-8, so it handles special characters and international channel names properly, and it’s the format used by modern HLS streaming. In everyday use they work the same; just paste whichever link your provider gives you.
What are Xtream Codes?
Xtream Codes (sometimes called an “Xtream login” or “API login”) is a way of connecting that uses three pieces instead of one link:
- Server URL — e.g.
http://yourprovider.com:8080 - Username
- Password
You type those three into your app and it pulls your service in a tidy, organised way: Live TV, Movies (VOD) and Series in separate categories, usually with the TV guide loaded automatically. Under the hood it’s streaming the same channels as an M3U — it’s just a smarter way to deliver and organise them.
M3U vs Xtream Codes — side by side
| M3U | Xtream Codes | |
|---|---|---|
| What you enter | One long link (or file) | Server URL + username + password |
| Organisation | Flatter channel list | Neat categories (Live / VOD / Series) |
| TV guide (EPG) | Often added separately | Usually automatic |
| Movies & series | Mixed into the list | Sorted into their own sections |
| Stability | Link can break if it changes | More stable to manage |
| Security | Login is baked into the URL | Password kept separate |
| Best for | Max compatibility, older apps | Big catalogs, VOD, modern apps |
What is EPG (the TV guide)?
EPG stands for Electronic Programme Guide — it’s the on-screen TV guide that shows what’s on now and next for each channel. With Xtream Codes it usually loads by itself. With an M3U, you sometimes add a separate EPG URL (an XMLTV link your provider supplies) in your app’s settings so the guide fills in. If your guide is blank, that missing EPG URL is almost always why.
How to load M3U or Xtream Codes in your app
Both work in free players like IPTV Smarters and TiviMate. With Cloud Stream, we send you both a link and a login, so you can use whichever your app prefers (Firestick setup here).
IPTV Smarters Pro
- Open the app → Add New User.
- For a login: choose Login with Xtream Codes API, then enter your name, server URL, username and password.
- For a link: choose Load Your Playlist or File/URL and paste the M3U link.
TiviMate
- Open TiviMate → Add playlist.
- Choose Xtream Codes and enter the server URL, username and password — or choose M3U Playlist and paste the link.
- Add the EPG URL if prompted, and your guide fills in.
Which should you use — M3U or Xtream Codes?
Here’s the simple rule:
- Choose Xtream Codes if your app supports it (IPTV Smarters, TiviMate and most modern players do). You get neat categories, organised movies and series, and an automatic TV guide.
- Choose M3U if you’re on an older device or an app that only takes a playlist link, or if Xtream isn’t offered.
- Have both? Use Xtream Codes — it’s the tidier, more stable experience.
Get both a link and a login — free
Start a free trial and we’ll send you an M3U link and an Xtream Codes login, so you’re set up on any app in minutes.
A note on security & free playlists
Because an M3U link contains your username and password inside the URL, treat it like a password — don’t share it publicly. And steer clear of random free M3U playlists you find online: they’re usually dead within days, often low quality, and can be a security risk. A proper subscription from a reputable provider gives you stable, private credentials that actually keep working.
Tired of dead free playlists and blank guides? Start a free trial and get an M3U or Xtream login that just loads — no fiddling.
Frequently asked questions
What is M3U in IPTV?
In IPTV, an M3U is a playlist file — a text list of your channels and the web addresses where they stream. Your provider gives you an M3U link (a URL ending in .m3u), and when you paste it into an app like IPTV Smarters or TiviMate, the app reads the list and builds your full channel line-up automatically. It’s essentially one link that unlocks your entire subscription, so you don’t add channels one by one.
What’s the difference between M3U and M3U8?
They are the same type of playlist; the only real difference is the text encoding. An M3U8 file is saved in UTF-8, which handles special characters and international channel names correctly, and it is the format used by modern HLS streaming. An M3U may use older encoding. For everyday use they behave identically — you simply paste whichever link (.m3u or .m3u8) your provider gives you into your app, and it works the same way.
What are Xtream Codes?
Xtream Codes is a way of connecting to an IPTV service using three details instead of a single link: a server URL, a username and a password. You enter those into your app and it loads your service in an organised way — Live TV, Movies and Series in separate categories, usually with the TV guide loaded automatically. It streams the same channels as an M3U link, just delivered and organised more neatly, which is why most modern apps prefer it.
Is Xtream Codes better than M3U?
For most people, yes. Xtream Codes gives you neatly organised categories, separate Movies and Series sections, an automatic TV guide, and a more stable connection to manage. An M3U link is simpler and works on almost any app, including older ones, but it is flatter and the guide often has to be added separately. If your app supports Xtream Codes — as IPTV Smarters and TiviMate do — use it. If it only accepts a playlist link, use the M3U.
Can I use M3U and Xtream Codes on IPTV Smarters and TiviMate?
Yes, both apps support both methods. In IPTV Smarters Pro you choose “Login with Xtream Codes API” for the three-part login, or “Load Your Playlist or File/URL” to paste an M3U link. In TiviMate you choose “Xtream Codes” or “M3U Playlist” when adding a playlist. A good provider gives you both a link and a login, so you can pick whichever your app and device prefer without any extra setup.
What is an EPG URL?
An EPG URL is a link to your electronic programme guide — the XMLTV data that fills in the on-screen “now and next” TV guide for your channels. With Xtream Codes the guide usually loads automatically. With an M3U, you may need to paste a separate EPG URL, supplied by your provider, into your app’s settings so the guide populates. If your channels play but the TV guide is blank, a missing or wrong EPG URL is almost always the reason.
Do M3U links expire?
An M3U link is tied to your subscription and your login, so it stops working when your subscription ends. It can also break if the provider changes servers or if your access is reset. Reputable providers keep your link stable for the life of your plan and reissue it if anything changes. Free M3U playlists found online, by contrast, tend to expire within days, which is one more reason to use a proper paid subscription with private, lasting credentials.
Are free M3U playlists safe?
Generally no. Free M3U playlists shared online are usually unreliable — dead within days, low quality, and frequently overloaded. They can also be a privacy and security risk, since you have no idea who runs them or what the links point to. A paid subscription from a reputable provider gives you private credentials, stable streams and real support. It costs a little, but it is far safer and actually keeps working when you want to watch.
The bottom line
An M3U is one link; Xtream Codes is a server URL plus a username and password. Both load the same channels — Xtream Codes just does it more neatly, so use it whenever your app supports it. Want a service that hands you both, ready for any device? Start a free Cloud Stream trial and browse the full channel list.
Reference: M3U (Wikipedia).
“The only stable IPTV platform I've found — most others didn't last through my subscription.”
“Great service and always quick activation, and quick to respond to any question.”
“The server is stable — I had no buffering issues, even on my 1-day trial.”
- How to Watch Spence vs Tszyu: Start Time, Channel & Card (US)
- Cheapest IPTV in 2026: What Cheap Really Costs (Scams to Avoid)
- IPTV vs Cable in 2026: Cost, Channels & Which Actually Wins
- How Much Does IPTV Cost in 2026? Honest US Price Breakdown
- How to Watch the World Cup Final 2026: Channel, Time & Stream