Xtream Codes vs M3U: which IPTV login should you use?
An M3U playlist is a single web address listing every channel; an Xtream Codes API login is a server address, username and password that let the app fetch channels, the TV guide and on-demand titles separately. Xtream Codes usually loads faster and is easier to type, so choose it when your app offers it.
By the IPTV Bears support team. Reviewed .

M3U playlists
An M3U playlist is one long web address (or a file) that lists every stream with its name and group. The TV guide often comes as a separate XMLTV address. Nearly every player accepts M3U, including VLC, Kodi and most mobile apps.
- Good for: simple players, quick tests in VLC, apps that only accept a link.
- Downsides: long addresses are painful to type with a TV remote, and big playlists load slowly.
Xtream Codes API logins
Despite the name, this is now simply a login format that most IPTV apps support. You enter three things:
| Field | What it looks like |
|---|---|
| Server URL | http://line.example.com:8080 — including the port number |
| Username | Supplied by your provider |
| Password | Supplied by your provider |
The app then asks the server for categories, the guide and on-demand lists separately, which is why it's quicker and more organized than one giant M3U file.
Which one should you choose?
Use Xtream Codes API whenever the app offers it — it's the default in TiviMate, IPTV Smarters, UHF, IPTVX and Formuler's MYTVOnline. Use M3U for players that don't support Xtream Codes, or to test a connection in VLC.
Two other formats you might meet
- MAC-address portals: MAG boxes and some Formuler setups link your box's MAC address to a portal address. See our MAG and Formuler guide.
- Web-portal apps: apps such as IBO Player Pro show a device code on your TV, and you add the playlist on the developer's website. See Samsung and LG setup.
Typing tips that prevent most login errors
- Remove any space at the end of each field.
- Keep the port number (the
:8080part). - Use
httporhttpsexactly as given. - More fixes in IPTV login errors.