M3U Playlists and Xtream Codes Explained

When you set up an IPTV app, it usually asks for either an M3U playlist or Xtream Codes details. This guide explains what each one is, how they differ, which one to choose and how to keep your login details safe.

What is an M3U playlist?

M3U is a simple text format for playlists. An IPTV M3U playlist is a list of channels: each entry has a channel name, often a logo and group, and the web address the app uses to play it. Your provider gives you the playlist as a single link (an M3U URL), and the app reads it to build your channel list.

Inside, an M3U file starts with #EXTM3U, and each channel has an #EXTINF line with its details followed by its stream address. You never need to edit this yourself — the app does the work.

What are Xtream Codes?

“Xtream Codes” is the name many IPTV apps use for a login made of three parts: a server address (URL), a username and a password. Instead of reading one long playlist, the app connects to the server and loads live channels, films, series and the TV guide in organised sections.

M3U vs Xtream Codes

M3U playlistXtream Codes
What you enterOne linkServer, username and password
Live TVYesYes
Films and series sectionsDepends on the playlist and appUsually organised automatically
TV guide (EPG)Often needs a separate EPG linkUsually loads automatically
App supportAlmost every IPTV playerMost popular IPTV players

Which one should you use?

  • Choose Xtream Codes if your app supports it — setup is quicker and films, series and the guide are organised for you.
  • Choose M3U if your app only accepts a playlist link, or if you use a simple player on a computer.
  • Not sure? Tell us your device and app, and we will tell you which details to use.

How to add them to your app

  1. Open your IPTV player and choose Add playlist, Add user or Add account.
  2. Pick Xtream Codes (sometimes called “Xtream API” or “Login with username”) or M3U URL.
  3. Enter the details exactly as sent and save. The app loads your channels.

Step-by-step instructions for popular setups: TiviMate setup guide, IPTV on Firestick and the Setup Guide for other devices.

Keep your details private

  • Do not share your link or login — they work like a password for your subscription.
  • Do not post screenshots that show your server address, username or password.
  • Stay within your connections — watching on more screens at once than your plan allows can interrupt playback. Choose 2 connections if you need two screens.

Common problems

The app says the playlist or login is invalid

Check for missing characters, extra spaces and capital letters, and make sure you chose the right login type. Copying the details from a phone to the TV is where most typing mistakes happen.

Channels load but there is no TV guide

With M3U, add the EPG link separately; with Xtream Codes, update the guide in settings. See What Is EPG?

Get your details

With BESTIPTV-TV you receive your login details after you order — or request your free 24-hour trial to test them on your own device first. Need help? Message us on WhatsApp at +1 (312) 680-3599 or by email at support@bestiptv-tv.com.

Your next favourite night in starts here.

Pick the plan that suits you, message us, and we will help you get set up on your device.