What is an M3U playlist? A complete beginner's guide
An M3U playlist is a plain text file that lists where media is located, as file paths or web addresses, so a player app can load it. It contains no video itself, and it doesn't give you the right to watch anything.
Player basicsPublished Updated 10 min read
The short answer
An M3U playlist is a plain text file that lists where media is stored. Each entry is a file path on your device or a web address on a server. A media player reads the list and opens each item from wherever it lives. The playlist holds no audio or video itself.
M3U is a long-established format. It dates back to about 1996, when Fraunhofer created it for its WinPlay3 audio player, and the name is usually read as “MP3 URL”. Today the same simple format is used for music, video and live streams.
There is no official M3U specification. It is a de facto standard, so different apps support slightly different features. That explains many “works in one app, not in another” problems.
How an M3U playlist works
Think of an M3U playlist as a table of contents rather than the book. When you open one, the player:
- reads the text from top to bottom;
- builds a list of items, using any names or details the file provides;
- opens an item when you select it, by following its file path or web address.
Because the playlist only points to media, the two are independent. Delete the playlist and the media is untouched; move or delete the media and the playlist points at nothing. A playlist can also be shared without copying any media, which is why playlists are small even when they list many hours of content.
What's inside an M3U file?
A basic M3U file is just one location per line. According to the format’s documented conventions, each entry can be a full file path, a path relative to the playlist’s own folder, or a URL:
C:\Music\track-01.mp3
songs/track-02.mp3
https://media.example.com/audio/track-03.mp3Most playlists used with TV player apps use the “extended” form, which adds a line of information before each address. Here is a made-up example:
#EXTM3U
#EXTINF:-1 tvg-id="news.example" tvg-logo="https://example.com/logo.png" group-title="News",Example News
https://stream.example.com/news/index.m3u8
#EXTINF:-1 tvg-id="weather.example" group-title="Weather",Example Weather
https://stream.example.com/weather/index.m3u8#EXTM3Umust be the very first line. It tells the player that extended information follows.#EXTINF:starts the information for the next item. The number is the length in seconds;-1means a live stream with no fixed length. The text after the comma is the name the player shows.tvg-id,tvg-logoandgroup-titleare optional attributes that many TV player apps understand: an identifier used to match program guide data, a channel logo, and the group or category the channel is listed under.- The line after each
#EXTINFis the address the player actually opens.
Because these attributes are conventions rather than part of a formal standard, a player may ignore some of them. If logos or groups don’t appear, the player may simply not support that attribute.
M3U file vs. M3U playlist URL
You will come across playlists in two forms:
- A saved file ending in
.m3uor.m3u8, stored on your computer, phone or a USB drive. It stays exactly as it is until you replace it with a newer file. - A playlist URL: a web address that returns the playlist text when a player requests it. You enter the link once, and the player downloads the current list from that address, often again each time it starts. Whoever runs the server can update the list, and your player picks up the change on its next download.
A playlist URL doesn’t always end in .m3u. Many links end in a path or a set of parameters instead, and the server’s response tells the player what it has received. For HLS streams, RFC 8216 requires either a path ending in .m3u8 or .m3u, or a matching content type sent by the server.
Media players don’t come with playlists. A playlist comes from whoever provides the content you are entitled to watch, such as your own media library, a broadcaster or a subscription service, and the player app is usually a separate product. For the bigger picture of how TV is delivered over IP networks, see What is IPTV?
M3U vs. M3U8: what's the difference?
The “8” can mean two related things, which is why it causes confusion:
- As a playlist file:
.m3u8means the file is saved as UTF-8 text, while.m3utraditionally used the computer’s default encoding. UTF-8 matters when channel or track names include accents or non-Latin characters; with the wrong encoding they show up garbled. In practice, many apps now treat both extensions the same way. - As a streaming format: Apple built HTTP Live Streaming (HLS) on top of the extended M3U format in UTF-8, published as RFC 8216 in 2017. An HLS stream is described by an
.m3u8playlist that points to short video segments, or to several versions of the same stream at different quality levels. That is why the addresses inside a TV playlist often end in.m3u8.
| .m3u | .m3u8 | |
|---|---|---|
| Text encoding | Traditionally the system default | UTF-8 |
| Typical use | Music and channel lists | Channel lists and HLS streams |
| Formal standard | None (de facto) | RFC 8216 when used for HLS |
How to open an M3U file
To see what’s inside
An M3U file is plain text, so any text editor can open it: Notepad on Windows, TextEdit on a Mac, or a code editor. This is the quickest way to check whether a file is a real playlist and which addresses it uses. Save any edits as plain text, ideally in UTF-8, or the player may not read the file correctly.
To play it on a computer with VLC
The free VLC media player can open playlist files and playlist links. The menu names below come from VLC’s desktop documentation; on a Mac, the same options are under the File menu.
Saved file
Choose Media then Open File, select the.m3uor.m3u8file and click Open. You can also drag the file onto the VLC window.Playlist URL
Choose Media then Open Network Stream. On the Network tab, paste the address and click Play.
On Windows and macOS you can also right-click the file and use Open With to pick a media player. If the file opens in a text editor instead, that is simply the app your computer associates with the extension.
How to add an M3U playlist to a compatible player
Every TV player app has its own screens, so check its own help pages for exact steps; our guide to choosing an IPTV player explains what to compare first. The process usually follows the same pattern:
Install the player from an official store
Use your device’s app store or the developer’s own website, and confirm the app supports M3U playlists.Find the playlist option
Look for something like Add playlist, M3U URL or Load from file. Some TV apps instead show a device ID and ask you to add the playlist on the developer’s website.Paste the link and give it a name
Copy and paste the address rather than typing it on a TV remote; one wrong character breaks it.Wait for the first load
A long list can take a while to download and sort. If the player can also load program guide data, that usually comes from a separate guide link. Our article What is an EPG? explains how guide data is matched to channels.
M3U IPTV: how IPTV services use playlists
“M3U IPTV” usually means an IPTV service that delivers its channel lineup as an M3U playlist. The service gives you a playlist URL, your player downloads the list, and each entry points to a stream, often an HLS address ending in .m3u8. Names, logos and groups come from the #EXTINF lines described above.
- Playlist link: the M3U URL you enter in a player. It often includes your account details, so keep it private.
- Guide link: program guide data usually comes from a separate link, often in XMLTV format, matched to channels through
tvg-id. Our EPG explainer covers how that works. - Login instead of a link: some services and players use a server address, username and password instead of a playlist URL. The two methods aren’t interchangeable in every app.
Apps that can open an M3U IPTV playlist
VLC can open playlist files and playlist URLs, which makes it useful for testing on a computer (see how to open an M3U file). Dedicated IPTV player apps add channel lists, favorites and a program guide; TiviMate, for example, describes itself as a player you add your own playlists to. Support varies by app and device, so compare them with our guide to choosing an IPTV player, and on a Fire TV Stick see IPTV for Firestick.
Keep your playlist link private
Playlist links from subscription services often include your account username and password inside the address itself. Anyone with the link may be able to use your account, so treat it like a password: don’t post it in reviews, forums, comments, screenshots or group chats, and share it only through your provider’s private support channel.
When an M3U playlist won't load
- Check the link character by character. Playlist links are long, and one wrong or missing character is enough to break them. Look for spaces added at the start or end when copying.
- Check the file itself. Open it in a text editor. An extended playlist must start with
#EXTM3U. If you see a web page or an error message instead of a list, the download didn’t return a playlist. - Relative paths break when files move. If a saved playlist lists paths such as
songs/track-02.mp3, keep the playlist in the same place relative to the media, or replace them with full paths. - Confirm the account is active. An expired or suspended account usually means the link stops working. Your provider can check.
- Look at the player’s support for the format. If the list loads but some items won’t play, your device may not support that stream’s format, or the player may not support a feature the list uses. Testing the same playlist in a second player, such as VLC, shows whether the problem is the app or the playlist.
- Garbled names? That points to a text-encoding mismatch (see M3U vs. M3U8 above). Ask whoever created the list for a UTF-8 version.
- Rule out your connection. On Fire TV, our Wi-Fi troubleshooting guide walks through the checks, and our remote troubleshooting guide helps if you can’t navigate the app to enter the link.
Safety and legality
An M3U file is plain text, but players have to read it, and badly handled playlists have caused security flaws in well-known players in the past. Keep your player app updated, install players only from official stores or the developer’s own site, and only load playlists from sources you trust.
Frequently asked questions
Is an M3U playlist the same as a streaming service?
No. It is only a list of addresses. The content comes from wherever those addresses point.
Can I open an M3U file on a computer?
Yes. A text editor shows the list, and many desktop media players, including VLC, can open it and play the items.
Can I edit or create an M3U playlist?
Yes. Write one location per line in a text editor and save the file with an .m3u extension, or .m3u8 for UTF-8 text. Many music players can also export playlists in this format.
What is M3U IPTV?
An IPTV service that delivers its channels as an M3U playlist link, which you load into a compatible player. The playlist lists the channels; the video comes from the streams each entry points to.
Is an M3U8 link a playlist or a video?
It is a playlist. For HLS, the .m3u8 file lists the short segments that make up the video, and the player downloads and plays them in order.
Why do some channels have no program guide?
Guide data is usually separate from the playlist and is matched to channels through an identifier such as tvg-id. If there is no guide data, or the identifiers don’t match, the guide stays empty. See what to do when the guide is empty.
More questions? Our FAQ covers plans, setup and support.
The bottom line
An M3U playlist is a simple, widely supported list of media locations. Open it in a text editor to see what it contains, in VLC to play it on a computer, or add its link to a compatible player on your TV. Keep subscription links private, and use playlists only for content you are authorized to watch.
Sources
Facts in this article are based on the sources below. IPTVGreat4K is independent and not affiliated with the companies named.
Related articles
What is an EPG? How TV guide data works in media player apps
An EPG is the on-screen TV guide. Learn where guide data comes from in media player apps, how XMLTV works, and how to fix a missing or wrong guide.
· 3 min read
Best IPTV player apps in 2026: how to choose the right one
Compare IPTV player apps by device compatibility, playlist support, EPG features, usability and privacy before choosing the right player.
· 7 min read
IPTV with Chromecast: How to Set Up and Watch IPTV on Your TV
Learn how to watch IPTV with Chromecast. Follow this step-by-step guide to cast from Android or iPhone, use Google TV, and fix common connection problems.
· 8 min read