Reference

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.

M3U is a text playlist containing references to media files or URLs. M3U8 normally indicates UTF-8 encoding; it can also be used for HTTP Live Streaming 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.flac

Paths 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

FormatStructure
M3U/M3U8Ordered text references.
PLSNumbered entries with separate properties.
CUECD-oriented track indices and offsets into source files.
HLS manifestStreaming playlists with segment and rendition metadata.

How to play it

Practical Windows playback and compatibility guidance from Media Player Codec Pack.