merge audiocombine mp3ffmpegaudio

Merge Audio Files Into One, Even in Mixed Formats

Merge several audio files into one, in your chosen order, even if they are MP3, WAV or M4A. Why pasting bytes fails and what quality the result has.

August 22, 2026·4 min read

You recorded an interview in three parts because your phone died halfway through, or you have several voice notes to join before sharing them. The audio merger combines them into one file, in the order you choose, even when they don't share a format. Merging audio sounds trivial, but it only is if every file shares exactly the same parameters.

Why pasting the files together doesn't work

An MP3 is a sequence of compressed frames, and each frame is encoded with parameters such as sample rate, channels and bitrate. Joining the bytes of two files only makes sense if those parameters match. FFmpeg's documentation is explicit about its concat demuxer: all files must have the same streams, with the same codecs and the same time base.

If you mix an uncompressed WAV with an MP3, pasting bytes makes no sense at all, because they are different data structures.

The tool does something else: it decodes each file to raw audio, concatenates those samples and re-encodes the whole result. That takes more work than copying bytes, but it works with any combination of input formats. Internally it uses FFmpeg's concat filter through filter_complex.

Order matters, and you can change it

Each file goes into a list where you can:

  • Move a track up or down with the arrows to change the final order.
  • Change the colour of each segment. Colours are assigned automatically, but you can edit them.
  • Add more files without losing the order you already have.
  • Remove any track before merging.

Any change to the list deletes the previous result, so after reordering you need to press Merge again.

The colour bar above the list divides its width by the size in bytes of each file, not by its duration. A two-minute WAV takes up much more space than an MP3 of the same length, so its segment looks wider. The bar shows how much data each part holds, not how long it lasts.

What format the result comes in

The final file is always an MP3 encoded with LAME in VBR, quality 2 (-q:a 2 in FFmpeg), whatever the source format. Almost every device and player can play MP3, which makes it a good choice for sharing, podcasts and voice notes.

Because the audio is decoded and then encoded again, the result has the loss inherent to MP3. If your tracks are already MP3, they get recompressed. You can convert each track to WAV or FLAC with the audio converter, but the merged file will still come out as MP3. To understand what each codec implies, read the guide on sampling and codecs.

Frequently asked questions

Can I merge an MP3 with a WAV? Yes. Each file is decoded separately before merging. If FFmpeg can't read one of them, the merge fails and an error message appears.

Is there a limit on how many files I can merge? There is no fixed cap on the page. The real limit is your device's memory, because each file is loaded whole into the browser before processing.

Do I lose quality when merging? Yes, although it may be small. The audio is decoded and encoded again as MP3, so there is one recompression.

Can I change the order after uploading the files? Yes, with the arrows on each track, before pressing Merge. Each change to the list deletes the previous result.

Is my audio uploaded to a server? No. The merge runs in your browser with FFmpeg compiled to WebAssembly. The only thing downloaded from outside is the FFmpeg engine, from unpkg.com, and only the first time you press Merge in each visit.


Combine your audio files in whatever order you want, even with mixed formats, with the audio merger. Your files never leave your browser.

Try it without code

Merge Audio Files

Combine several audio files into one.

Open Merge Audio Files

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me