Convert m3u to mp3

Convert M3U to MP3

Extract local audio from an M3U playlist and encode each source as a compatible MP3.

Convert M3U files online

We don’t have a dedicated online converter for M3U to MP3 yet, but you can convert M3U files online to these formats:

How to convert m3u to mp3 file

  • Audio

A car stereo, phone, or audio editor may require separate MP3 files instead of an M3U playlist. The playlist must first be used to locate its source recordings, which can then be encoded individually.

What the M3U format is

M3U is a plain-text playlist containing filenames, local paths, network paths, or streaming URLs; it contains no audio data. Lines beginning with #, such as #EXTINF, can provide track titles and durations. .m3u8 commonly identifies a UTF-8 playlist and is also used for HTTP Live Streaming (HLS) playlists.

Music players and library managers such as VLC, foobar2000, Winamp, Kodi, and IPTV applications can create or read M3U files. Open the file in a text editor to inspect its entries, but do not remove the comment and metadata lines unless a conversion script requires it.

What the MP3 format is

MP3 is a lossy, compressed audio format supported by most phones, computers, portable players, car stereos, and editing applications. It creates much smaller files than WAV or FLAC, making it suitable for general playback, transfer, and storage.

Common settings include 192k or 320k constant bitrate, and LAME VBR quality -q:a 2, which typically averages about 190 kb/s. The source format and intended device determine the appropriate setting; encoding a lossy source again cannot restore discarded audio.

Convert local playlist entries with a desktop app

  1. Open the M3U file in a text editor and verify that each referenced audio file still exists. Relative paths are resolved from the playlist's location, while Windows paths, network shares, and removable-drive paths may not work on another computer.
  2. Add the referenced audio files to fre:ac, a free desktop batch converter, by using File → Add files or by dragging the files into its file list. Adding the files rather than the M3U itself avoids relying on playlist-import support that can vary by version.
  3. Choose the MP3 encoder, select VBR quality 2 or a bitrate such as 192 kb/s, set the destination directory, and start the batch conversion. Each source becomes a separate MP3; the playlist is not merged into one recording.
  4. Check the resulting filenames and tags. Source metadata can be retained when the encoder reads it, but M3U ordering and playlist-specific metadata are not automatically embedded in the MP3 files.

Convert an individual file with VLC

VLC is useful when only a few entries need conversion or a source format is not handled by the batch application.

  1. Open VLC and select Media → Convert/Save.
  2. Use Add to select a local audio file listed in the M3U, then select Convert/Save.
  3. Choose the Audio - MP3 profile, specify a destination filename ending in .mp3, and select Start.
  4. Repeat for the remaining source files. VLC converts the selected media; it does not extract audio data from the M3U file itself.

Batch-convert local entries with FFmpeg

FFmpeg is suitable for repeatable conversion and preserves source metadata when available. A single file can be converted with:

ffmpeg -i input.flac -map_metadata 0 -c:a libmp3lame -q:a 2 output.mp3

For a simple local M3U containing one path per non-comment line, this Python script resolves relative paths, skips URLs, and prefixes output names to prevent collisions:

from pathlib import Path
import subprocess

playlist = Path("playlist.m3u")
out = Path("mp3")
out.mkdir(exist_ok=True)

for number, raw in enumerate(playlist.read_text(encoding="utf-8-sig").splitlines(), 1):
    entry = raw.strip()
    if not entry or entry.startswith("#") or "://" in entry:
        continue
    source = Path(entry)
    if not source.is_absolute():
        source = playlist.parent / source
    target = out / f"{number:04d}-{source.stem}.mp3"
    subprocess.run([
        "ffmpeg", "-n", "-i", str(source), "-map_metadata", "0",
        "-c:a", "libmp3lame", "-q:a", "2", str(target)
    ], check=False)

Install FFmpeg first and run the script from the directory containing the playlist. This example does not handle every Windows path, duplicate filename, encrypted source, or HLS playlist; inspect and adapt those entries before running it.

Use an online converter when appropriate

Services such as CloudConvert and Convertio can convert uploaded audio files to MP3, but they generally do not process an M3U as a collection of referenced local files. Open the playlist, upload the actual source files, choose MP3, set the bitrate, and download the results. Desktop software is more practical for many tracks and avoids uploading private recordings.

Do not submit playlists containing private filesystem paths, authentication tokens, or copyrighted streams unless the service and the content permit it. A URL in an M3U may require login, may expire, or may identify a live stream rather than a downloadable recording.

Quality and compatibility limits

  • FLAC or WAV to MP3 reduces size with one lossy-generation loss. AAC, OGG, or an existing MP3 converted again produces additional loss; keep the original when archival quality matters.
  • For general device compatibility, use stereo MP3 at 44.1 or 48 kHz and 192 kb/s or higher. Use 128 kb/s only when reducing file size is the priority.
  • Unavailable files, broken relative paths, unsupported codecs, network permissions, DRM, and protected URLs cause individual entries to fail. Fix or download those sources before encoding.
  • Converting a video source to MP3 keeps only its audio. Album art, chapters, subtitles, playlist order, and stream metadata may be lost or require separate handling.
  • A live stream is normally recorded or transcoded in real time, not converted as a finite file; the output ends only when the stream ends or the process is stopped.

Simply put, it is impossible to convert M3U to MP3 directly.
Thus, there is no so-called m3u to mp3 converter or a free online .m3u to .mp3 conversion tool.

M3U vs MP3: format comparison

How the M3U and MP3 formats compare on the properties that matter most for this conversion.

Comparison of the M3U and MP3 file formats
Property .M3U M3U playlist .MP3 MPEG-1 Audio Layer III
Compression Uncompressed Lossy
Audio quality High
Audio channels Up to stereo
Metadata support Basic Extensive
Streaming Partial Partial
DRM protection No DRM Optional
Opens in a web browser Partial Yes, natively
Typical file size Very small Small
Open standard Partly open Partly open
Best used for Music Music
Introduced 1996 1993
Developer Moving Picture Experts Group (MPEG)
MIME type audio/x-mpegurl audio/mpeg

Additional formats for
m3u file conversion

Reverse conversion

Convert to mp3 from
other formats

Share on social media: