Guide · Logins
M3U playlist vs Xtream Codes.
Two ways to give a player app your IPTV login. They unlock the same channels, but behave differently in day-to-day use.
Reviewed

Short answer
An M3U playlist is one long link to a list of every channel. Xtream Codes API is a login with three fields: server URL, username and password. Both open the same subscription. Use Xtream Codes when your app offers it, and M3U when it doesn't.
What an M3U playlist is
M3U is a simple text format that started life for music playlists. For IPTV, each entry holds a channel name, optional details such as a logo and a group, and the address of the stream. Your provider gives you one web address; the player downloads the list and turns it into channels.
Because it's one long list, a large M3U can take a while to load on slower devices, and the TV guide often comes as a separate XMLTV link.
What Xtream Codes API is
Xtream Codes was originally the name of a server product. The product is long gone, but its login format became a de facto standard. Instead of one big file, the app talks to the server and asks for categories, the guide and the movie and series libraries separately.
You enter three things: the server URL (including http:// or https:// and the port number, for example http://line.example.com:8080), your username and your password.
Side by side
| M3U playlist | Xtream Codes API | |
|---|---|---|
| What you enter | One long link | Server URL, username, password |
| Typing on a TV remote | Hard (long link) | Easier (short fields) |
| Movies and series | Often mixed into one big list | Organised into their own sections |
| TV guide | Usually a separate XMLTV link | Usually fetched automatically |
| Works in | Almost every player, including VLC | Most dedicated IPTV players |
Which to use in your app
- TiviMate: Add playlist → Xtream Codes.
- IPTV Smarters / Smarters Player Lite: Login with Xtream Codes API.
- IBO Player and other portal apps: on the developer's website, add the playlist as XC API or as an M3U link.
- UHF, IPTVX: either works; Xtream Codes gives a tidier library.
- VLC: M3U only.
Device-by-device steps are in our setup guides.
Other formats: portals and MAC addresses
Set-top boxes such as MAG and Formuler often use a Stalker portal: you give the provider the box's MAC address, and enter a portal URL on the box. Smart-TV apps such as IBO Player use a web portal with a device ID and key. These are different routes to the same kind of subscription.
Security
Treat every login format like a password. Don't post your server URL, username, password, MAC address or device key in public groups or reviews.
Common login mistakes
- A space at the end of a field (on-screen keyboards add them).
- The server URL without its port number, or with
httpswhere the details sayhttp(or the reverse). - An M3U link that was cut off when copied. If it fails, try Xtream Codes instead.
What is an M3U playlist?
An M3U playlist is a text file, usually reached through one long web address, that lists every channel or video with a name and a stream address. IPTV players read it to build their channel list.
What are Xtream Codes?
Xtream Codes API is a login format that uses three fields: a server URL (with port), a username and a password. The player uses them to fetch channels, the TV guide and on-demand content separately. The name comes from an old server product, but the format lives on as a common standard.
Which is better, M3U or Xtream Codes?
Where your app supports it, Xtream Codes is usually the better choice: it's quicker to load, keeps movies and series organised, and is easier to type on a TV. M3U is the fallback for apps that only accept a playlist link, such as VLC.
Try One IPTV on your own TV first.
Request a 24-hour free trial, test it with your player app, then pick a plan if it suits you.