An M3U playlist is a plain text file listing audio files, one per line. The .m3u8 variant uses UTF-8 text, which handles non-English file names.
A minimal example
#EXTM3U
#EXTINF:215,Artist - Song One
Music/Artist/01 - Song One.mp3
#EXTINF:187,Artist - Song Two
Music/Artist/02 - Song Two.mp3
The #EXTINF lines (length in seconds and display title) are optional.
Relative vs absolute paths
Relative paths (relative to the playlist’s folder) keep working when you move the whole music folder or copy it to a USB stick.
Saving from a player
foobar2000, VLC and most other players can save the current playlist as M3U or M3U8.
Related
Our article Filling Up Your Playlist has ideas for building better playlists.
Sources
Facts checked against the sources above on 12 November 2026.