What Are M3U and M3U8 Playlist Files?
Understand M3U and M3U8 text playlists, relative paths, EXTINF metadata, UTF-8 encoding and the distinction between local media lists and HLS manifests.
Basic and extended playlists
A basic list has one media reference per line. Extended M3U begins with #EXTM3U and can use #EXTINF to describe the following item’s duration and label. These entries are not audio tags embedded in the referenced recording.
#EXTM3U
#EXTINF:180,Example track
Album/Track01.flac
Album/Track02.flacPaths and text encoding
Absolute paths depend on a particular location; relative paths are normally resolved against the playlist location. Moving a playlist without its media may break references. Traditional M3U text encoding is not consistently defined across applications; M3U8 uses UTF-8 by convention.
Local playlists and HLS
HTTP Live Streaming extends the playlist syntax with EXT-X tags. A multivariant playlist refers to alternative streams; media playlists reference segments and timing information. Streaming requires a compatible client. See Apple HLS examples.
Comparison with other lists
| Format | Structure |
|---|---|
| M3U/M3U8 | Ordered text references. |
| PLS | Numbered entries with separate properties. |
| CUE | CD-oriented track indices and offsets into source files. |
| HLS manifest | Streaming playlists with segment and rendition metadata. |
How to play it
Practical Windows playback and compatibility guidance from Media Player Codec Pack.