📖 What is an M3U File?
An M3U file is a media playlist, a plain-text file that lists where your audio or video tracks live. It uses the .m3u extension, and the key thing to grasp is that it holds no music or video itself, only a list of locations pointing to them.
Think of it as a running order rather than the recordings. Each line is either a path to a file on your computer or a web address for a stream, and a media player reads the list top to bottom to know what to play and in what sequence.
Because it is just text, an M3U is tiny and easy to share or edit. The name is short for MP3 URL, and the format was created in 1995 by Nullsoft for its Winamp music player. It began as a simple way to save music playlists and has since become the standard way to hand a player a set of tracks, from a local album to thousands of live TV channels.
Key Characteristics
- A playlist, a running order of tracks
- Plain text, readable in any editor
- Points, not holds, it lists locations
- Audio or video, local files or streams
Good to Know
- M3U8 is the UTF-8 twin, same idea
- Extended M3U, adds names and times
- Big in IPTV, for channel lists
- Breaks if paths move, links go stale
⚡ Quick Facts
| File Extension | .m3u, and .m3u8 |
| Full Name | M3U Media Playlist |
| Category | Playlist file |
| Format | Plain text |
| Contains Media | No, it lists locations |
| Two Variants | Basic and Extended M3U |
| M3U8 Encoding | UTF-8 |
| MIME Type | audio/x-mpegurl |
| Opened By | VLC, Kodi, media players, text editors |
| Related Extensions | .m3u8, .pls, .ts |
🔍 What Is Inside
Open an M3U in a text editor and it is refreshingly readable. There are two flavours, a bare list and an extended one that adds labels.
An extended M3U, with track names and durations
#EXTM3U # header, marks it extended #EXTINF: # length and label https://example.com/audio/song.mp3 #EXTINF: # -1 means a live stream https://example.com/live/radio
The #EXTM3U header on the first line marks the file as extended. Each #EXTINF line then gives a track's length in seconds and its display name, followed by the location on the next line. A basic M3U drops the tags entirely and is just a plain list of locations, one per line.
🔤 M3U vs M3U8
The most common question is what the extra 8 means. The two are nearly identical, and the difference is all about text encoding.
| Point | M3U | M3U8 |
|---|---|---|
| Text encoding | System default | UTF-8 |
| Non-English names | ~ can garble | ✓ handled |
| Same tags and layout | ✓ yes | ✓ yes |
| Used for HLS streaming | ✗ no | ✓ yes |
An M3U8 is simply an M3U saved in UTF-8, the encoding that handles accented and non-Latin characters cleanly. The structure inside is the same. UTF-8 is also required by HLS, the streaming method behind most modern live video and standardised as RFC 8216, which is why you meet .m3u8 so often online. When in doubt, saving as M3U8 works everywhere a plain M3U does.
📂 How to Open an M3U File
There are two reasons to open an M3U, to play what it lists or to look at the list itself, and each has its own tool.
To play it
Open it in a media player like VLC or Kodi. The player reads the list and starts playing the tracks it points to.
To read the list
Open it in any text editor, such as Notepad, to see the raw paths and labels without launching a player.
On a phone
Media and IPTV apps on Android and iOS import an M3U, either from a file or a web link, and play it there.
✏️ How to Edit or Fix One
Since an M3U is plain text, editing it needs nothing more than a text editor. This is how you tidy a list, fix a broken path or trim a huge channel lineup.
Open in an editor
Use Notepad, or Notepad++ for large files, to see every entry as editable text.
Fix or remove lines
Correct a wrong path, or delete an entry by removing its #EXTINF line and the location below it.
Save as UTF-8
Save with UTF-8 encoding, ideally as .m3u8, so any accented or non-Latin names stay intact.
📺 M3U and IPTV
Beyond music, the biggest use of M3U today is IPTV, where a single playlist can list hundreds or thousands of live channels for a player to load.
In an IPTV playlist, each channel is an #EXTINF line carrying a name, a logo and a group, followed by the stream address. Extra attributes like tvg-logo and group-title give players the details to show tidy, labelled channels rather than a wall of bare links. Apps such as VLC, Kodi and dedicated IPTV players read these lists directly.
🔀 The Two Kinds of M3U8
Here is a point that trips up almost everyone. The same .m3u8 extension is used for two related but very different jobs, and knowing which is which clears up a lot of confusion.
| A channel-list M3U8 | The playlist you import into a player, listing many channels with #EXTINF lines. This is the file you paste in or load. |
| An HLS manifest M3U8 | What each channel's stream address itself opens, using #EXT-X tags to describe video segments and quality levels. The player handles this part unseen. |
So a stream address inside your IPTV playlist may itself end in .m3u8, and that is normal. The channel-list M3U8 is the container you load, while the HLS manifest M3U8 is how each individual stream is delivered, pointing the player to the small segments it plays in sequence.
🎯 Where M3U Is Used
The same simple list of locations turns up across quite different corners of media.
Music Playlists
Its first job, saving the running order of an album or a mix for a music player to load.
IPTV Channels
A single list can carry a whole lineup of live TV streams into an IPTV player.
Internet Radio
Stations hand out M3U links so a player can tune straight into a live audio stream.
Video Streaming
As M3U8, it underpins HLS, guiding players through the segments of a video stream.
🛠️ If It Will Not Play
An M3U that imports but plays nothing almost always comes down to the locations it lists rather than the file itself.
| Moved or missing files | If local tracks were moved or renamed, the paths no longer point to them. Restore the files or fix the paths, and relative paths help. |
| Offline or expired streams | A listed stream that is down, expired or blocked will not play even when the list loads fine. The fix is a working source. |
| Garbled channel names | Names full of odd symbols mean an encoding mismatch. Re-save the file as M3U8 with UTF-8 to set them right. |
| Player lacks HLS support | For an M3U8 stream, the player needs HLS support. A capable player such as VLC handles it. |
🔀 Related Formats
M3U sits among the playlist and streaming formats you meet alongside it.
.m3u8 | The UTF-8 version of M3U, the same playlist that handles international characters and drives HLS streams. |
.pls | Another plain-text playlist format, a little more structured, common with internet radio stations. |
.ts | A transport stream segment, the small chunk of video that an HLS M3U8 points a player to. |
.xspf | An XML-based open playlist format, sometimes offered as a more structured alternative to M3U. |
.cue | A cue sheet that maps tracks within a single long audio file, a different take on a track list. |
❓ Frequently Asked Questions
It depends what you want. To play the tracks it lists, open the M3U in a media player such as VLC or Kodi, and the player reads the list and starts playing. To look at the list itself, open it in any text editor like Notepad, where you see the raw paths and labels. On a phone, media and IPTV apps import an M3U from a file or a web link. The file opens easily either way.
An M3U file is a media playlist, a plain-text file that lists where audio or video tracks live rather than holding the media itself. Each line is a path to a local file or a web address for a stream, and a media player reads the list to know what to play and in what order. It began as a way to save music playlists and is now also the standard format for IPTV channel lists.
No. An M3U holds only a list of locations, not the media. It is like a running order or an address book that points a player to each track, whether a file on your computer or a stream online. This is why the file is so small and why it can be shared without the songs. It also means the playlist stops working if the tracks it names are moved, renamed or taken offline.
They are nearly identical playlists, and the difference is text encoding. A plain M3U uses the system's default encoding, while an M3U8 uses UTF-8, which handles accented and non-Latin characters cleanly. The tags and layout inside are the same. UTF-8 is also required by HLS, the method behind most modern live video streaming, so you meet .m3u8 often online. Saving as M3U8 works everywhere a plain M3U does.
Because it is plain text, open the M3U in a text editor, Notepad for small files or Notepad++ for large ones, and edit the entries directly. You can fix a wrong path, reorder tracks or remove an entry. In an extended M3U each track is two lines, the #EXTINF label and the location below it, so delete both when removing one. Save with UTF-8 encoding, ideally as .m3u8, to keep special characters intact.
Open a plain text editor, list your media paths or stream URLs one per line, and save the file with a .m3u extension instead of .txt. For track names and durations, start the file with #EXTM3U and put an #EXTINF line above each location. Many music and IPTV apps can also export a playlist as M3U for you. Save as UTF-8, or .m3u8, if any names use accented or non-Latin characters.
Usually the problem is the locations it lists, not the file. If local tracks were moved or renamed, the paths no longer find them, so restore the files or fix the paths. If it lists streams, a source that is offline, expired or blocked will not play even when the list loads. Garbled names point to an encoding mismatch, fixed by saving as M3U8 in UTF-8. For an M3U8 stream, the player also needs HLS support.
Media players are the main ones. VLC, Kodi and Windows Media Player all read M3U playlists and play the tracks, and dedicated IPTV apps do the same on phones and TV boxes. To view or edit the list rather than play it, any text editor works, with Notepad++ handy for large files. VLC is a reliable all-rounder because it also supports HLS streams that an M3U8 points to.
They are the tags of an extended M3U. #EXTM3U is the header on the first line that marks the file as extended, so a player expects metadata. Each #EXTINF line then describes the track that follows, giving its length in seconds and a display name, and in IPTV also a logo and group. A value of -1 for the length signals a live stream with no fixed duration. Without these tags, an M3U is just a bare list of locations.
In IPTV, an M3U file is the channel list. A single playlist can carry hundreds or thousands of live TV streams, each an #EXTINF line with a channel name, logo and group, followed by the stream address. Players like VLC, Kodi and dedicated IPTV apps import the list and show tidy, labelled channels. The M3U only points to the streams, so a channel plays only while its source stays online.
The M3U file itself is just a plain-text list of links, so it is legal to create, open and share. What matters is what it points to. Some playlists circulated online link to live channels streamed without permission, which can break copyright law depending on where you are. Using playlists from services you subscribe to, or ones you build from sources you are allowed to use, keeps you on safe ground.
Yes. Media player and IPTV apps on both Android and iOS open M3U playlists, either from a file saved on the device or from a web link you paste in. VLC has mobile versions, and there are many dedicated IPTV players. Once imported, the app plays the tracks or channels the list points to, just as on a computer, as long as those locations are reachable from the phone.
Since an M3U is a plain-text list of locations, converting it usually means saving the same list in another playlist format, such as PLS or XSPF, which many media players can export. There is nothing to convert in the media sense, because the M3U holds no audio or video, only links. If you want the actual tracks in a different shape, that is a job for the media files themselves, not the playlist.
Both are plain-text playlist formats that list where media lives, and players like VLC read either one. The main difference is structure. A PLS file uses a labelled, key-and-value style with numbered entries, which some find clearer, while an M3U is a leaner list, optionally with #EXTINF tags. M3U is far more common, especially for IPTV and HLS streaming, while PLS turns up most often with internet radio stations.
Many playlists, especially IPTV ones, come as a web link rather than a file. In VLC, go to Media and Open Network Stream, paste the M3U URL and play. Dedicated IPTV apps like TiviMate or IPTV Smarters have an option to add a playlist by URL when you set up a profile. The player fetches the current list from that address each time it loads, so updates appear without downloading anything.
That is normal, and it is the same extension doing two different jobs. The playlist you import is a channel-list M3U8. Each channel's stream address inside it may itself open an HLS manifest M3U8, which lists the small video segments the player streams. So one M3U8 is the container you load, and the other is how each individual stream is delivered. Your player moves between them automatically, with no action needed from you.
For a portable playlist of local files, relative paths work best. A relative path points to a track by its position next to the M3U, so if you keep the playlist and its music in the same folder and move them together, the links still resolve. An absolute path names the full location from the drive down, which breaks the moment files move to another folder or computer. Relative paths keep a local playlist working when it travels.
📝 Summary
An M3U file is a media playlist, a plain-text file that lists where audio or video tracks live rather than holding the media itself. Each line points to a local file or a stream, and a media player reads the list to play the tracks in order. A basic M3U is a bare list of locations, while an extended one starts with #EXTM3U and adds an #EXTINF line above each entry for the name and duration. M3U8 is the same format saved in UTF-8, which handles international characters and is required for HLS video streaming, so it is common online. You play an M3U in a player like VLC or Kodi and edit it in any text editor, saving as UTF-8 to keep special characters. Its biggest modern use is IPTV, where one list carries many live channels. The file is legal in itself, though some shared playlists point to streams offered without permission, and a playlist stops working the moment its listed locations move or go offline.