FormatDrop
Audio Format

M3U

MP3 URL / Media Playlist File

M3U (MP3 URL) is a plain-text playlist format that lists audio or video files — either as local file paths or internet streaming URLs. Originally developed by Nullsoft for Winamp in the late 1990s, M3U became the universal playlist format supported by virtually every media player. An M3U file doesn't contain any audio or video data — it's just a text file with a list of locations. The format is used for local music playlists, internet radio streams, IPTV channel lists, and podcast feeds. M3U8 is the UTF-8 variant of M3U, used extensively in HLS (HTTP Live Streaming) for video streaming.

What is M3U?

An M3U file is a plain text file with one entry per line. Lines starting with # are comments or directives. The #EXTM3U header indicates extended M3U format; #EXTINF provides title and duration metadata for the next entry. Entries are either local file paths (absolute or relative) or URLs to network streams. The .m3u extension uses the system's default encoding (often Latin-1 on Windows); .m3u8 uses UTF-8 encoding for international characters. M3U8 is used by Apple's HLS standard for adaptive bitrate video streaming — a single .m3u8 file references multiple quality-level streams, and the client switches between them based on bandwidth.

M3U pros and cons

Advantages

  • Universal playlist support — every media player opens M3U
  • Plain text — editable in any text editor
  • Tiny file size — a 10,000-song playlist is only ~500 KB
  • Supports both local files and internet streaming URLs
  • M3U8 is the backbone of HLS streaming (Netflix, Hulu, Apple TV+, YouTube)
  • Easy to create, share, and modify
  • Relative paths make M3U playlists portable across machines

Limitations

  • No embedded audio or video — the actual files must exist separately
  • Local paths break when files are moved or the playlist is shared
  • No metadata beyond title and duration (#EXTINF)
  • No album art, ratings, play counts, or other library metadata
  • Encoding issues between M3U (Latin-1) and M3U8 (UTF-8) cause broken filenames
  • IPTV M3U files can be abused for piracy — some services block M3U streams
  • No DRM or content protection mechanism

When should you convert M3U files?

Convert M3U to PLS (another playlist format) for players that prefer PLS (e.g., some internet radio apps). Convert M3U to XSPF for better metadata support and XML-based parsing. Convert an M3U8 HLS playlist for offline use: tools like FFmpeg can download the stream and encode it to MP4 (`ffmpeg -i playlist.m3u8 -c copy output.mp4`). Create M3U playlists from a folder of MP3 files using VLC (Media → Save Playlist) or a command like `ls *.mp3 > playlist.m3u`. Keep M3U for local playlists and internet radio — it's the most compatible format.

All FormatDrop conversions run entirely in your browser — no file upload, no server processing. Your files stay on your device.

M3U FAQ

How do I open an M3U file?
VLC Media Player opens M3U files on all platforms — just drag the file into VLC. Winamp (Windows) and foobar2000 open M3U natively. On macOS, iTunes/Music opens M3U playlists. On Linux, Clementine, Rhythmbox, and mpv support M3U. For IPTV M3U files, use VLC or a dedicated IPTV player like TiviMate (Android) or IPTV Smarters. Double-clicking an M3U usually opens it in your default media player.
What is the difference between M3U and M3U8?
M3U uses the system default encoding (often Latin-1/Windows-1252 on Windows), while M3U8 uses UTF-8 encoding. In practice, M3U8 is used for two things: (1) playlists with non-ASCII filenames or international characters, and (2) Apple's HLS (HTTP Live Streaming) format for adaptive video streaming. HLS M3U8 playlists have a specific structure with #EXT-X-* tags and reference .ts video segments. For regular music playlists, M3U and M3U8 are functionally identical if you use ASCII filenames.
How do I create an M3U playlist?
The simplest way: open a text editor and list your file paths one per line, then save with .m3u extension. For extended format with titles: start with #EXTM3U, then for each track add '#EXTINF:duration,Artist - Title' followed by the file path. VLC can auto-generate M3U playlists: add files to a VLC playlist, then Media → Save Playlist to File. foobar2000 and Winamp also have playlist export. On Linux/Mac: `ls /path/to/music/*.mp3 >> playlist.m3u` generates a basic playlist.
Can I download an M3U stream as a file?
Yes, using FFmpeg: `ffmpeg -i 'http://example.com/stream.m3u8' -c copy output.mp4` downloads and saves the stream. For radio streams (MP3): `ffmpeg -i 'http://stream.url' -t 3600 output.mp3` (records 1 hour). Streamlink is a dedicated tool for downloading streams from platforms. Note: downloading copyrighted streams may violate terms of service or local laws. Always check the content owner's terms before downloading.