IPTV basics 7 min read

Xtream Codes vs M3U: What They Are and Which One to Use

Your provider sent a server, username and password, or a long link? Here is what Xtream Codes and M3U are, how they differ, which one to choose and how to use them.

Fibre network cables plugged into a server, illustrating Xtream Codes vs M3U streaming

You just received your IPTV access and the message contains either a server address with a username and password, or one very long link. The first is called Xtream Codes, the second is an M3U playlist. Both open the same channels, but they do not work the same way, and choosing the right one makes a real difference to your TV guide, your films and series, and how often you need to update things.

This guide explains Xtream Codes and M3U in plain English, shows how to recognise each one, compares them side by side, and tells you which one to use in IPTV Smarters Pro, TiviMate, IBO Player and other apps.

Key takeaways

  • Xtream Codes = server URL + username + password. The player talks to the server and loads channels, films, series and the TV guide automatically.
  • M3U = one link (or file) containing the list of channels and their stream addresses. Simple and universal, but the TV guide may need a separate link.
  • When your player offers both, choose Xtream Codes: it is easier to type, better organised and stays up to date.
  • An M3U link and an Xtream Codes login from the same provider usually open the same subscription.

Xtream Codes and M3U in 30 seconds

YOUR PROVIDER SENDS ONE OF THESE Xtream Codes Server URL http://server.example:8080 Username your-username Password •••••••• M3U playlist http://server.example/get.php?username=…&password=…&type=m3u_plus + optional EPG link (XMLTV) Your IPTV player app
The two ways to log in: three Xtream Codes fields, or one M3U link (example values).

Look at the message from your provider. If you see three separate fields (a server address such as http://name.example:8080, a username and a password), you have Xtream Codes details. If you see a single long address that often contains get.php, username=, password= and type=m3u, you have an M3U link. Many providers send both.

What is Xtream Codes?

Xtream Codes was originally the name of a software panel used by IPTV providers to manage their servers and customers. The original company stopped operating in 2019, but its way of connecting players to servers, known as the Xtream Codes API, became a standard. Today, when a player offers “Login with Xtream Codes”, it simply means: enter a server, a username and a password.

With this login, the player does not download a fixed list. It asks the server questions: which categories exist, which channels are in each one, what is on the guide, which films and series are available, and when the subscription expires. The answers are always current, so when the provider adds a channel or fixes a stream, you see it without doing anything.

Rows of server racks in a data centre that deliver IPTV streams
Behind every channel list: servers that deliver the streams and answer your player’s requests.

What is an M3U playlist?

M3U is a much older and simpler format. It is a plain text file, originally created for music playlists, where each entry has two lines: a description of the channel (name, logo, group, guide ID) and the address of its stream. The file starts with #EXTM3U. You may also see the extension M3U8, which is the same format saved in UTF-8, often used for streaming.

Your provider can give you an M3U as a link (the player downloads the list from it) or as a file. Because almost any video player can read M3U, including VLC, it is the most universal option. The Wikipedia page on M3U explains the format in more detail.

Lines of text on a dark screen, similar to an M3U playlist file
An M3U playlist is plain text: one line describes the channel, the next line is its stream link.

Xtream Codes vs M3U: side-by-side comparison

M3U: ONE FILE, READ ONCE Provider .m3u filechannels + stream links Player XTREAM CODES: A LIVE CONNECTION Providerserver API Playerlogin once asks: categories, EPG, series, expiry date sends: always up to date
M3U is a list the player reads; Xtream Codes is a conversation between the player and the server.
Xtream CodesM3U playlist
What you enterServer URL, username, passwordOne link or a file
Easy to type on a TV remoteYes, three short fieldsHarder: one very long link
TV guide (EPG)Loaded automaticallySometimes needs a separate EPG link
Films and seriesOrganised by category, seasons and episodesOften mixed into one long list
Updates from the providerAutomatic, always currentNeed to refresh or reload the list
Subscription expiry dateShown in many appsNot shown
Works inMost IPTV apps (Smarters, TiviMate, IBO Player…)Almost every player, including VLC
Loading speedFast: loads what you openCan be slow with very large lists

Which one should you use?

Use Xtream Codes whenever your player supports it. You get a cleaner interface, a working TV guide, organised films and series, and you never need to reload anything. This is the method we recommend for IPTV Smarters Pro and TiviMate.

Use M3U when your player only accepts playlists (VLC, some Smart TV apps), when you want to quickly test a stream on a computer, or when your provider uploads the playlist to your device for you, as with IBO Player and SmartOne using your MAC address. In that last case you do not need to type anything at all.

Pro tip: Keep your login details in a safe note on your phone. When you change device or reinstall an app, you can copy and paste them instead of typing them again.

PlayerXtream CodesM3UWhere to start
IPTV Smarters ProYes (recommended)YesIPTV Smarters Pro guide
TiviMateYes (recommended)YesTiviMate guide
IBO Player / SmartOneAdded by the providerAdded by the provider, by MAC addressSmart TV guide
iPlayTV, GSE (Apple)YesYesApple TV guide
VLC (computer)NoYesWindows and Mac guide
MAG boxNo: uses a portal URLNoMAG box guide

For a full comparison of the apps themselves, see our best IPTV player apps.

Common errors and how to fix them

  1. “Invalid login” with Xtream Codes: the server URL must include http:// (or https://) and the port, with no space at the end. Do not add /get.php to the server field.
  2. M3U link does not load: check that it was copied completely; long links are often cut. Paste it in a browser on a computer: if a file downloads, the link works.
  3. No TV guide with M3U: add the EPG (XMLTV) link from your provider in the player settings, or switch to Xtream Codes. See our EPG guide.
  4. Channels missing after a change: with M3U, refresh or re-add the playlist; with Xtream Codes, restart the app.
  5. Works in one app, not in another: the login is fine; the problem is the app or its settings. Try changing the player or the decoder.
  6. Constant buffering: neither format changes the stream quality. Check your connection with our guide on internet speed for IPTV.

Get Xtream Codes and M3U with every plan

Each of our plans includes both login types, a full TV guide (plus the IBO Player licence on 12 and 24 months), with setup help from a real person.

Frequently asked questions

Are Xtream Codes and M3U the same subscription?

Usually yes. Providers generate both from the same account, so you can use Xtream Codes in one app and M3U in another, within the number of screens included in your plan.

Is Xtream Codes still working after 2019?

The original company stopped, but the Xtream Codes API login format is still used by most IPTV panels and players today.

What is the difference between M3U and M3U8?

Both are playlist files. M3U8 is saved in UTF-8 encoding, which handles accents and special characters, and is the format used by HLS streaming.

Can I convert an M3U link into Xtream Codes details?

Often yes: in a typical link, the part before /get.php is the server, and the values after username= and password= are your login. If in doubt, ask your provider for the Xtream Codes details.

Is it safe to share my Xtream Codes login?

No. Your login is linked to your subscription and its number of screens. Sharing it can block your own access.

Not sure what your provider sent you? Send it to us on WhatsApp (hide the password) and we will tell you how to use it, 24/7. New to IPTV? Start with what is IPTV.

Keep reading

Chat with us