Audio often arrives in pieces. A dictation app splits a long recording into ten-minute chunks. An audiobook comes as forty separate chapter files. A workshop was recorded on two devices, one in MP3 and one in M4A. A podcast needs an intro jingle, the interview and an outro stitched together. In each case, one continuous file is easier to play, upload or send.
This guide explains what happens when audio files are joined, why mixed formats and mismatched volume cause trouble, and how to merge files in the browser, in Audacity or with ffmpeg, with or without a crossfade.
Two ways to join audio
Concatenating the compressed data. If every file uses the same codec, sample rate and channel count (for example, a set of MP3s from the same recorder), a tool can copy the compressed frames one after another without decoding them. That is fast and lossless. It fails, or produces a file that plays at the wrong speed or stops early, when the inputs differ.
Decoding and re-encoding. The tool decodes every file to raw samples, converts them to one common sample rate and channel layout, joins the samples, and encodes a single new file. This works with any mix of formats and is the only way to add crossfades or level the volume. The trade-off is one extra round of lossy compression, which is minor at 192 kbps and above.
A classic shortcut on Windows, copy /b part1.mp3+part2.mp3 joined.mp3, glues the bytes of MP3 files together. Many players cope, but the result keeps the first file's tags and length header, so the displayed duration and seeking can be wrong. It only works with MP3 and similar raw-frame formats, never with M4A or WAV.
Sample rate, channels and loudness
Three things must match before audio can be joined cleanly:
- Sample rate. A 44.1 kHz file and a 48 kHz file cannot simply follow each other; one must be resampled. If this is done wrongly, part of the result plays too fast or too slow and at the wrong pitch.
- Channels. A mono voice memo next to a stereo song has to be converted so the whole file has one layout. Mono becomes the same signal in both speakers.
- Loudness. Different recordings are rarely at the same level. A quiet phone recording followed by a loud music track makes listeners reach for the volume control. Loudness normalisation brings each file to a common perceived loudness measured in LUFS (loudness units relative to full scale), a scale defined in the ITU-R BS.1770 and EBU R128 standards. Around −16 LUFS is a common target for spoken audio online.
Crossfade or straight join?
A straight join (butt join) places each file directly after the previous one. It is right for split recordings, where the end of one chunk continues into the next, and for audiobook chapters.
A crossfade overlaps the end of one file with the start of the next, fading the first out while the second fades in. It suits music mixes and intro jingles. Note that a crossfade shortens the total: joining three files with a 3-second crossfade removes 6 seconds from the combined length. Never crossfade a split speech recording, because you will overlap and lose words.
Merge audio files in your browser
Merge Audio decodes and re-encodes on your device, so it accepts mixed formats and nothing is uploaded.
- Open Merge Audio and drop the files to join on the box. You can add more later with Add more audio files.
- Check the numbered list. Use the up and down arrows to set the order, and the cross to remove a file. The first file in the list plays first.
- Set Crossfade between files with the slider (0 to 10 seconds). It shows "Off (back to back)" at zero.
- Turn on Even out loudness if the files were recorded at different levels. Each file is brought to about −16 LUFS before joining.
- Choose the Output format (MP3, M4A, WAV, FLAC, OGG or OPUS) and, for lossy formats, the bitrate.
- Click Merge N files. You need at least two files.
- Listen to the result and download
mergedin your chosen format.
The note under the result tells you the common sample rate used (48 kHz if any input was 48 kHz or higher, otherwise 44.1 kHz), and whether the crossfade was shortened because one file was too short for it. The output is always stereo. All files are held in browser memory together, so a combined size of several hundred megabytes may fail on a phone.
Other ways to join audio
Audacity
Open the first file, then use File → Import → Audio for the others. Each file lands on its own track starting at zero, so select each track and move it to start after the previous one (the Align menu has an option to place tracks end to end). Export the project as one file. Audacity gives full control, including hand-drawn fades and per-track volume, but takes longer for many files.
ffmpeg, same format (lossless)
Create a text file list.txt:
file 'part1.mp3'
file 'part2.mp3'
file 'part3.mp3'
Then run:
ffmpeg -f concat -safe 0 -i list.txt -c copy joined.mp3
This copies the audio unchanged and is ideal for chunks from the same recorder.
ffmpeg, mixed formats or crossfade
# Different formats: decode, join, encode once
ffmpeg -i intro.wav -i talk.m4a -i outro.mp3 \
-filter_complex "[0:a][1:a][2:a]concat=n=3:v=0:a=1[out]" \
-map "[out]" -c:a libmp3lame -b:a 192k joined.mp3
# Two files with a 3-second crossfade
ffmpeg -i a.mp3 -i b.mp3 \
-filter_complex "[0:a][1:a]acrossfade=d=3[out]" \
-map "[out]" -c:a libmp3lame -b:a 192k joined.mp3
The same ideas apply to video; see how to join video clips into one file and the Merge Videos tool.
Tips and troubleshooting
Get the order right before merging
Rename files with number prefixes (01-intro.mp3, 02-interview.mp3) so they sort correctly in any file picker. Recorders that split files usually number them already.
Trim silence first
Long gaps at the start or end of each piece add up. Cut them with the Audio Cutter before joining.
One part is still much quieter
Loudness normalisation matches average loudness, not every moment. If a speaker was far from the microphone, raise that file on its own with the Volume Booster first.
The merged file is too big
WAV and FLAC outputs grow quickly. For speech, MP3 at 128 kbps or Opus at 64 kbps is plenty; for music, 192 kbps MP3 or M4A.
Frequently asked questions
Can I merge MP3 files without losing quality?
Yes, if they share the same codec and settings: the ffmpeg concat method with -c copy joins them losslessly. Tools that add crossfades or accept mixed formats must re-encode once.
Can I join an MP3 with a WAV or M4A file?
Yes. A re-encoding joiner decodes each format, converts them to one sample rate and channel layout, and writes a single output file.
Why is my merged file shorter than the parts added together?
A crossfade overlaps neighbouring files. Each overlap removes its length from the total.
What does "even out loudness" do?
It measures each file's perceived loudness and adjusts it to about −16 LUFS before joining, so quiet and loud recordings sit at a similar level.
Is there a limit on the number of files?
There is no fixed count. The practical limit is memory, because every file is loaded into the browser at the same time.