Home · Blog · Guide

Guide

M3U or Xtream Codes: which to choose and why

Updated · 7 min read · By the Kraid team

When you sign up with a service, the provider hands you one of two things: a long URL ending in .m3u or a set of Xtream Codes credentials (server, username and password). Many people assume they are the same thing in a different wrapper. They are not, and choosing well changes the daily experience quite a bit.

The short answer

If your player supports it and your provider offers it, use Xtream Codes: it loads faster, organises movies and series with artwork and enables catch-up. Keep M3U for when your device does not support Xtream, or for adding public playlists of free-to-air channels.

What each one really is

The M3U playlist: a text file

An M3U is literally a text file with the complete list of what your provider offers. Each channel takes two lines: one with its details and one with the stream address.

The important consequence is how it is consumed: the player downloads the whole file every time it syncs. If your playlist has 300 channels, you barely notice. If it has 20,000 entries across channels, movies and episodes, the file can weigh several megabytes and must be parsed in full before anything is shown.

Xtream Codes: an API that answers in parts

Xtream Codes is not a file, it is a query interface. The player asks the server for what it needs at each moment: “give me the channel list”, “give me the action movies”, “give me the episodes of this season”.

That is why the app does not wait to download anything huge when it opens, and why entering Movies only requests movie data. And that is also why it can carry information that simply does not exist in an M3U: synopsis, artwork, ratings, cast and season structure.

Point-by-point comparison

M3U playlistXtream Codes
Speed with large playlistsDownloads everything Requests by section
Movies and series separatedAll mixed together Own sections
Artwork and synopsisRarely Included
Seasons and episodesAs a flat list Structured
Catch-up (go back in time)No If the provider enables it
EPG guideSeparate XMLTV URL Usually built in
Compatibility UniversalCompatible apps only
Edit the playlist yourself It is plain textNo
Free public playlists Very commonAlmost none

When each one makes sense

Choose Xtream Codes if…

Choose M3U if…

You do not have to pick just one

A decent player supports several sources at once. The usual setup is the Xtream account as the main source plus one or two public M3U playlists with free-to-air channels. Everything shows up together, organised by group. In Kraid you can add as many playlists as you like from Settings → Playlists.

How to turn an M3U URL into Xtream credentials

If your provider only gave you a URL, look at it closely. Many have this shape:

http://server.example.com:8080/get.php?username=USER&password=PASS&type=m3u_plus

In that case, the three details Xtream needs are right there:

Enter those three fields as Xtream Codes in your player. If the provider has the API enabled, it will work and you gain the organised catalogue. If not, you keep the M3U and have lost nothing.

Check your guide before switching

If you want to know how many channels and programmes your XMLTV guide really covers, and whether its timestamps carry the right time zone, run it through our free EPG checker. It runs entirely in your browser, nothing is uploaded to any server.

A nuance almost nobody mentions

Xtream Codes is better as long as the provider's server works well. Because the player makes more requests, an overloaded server is felt more than with an M3U, which at least downloads once and then just plays.

If you notice that with Xtream the app is slow navigating menus while the video plays perfectly, it is not your player: it is the provider's API answering slowly. Trying the same account as M3U is a good way to confirm it.

Kraid IPTV supports both, at the same time

M3U, M3U8 and Xtream Codes, with EPG guide, catch-up and a movies and series catalogue organised automatically. Add as many playlists as you like. Free for 7 days, no registration.

Download Kraid IPTV free

Legal notice: Kraid IPTV is a generic media player. It does not include, sell or link to any content, channel or playlist. Users are responsible for the sources they add and for holding the rights needed to watch them. Learn more.