...
Skip to main content

Setup guides

What is an M3U playlist, and how does IPTV use it?

An M3U playlist is a plain text list of stream addresses. See what is inside one, how IPTV apps read it and what to do when yours stops loading.

By IPTVOREUpdated 7 min read

In short

  • An M3U playlist is a text file of stream addresses, with no video inside.
  • An IPTV M3U link carries your login, so it stays private.
  • Paste the whole link into your player, and ask your provider if it stops working.
On this page
  1. What an M3U file is
  2. What is inside an M3U playlist
  3. M3U and M3U8
  4. How IPTV uses an M3U link
  5. How to open an M3U playlist
  6. How to make an M3U file
  7. Why a playlist stops loading
  8. Questions people ask about M3U files

What an M3U file is

An M3U file is a plain text list of addresses. Each address points to something a player can play, a song on your computer or a live channel on a server. The file holds no sound or video of its own, only the places to look.

That is why the file is so small. A list of thousands of channels is still only lines of text, far smaller than the video it points to. The video comes from the address, and only when you pick a channel and press play.

The name comes from the early music players on computers, which used the format to line up songs. It stayed in use because it is simple, and a person can read it as easily as a program can.

An M3U, then, is a list and nothing more. The long link in your activation message is where your player fetches that list from.

What is inside an M3U playlist

The M3U file format has only a few rules, and a playlist with a single channel shows all of them. This sample uses made-up addresses.

#EXTM3U
#EXTINF:-1 tvg-logo="http://example.com/logo.png" group-title="Examples",Example channel
http://example.com/live/example

The first line, #EXTM3U, tells the player what kind of file this is, and every playlist starts with it.

Each channel then takes two lines. The information line starts with #EXTINF: and carries a length, then any tags, then a comma, then the name the player shows in its menu. A live channel has no end, so its length is written as -1.

The tvg-logo tag is the address of the picture shown beside the name. The group-title tag is the group the channel belongs to, which lets a player sort channels into folders. The line below is the stream address, where the player goes when you pick that channel.

A full list repeats those two lines for every channel, so the structure is always the same, the header first and then two lines per item. The M3U format has more tags than these if you ever need them.

M3U and M3U8

Some links and files end in .m3u8 instead of .m3u. The 8 means the text is saved as UTF-8, which can hold accented letters and other alphabets, so a channel name from any country keeps its spelling.

The same ending also marks the playlists that streaming video itself uses, where a short list gives the player the pieces of one stream in order. That is why a single channel’s address sometimes ends in .m3u8, even though it is not a list of channels.

Most readers can ignore the difference. Paste the link your provider sent, with whatever ending it has, and let the player read it.

On IPTV, the provider does not send you a file. They give you one long link, and the playlist sits behind it on their server. Your player app downloads the list from that link and shows the channels as a menu. Pick one, and the app goes to that channel’s address.

An IPTV M3U playlist differs from a music playlist in one way that matters. The link carries your login details. That is how the server knows whose channels to send, and it is also why the link stays private.

NoteAnyone who has your M3U link has your login. Do not post it on a forum, and blank it out before you share a screenshot of your activation message.

Some apps take the link in place of a username and password, and others ask for the username, password and server address instead. Our login details include one M3U link for the apps that take one.

If you want to see this on your own screen before you pay, the free IPTV trial gives you a line to try it with.

How to open an M3U playlist

You add the link once, and the app does the rest. Menus differ from one app to the next, but the order is the same.

  1. Open the player and look for the option to add a playlist, often called playlist or M3U.
  2. Paste the whole link into the field. Do not split it.
  3. Save, then wait while the app downloads the list. A long list can take a little while on a small stick.

Typing a long link with a remote is where mistakes happen. One wrong character is enough for the whole list to fail, so check it against your message before you save. The setup guide shows the screens for each device.

On a computer, VLC opens an M3U playlist, which is a quick way to check a link before you type it into a TV app. If a channel plays there, the link itself is fine.

How to make an M3U file

You can write one yourself, and doing it once is the quickest way to understand the format.

  1. Open a plain text editor, not a word processor.
  2. Type #EXTM3U on the first line.
  3. For each song or video, add an #EXTINF: line with its length in seconds, a comma and its name, then put its address or path on the line below.
  4. Save the file with the ending .m3u, and choose UTF-8 if the editor asks how to encode it.

A file like that suits your own media, such as a folder of videos on a computer.

It is not how you get a TV line. A provider’s list is built on their server from your account, reaches your app through the link, and changes as channels come and go. You never write it, and a copy edited by hand soon goes out of date.

Why a playlist stops loading

A list that loaded before and fails today usually has one of three causes.

The line has ended. The link works only while your line runs. A trial line is short, and when it ends the link stops with it.

The link was mistyped or cut. A character dropped by the remote, or a link split across two lines in a message, gives the app an address that leads nowhere. Compare it with your message character by character, or paste it in again.

The list is too long for the device. The file is small, but thousands of entries are a lot for a small stick or an old box to sort and show. If the app locks up or closes while the list loads, that is a question for support rather than something to fix by hand.

Whichever of the three it looks like, ask support before you change anything, and tell them which app you use and what the screen says.

NoteOnly change the server address in your link if the one you have does not work. If it does not, support may give you another one.

Once the list loads, the setup guide covers what comes next on each device.

Questions people ask about M3U files

What is M3U format?

M3U is a plain text format for playlists. The file lists one address per item, with a short information line above each, and it holds no sound or video of its own.

What file type is M3U?

An M3U is a text file with the ending .m3u or .m3u8. Any text editor can open it, and a media player reads it as a playlist.

How do you structure an M3U file?

Put #EXTM3U on the first line. Then give each item two lines, an #EXTINF: line with its length and name, and the address on the line below. Live streams use a length of -1.

Is an M3U link the same as an Xtream login?

No, but they are two ways to reach the same line. An Xtream login is a username, password and server address, which the app uses to fetch the list itself. An M3U link is one address with those details inside it, which hands the app the finished list. Use whichever your app asks for.

Written by IPTVORE

The team behind iptvore.net, the only official IPTVORE site. About us

Read next

Try it on your own TV

A free 24-hour trial, no card needed, usually ready in under a minute. Then a plan from one month to two years.