M3U Playlists Explained: M3U vs M3U8 and How to Use Them
An M3U8 playlist is a plain text file, or a web link to one, that lists video or audio streams for a player to open. IPTV providers use M3U and M3U8 playlists to hand your player a complete channel list in one address. This guide explains the difference between M3U and M3U8, what each line inside a playlist means, how to add a playlist link to popular players, and why you should treat that link like a password.
What is an M3U playlist?
M3U is one of the oldest and simplest playlist formats. At its most basic, it’s a text file where each entry points to a piece of media, whether that’s a song on a computer or a live TV channel on a server. A player reads the file from top to bottom and builds a list you can choose from.
The format has since been extended. The HTTP Live Streaming specification, published as RFC 8216, describes its own playlists as “UTF-8 text files containing URIs and descriptive tags”, and says the format “is derived from the M3U playlist file format”, inheriting the #EXTM3U and #EXTINF tags. IPTV playlists build on the same foundations.
For IPTV, an M3U playlist is simply a different way of delivering the same access as an Xtream Codes login: instead of a server address, username and password, you get one long link.
M3U vs M3U8: the difference
The two names are often used interchangeably, and most IPTV players accept both. The differences are small but worth knowing:
| M3U | M3U8 | |
|---|---|---|
| File extension | .m3u | .m3u8 |
| Text encoding | Varies with the software that created it | Generally understood to mean UTF-8, which handles accented and non-Latin characters |
| Where you see it | Music playlists, IPTV channel lists | HTTP Live Streaming (HLS) and IPTV channel lists |
| Accepted by IPTV players | Yes | Yes |
RFC 8216 requires HLS playlists to be encoded in UTF-8 and allows their names to end in either .m3u8 or .m3u, which is one reason the two terms blur together.
There’s a second meaning of “M3U8” to be aware of. Individual live streams delivered using HLS also use M3U8 files. So some providers and tools let you choose a stream type, for example Smart IPTV’s upload page offers m3u8, ts and mpegts options. If a channel won’t play in one format, your provider may be able to supply the other.
What’s inside an M3U8 playlist
Open an IPTV playlist in a text editor and you’ll see a pattern like this (the addresses here are placeholders):
#EXTM3U
#EXTINF:-1 tvg-logo="http://example.com/logos/news.png",Example News
http://example.com/live/news
#EXTINF:-1 tvg-logo="http://example.com/logos/films.png",Example Films
http://example.com/live/films
| Line | What it does |
|---|---|
#EXTM3U | The first line, marking the file as an extended M3U playlist |
#EXTINF: | Starts each entry. RFC 8216 defines it as carrying a duration and an optional title; in IPTV playlists the duration is usually -1, as live channels have no fixed length |
Attributes such as tvg-logo | Extra details for IPTV players. Smart IPTV’s documentation, for example, mentions tvg-logo for channel logos and tvg-url for a guide address |
| The text after the comma | The channel name shown in your player |
| The next line | The address of the stream itself |
Playlists often carry other attributes too, such as channel IDs and group names. Each player reads these slightly differently, which is why the same playlist can look a little different in two apps.
Playlist link or playlist file?
Providers can give you a playlist in two forms:
- A playlist link (URL): a web address the player downloads the playlist from. When your provider updates the channel list, the player picks up the changes next time it refreshes. This is what most people mean by an “M3U link” or a “URL for M3U”.
- A playlist file: a saved copy of the list. It works, but it doesn’t update itself, so channels that move or change stop working until you replace the file.
For live TV, a link is almost always the better choice. Use a file only if your player or TV can’t load the link, which Smart IPTV’s FAQ suggests as a workaround on some TVs.
Adding an M3U link to an IPTV player
Every M3U IPTV player follows the same basic idea: choose the option to add a playlist from a URL, paste the link, give it a name and wait while the channels load. Here’s where that happens in the players we cover:
| Player | Where you add the link | Guide |
|---|---|---|
| IPTV Smarters Pro | In the app, using the option to add a playlist from a URL | IPTV Smarters Pro guide |
| TiviMate | In the app, when adding a playlist | TiviMate guide |
| Smart IPTV | On the developer’s website, linked to your TV’s MAC address | Uploading a playlist to Smart IPTV |
| VLC | By opening the playlist address as a network stream | Useful for testing a link |
Tips that save time:
- Copy and paste the link rather than typing it. One wrong character breaks it.
- Keep the whole address, including everything after any question mark.
- Test in a second player if a link won’t load, to see whether the problem is the app or the link.
If you’re still choosing an app, our comparison of the best IPTV players covers each device. If a link won’t load at all, see our guide to fixing an IPTV playlist that won’t load.
Playlists and the TV guide
An M3U playlist lists channels, but the programme listings usually live in a separate guide file. Some playlists include the guide’s address at the top, which players such as Smart IPTV can detect automatically; others need you to add the guide address yourself.
That’s one practical difference from an Xtream Codes login, which usually brings the guide with it. If you’re new to the term, see our explainer on what an EPG is, and for adding a guide address to your player, our guide to setting up IPTV EPG.
Keep your playlist link private
An IPTV playlist link is personal to your account. Many provider links include your account details inside the address, so anyone who has the link can use your connections, and you may find yourself locked out when your plan’s limit is reached.
- Don’t post your link in forums, reviews or screenshots.
- Don’t paste it into unknown “playlist checker” or converter websites.
- Store it somewhere private, such as a password manager.
- If you think it has been shared, ask your provider to reset your details.
The same caution applies in reverse: a playlist posted publicly is tied to another person’s account, tends to vanish without notice and may lead to unsafe content.
Frequently asked questions
Is an M3U8 playlist better than M3U?
Not in any way you’d notice. For IPTV they do the same job, and players accept both. M3U8 is generally associated with UTF-8 encoding, which handles special characters in channel names more reliably.
How do I open an M3U8 playlist?
Add the link to an IPTV player that supports M3U playlists, such as IPTV Smarters Pro or TiviMate. VLC can also open it, which is useful for testing.
Can I edit an M3U playlist?
You can open a playlist file in a text editor, but changes to a downloaded copy won’t update when your provider changes the channel list. It’s usually better to hide groups in your player instead.
Why does my M3U link work in one app but not another?
Players handle playlist attributes, stream types and large lists differently. Try the link in a second player and check you’ve copied the whole address.
Should I use an M3U link or an Xtream Codes login?
Use Xtream Codes where your app offers it, as it’s quicker to enter and normally includes the TV guide. Keep the M3U link for apps that work with playlists only, such as Smart IPTV or VLC.
Get a playlist to try
Want to see how an M3U playlist works in your own player? Our free 24-hour trial gives you login details you can use as an M3U link or an Xtream Codes login.