Xtream Codes and M3U List: the complete guide
When you activate an IPTV subscription, you are given either Xtream Codes, that's un lien M3U, sometimes both at once. These two formats open up access to exactly the same content, but they work differently and the ease of use is not the same.
This guide is part of our IPTV Installation pillar. It details what each format actually does, which to favour depending on your app, how to switch from one to the other, and how to resolve the most common errors. If you're starting from scratch, begin instead with our IPTV guide for beginners.
What is an M3U link?
M3U is a playlist format that has been around since the early days of MP3. Applied to IPTV, an M3U file is a text document that lists, one by one, all the channels in your subscription along with the address of their video stream. When your provider sends you an "M3U link", it is actually giving you a web address that generates this file on the fly, updated at the moment you open it.
Each entry in the file follows a simple structure. One line #EXTINF describes the channel — its name, its logo, its category — then the next line gives the stream URL. Multiply all that by 36,000 channels and you get a file several megabytes in size that your player has to download and parse in full before displaying anything at all.
#EXTM3U
http://server.com:8080/live/user/password/12345.ts
http://server.com:8080/live/user/password/12346.tsThis simplicity is both its strength and its weakness: any video player can open an M3U, including VLC on PC and Mac, but no programming data is included and the slightest change to the line-up requires a full reload.
What is Xtream Codes?
Xtream Codes is not a file but a programming interface. Instead of downloading the complete list all at once, your app communicates with the server and only requests what it needs: first the list of categories, then the channels in a category when you open it, then the video stream when you launch a channel.
In practice, you no longer enter a long URL but three separate fields: the server address, your username and your password. The app handles the rest. This way of working through successive requests explains why an Xtream interface opens in two seconds where an M3U playlist of 36,000 entries can take a minute to load on an entry-level Smart TV.
On-demand loading
Only the open category is downloaded, not all 36,000 channels.
Contenus separate
Live, films and series appear in three separate sections.
EPG integrated
The programme guide is sent by the server, with no manual setting.
Xtream Codes or M3U: the comparison
The two formats give access to the same subscription and the same picture quality. The whole difference comes down to ease of use and compatibility.
| Criterion | Xtream Codes API | Lien M3U |
|---|---|---|
| What you enter | Server URL + username + password | A single complete URL |
| Loading speed | Fast, by category | Slow, full list |
| VOD separate from live | Oui | Everything is mixed together |
| Programme guide | Automatique | À add manuellement |
| Channel updates | Automatique | Rechargement manuel |
| VOD resume playback | Saved | Non managed |
| Compatible VLC | Non | Oui |
| Usage recommended | Usage quotidien | Testing and diagnosis |
En highlights : utilisez Xtream Codes as soon as your app allows it — which is the case with TiviMate, IPTV Smarters Pro and almost all the modern players presented in our IPTV apps comparison. Gardez le M3U as a fallback and as a diagnostic tool.
Where to find your IPTV credentials
When your subscription is activated, you receive a message containing three pieces of information. They stay the same on all your devices and don't change for the whole duration of your plan.
Server URL
Format http://domain.com:port. The port number is an integral part of the address: without it, the connection fails every time.
Username
A string of letters and numbers, case-sensitive. A single missed capital is enough to prevent the connection.
Password
Case-sensitive too. Always copy-paste rather than typing on the remote's keyboard.
A tip that saves a lot of time: before settling in front of the television, email yourself the activation message. Typing a twenty-character password on the remote is the step where most errors occur. On Fire Stick and Android TV, the Downloader app or a Bluetooth keyboard radically transform the experience — we detail these tips in the Fire Stick installation tutorial.
Your credentials are personal. Sharing them causes simultaneous connections beyond your plan and leads to dropouts, for you first of all. If you suspect a leak, request a reset from the support client.
Setting up your codes app by app
The steps change a little depending on the player, but the principle stays the same: select Xtream Codes mode, enter the three fields, confirm. Here are the most common cases.
IPTV Smarters Pro
- Launch the app and select Login with Xtream Codes API.
- Enter a profile name of your choice, for example "Living room" or "Bedroom".
- Paste the server URL with its port, then the username and the password.
- Confirm: the Live TV, Movies and Series categories appear separately.
Advanced settings, buffer and subtitles in our complete IPTV Smarters Pro guide.
TiviMate
- Menu Add playlist then Xtream Codes.
- Enter the URL, the username and the password.
- Enable the EPG download at the next step.
- Select the channel groups to display to lighten the interface.
Detailed configuration in the guide TiviMate, and a comparison of the two players in TiviMate or IPTV Smarters.
VLC — M3U link only
- Menu Media then Open a network stream.
- Paste the full M3U link then confirm.
- The channel list appears in the side playlist.
VLC supports neither the Xtream API nor the EPG, but it's the best tool for diagnostic : if the stream plays in VLC, your credentials are valid and the problem lies elsewhere. See IPTV on Windows PC and Mac.
Samsung and LG Smart TVs
The native Smart TV apps (Smart IPTV, Set IPTV, Net IPTV) mostly work with lien M3U, generally via a web portal where you register your TV's MAC address before pasting the playlist into it.
Detailed procedure in our comparison of IPTV apps for Smart TV and in the tutorial IPTV on Samsung and LG Smart TVs.
The MAC portal: the third format
Less well known than the other two, the MAC portal equips MAG-type boxes and Stalker-compatible apps. The principle changes: you provide neither username nor password, but theadresse MAC of your device, a unique number written into its hardware. The provider links this address to your subscription, then sends you a portal URL to enter in the box's settings.
The advantage is security: no password travels and the subscription cannot be used elsewhere. The downside is rigidity — change box and you have to get the new MAC address re-associated. That's why this mode remains reserved for dedicated boxes, whereas the box Android presented in our Android TV boxes comparison use the classic Xtream Codes.
Switching from one format to the other
Good news: the two formats contain the same information, which lets you reconstruct one from the other without asking your provider for anything. A classic M3U link looks like this:
http://serveur.com:8080/get.php?username=IDENTIFIANT&password=MOTDEPASSE&type=m3u_plus&output=tsThe three coloured elements sont your Xtream Codes: the server with its port, your identifiant and your password. So if you've only received an M3U link, you can use it in Xtream mode straight away.
The reverse works too: from your three Xtream fields, reconstruct the URL above by substituting the values, and you get an M3U link usable in VLC or in a Smart TV app that only accepts that format.
Setting up the programme guide (EPG)
The EPG shows the current and upcoming programme for each channel. In Xtream Codes mode, it is delivered automatically by the server: no action is required, and a daily refresh starts on its own.
In M3U mode, the EPG has to be added separately in the form of a second URL, most often in XMLTV format and ending with xmltv.php. You enter it in the "EPG URL" or "TV Guide" field of your app. If the programmes don't display despite a correct URL, the most common cause is a time-zone offset in the player's settings.
À noter : a complete EPG across 36,000 channels makes for a large file. On low-powered devices, restrict the EPG to the channel groups you actually watch — the smoothness gain is immediate.
Common errors and their solution
Invalid credentials
A space slipped in when pasting, or the capitalisation doesn't match. Re-paste the three fields from the original message without retyping them manually. Also check that the port is indeed present after the domain name.
The list loads but no channel starts
The port is blocked by your router or your internet provider. Test it using mobile tethering: if everything works, the block comes from the home network and a DNS change or a VPN usually solves the problem.
Endless loading at startup
Too many channels loaded all at once in M3U mode. Switch to Xtream Codes, which load by category, or hide the channel groups you don't watch.
The programme guide stays empty
In M3U, the EPG is added separately via an XMLTV URL. In Xtream Codes, force an EPG refresh in the settings and check the device's time zone.
Regular dropouts at peak times
Rarely a credentials issue. Most often, it's the bandwidth or the Wi-Fi at fault: our buffering-fix guide details the diagnostic method.
Connection error on a single device
You're exceeding the number of simultaneous streams in your plan. Fully close the app on the other devices — putting it to sleep doesn't always release the connection.
If the dropouts persist after checking the credentials, apply the full method for resolving IPTV buffering and check your internet speed actually available.
Securing and managing your credentials
Never publish your codes
A credential posted on a forum is exploited within minutes and saturates your connection quota.
Respect your simultaneous streams
A 1-screen plan can be installed on as many devices as you like, but only plays one stream at a time.
Prefer the Ethernet cable
Most dropouts blamed on credentials actually come from Wi-Fi on the TV.
Keep the activation message
Store it in a dedicated email folder: it will come in handy with every new device.
If you watch on several sets at home, a multi-screen plan avoids connection conflicts: see our guide family and multi-screen IPTV. As for encrypting your traffic, our VPN guide for IPTV explains when a VPN brings a real benefit and when it harms smoothness.
Receive your codes in 5 minutes
Every subscription comes with your Xtream Codes credentials et your M3U link, as well as installation assistance on the device of your choice.
IPTV Subscription Pack
IPTV 12 MONTHS Premium
Smart TV, Mobile, PC
à peine £4.33/month
or start with 1 month at £10.99
Frequently Asked Questions
Related Articles
IPTV Installation: the pillar guide
All the tutorials by device
Which IPTV app to choose
Players comparison 2026
IPTV Smarters Pro guide
Installation and advanced settings
Guide TiviMate
The no.1 player on Android TV
IPTV apps for Smart TV
Smart IPTV, Set IPTV, Net IPTV
IPTV on Windows PC and Mac
VLC and desktop players
IPTV guide for beginners
The basics explained simply
An M3U playlist is a text file listing channel stream URLs that any IPTV player can load, while Xtream Codes uses a login (username, password, server URL) for easier setup and built-in EPG. Both connect you to the same channels. EzzeTV provides both an M3U link and Xtream Codes credentials instantly after signup.