What Is an M3U Playlist? The Format Explained (2026)

An M3U playlist is a plain-text file that lists the locations of media items — such as live TV channels, videos or music tracks — so a media player can load and play them in order. Each line is either a link (a URL or file path) or a description of the next link. IPTV players use M3U files to import an entire channel list at once. This guide explains the format, the difference between M3U and M3U8, what the tags mean, and how to load one safely.

A plain-text M3U playlist file open beside an IPTV player showing the resulting channel list
An M3U file is just text — a list of links your player turns into channels.

What an M3U File Is

M3U stands for MP3 URL (or Moving Picture Experts Group Audio Layer 3 Uniform Resource Locator). It was created in the 1990s as a simple way to save a music playlist, and it has since become the standard way to hand a list of media links to a player.

The format is deliberately basic: it is a .m3u (or .m3u8) text file you could open in any text editor. It contains no video or audio itself — only pointers to where the media lives. Think of it as a table of contents, not the content.

A minimal M3U file looks like this:

#EXTM3U
#EXTINF:-1,News Channel HD
https://example.com/streams/news.m3u8
#EXTINF:-1,Sports Channel HD
https://example.com/streams/sports.m3u8

The first line, #EXTM3U, marks it as an extended M3U file. Each channel then takes two lines: a #EXTINF description followed by the link that actually plays.

M3U vs M3U8

You will see both .m3u and .m3u8 extensions. The difference is small but worth knowing:

.m3u .m3u8
Text encoding Local / ANSI encoding UTF-8
International names May show garbled characters Displays accents, emoji, non-Latin text correctly
Used by HLS streaming No Yes — it’s the HLS manifest format
Recommended today Legacy Preferred

Because M3U8 uses UTF-8, it handles channel names in any language cleanly, and it is also the manifest format that HLS streaming uses to list video segments. For playlists, prefer M3U8 whenever you have the choice.

Inside the File: Tags Explained

An extended M3U line can carry more than a name. IPTV players read extra tags on the #EXTINF line to build a polished channel list:

Tag What it does Example
#EXTM3U Marks the file as extended M3U (always the first line) #EXTM3U
#EXTINF:-1 Starts a channel entry; -1 means live (no fixed duration) #EXTINF:-1,BBC One
tvg-id Links the channel to its EPG data tvg-id="bbcone.uk"
tvg-logo URL of the channel’s logo image tvg-logo="https://.../bbc1.png"
group-title The category the channel appears under group-title="UK Entertainment"

A fully tagged entry combines them:

#EXTINF:-1 tvg-id="bbcone.uk" tvg-logo="https://example.com/bbc1.png" group-title="UK Entertainment",BBC One HD
https://example.com/streams/bbcone.m3u8

The tvg-id is what connects a channel to its programme guide. To display “what’s on now and next,” your player matches this ID against an EPG (Electronic Program Guide) file.

Annotated M3U entry with labels pointing to tvg-id, tvg-logo, group-title and the stream URL
Each part of an #EXTINF line tells the player how to display the channel.

How to Load an M3U Playlist

You can add an M3U playlist as either a file or a URL. A URL is usually better, because the source can update the list remotely without you re-importing.

  1. Get the playlist. Either a local .m3u/.m3u8 file or a hosted M3U URL from a licensed source.
  2. Choose a player. VLC works on computers; on a TV, use an IPTV player such as TiviMate or IPTV Smarters. See our best IPTV players guide.
  3. Add the playlist. Open the file, or paste the M3U URL into the app’s “add playlist” field.
  4. Add an EPG (optional). Paste your EPG URL so the guide shows programme names and times.
  5. Organise. Use group-title categories to sort channels; most players let you hide or reorder groups.

For a full walkthrough on a specific app, follow our step-by-step TiviMate setup guide.

An IPTV player's add-playlist screen with a field for pasting an M3U URL
Adding a playlist is usually as simple as pasting an M3U URL.

The M3U format is completely legal — it is a plain-text list of links, like a bookmarks file. Legality depends entirely on what the links point to.

  • Legal: a playlist of your own media, free-to-air channels, or streams from a provider that holds the rights.
  • Not legal: a playlist that streams premium or pay-TV channels without the rights holder’s permission, regardless of the file format used to list them.

Be cautious: "loaded" M3U lists sold cheaply with thousands of premium channels are almost always unlicensed. WatchlyGuide only covers licensed sources. If a playlist promises every pay-TV channel for a few euros, it is not a legitimate service.

The Bottom Line

An M3U playlist is nothing more than a text file listing where media lives, with optional tags that tell your player each channel’s name, logo, category and guide ID. Prefer the UTF-8 M3U8 variant, pair it with an EPG for a full guide, load it into a reputable player, and only ever use it with sources that hold the proper rights. Once you understand the #EXTINF line, the whole format is easy to read.

Next, set up the programme guide with our explainer on what an EPG is, or start from the basics with what IPTV is.

Not sure about a term on this page? Look it up in the streaming glossary.

Frequently Asked Questions

What is an M3U playlist?

An M3U playlist is a plain-text file that lists the locations of media items — audio tracks, videos or live channels — so a media player can load them in order. Each entry is a URL or file path, optionally preceded by a line describing the item. IPTV players use M3U files to load channel lists.

What is the difference between M3U and M3U8?

They are the same playlist format with different text encoding. An M3U file uses local encoding, while an M3U8 file is saved as UTF-8, so it correctly displays international characters, accents and emoji in channel names. M3U8 is also the manifest format used by HLS streaming, so it is now the standard choice.

How do I open an M3U file?

Open an M3U file with any media player that supports the format, such as VLC on a computer, or a dedicated IPTV player like TiviMate or IPTV Smarters on a streaming device. You either open the local .m3u file directly or paste its URL into the app, which then loads and displays every channel.

What is an M3U URL?

An M3U URL is a web link that points to a hosted M3U playlist rather than a file on your device. When you paste it into an IPTV player, the app downloads the current playlist from that address. This lets a provider update the channel list remotely without you re-importing anything each time.

Is using an M3U playlist legal?

The M3U format itself is completely legal — it is just a text file, like a shopping list of links. Legality depends entirely on what the links point to. A playlist of your own media or licensed sources is fine; one that streams channels without the rights holder's permission is not. Use licensed sources only.

What does #EXTINF mean in an M3U file?

#EXTINF is the directive that describes each entry in an extended M3U file. It appears on the line before a media link and holds the item's duration and title, plus optional tags like tvg-id, tvg-logo and group-title. IPTV players read these tags to show channel names, logos and category groups.