Why Do This in Your Browser?
Audio format conversion is one of the most common one-off file operations — and yet it's the use case cloud converters built their entire businesses around. CloudConvert, OnlineAudioConverter, Zamzar; the playbook is upload, queue, download, walk away while paying for the privilege. The underlying conversion takes seconds.
FFmpeg.wasm handles every common audio format natively. The browser version stream-copies when the source and target codecs match (FLAC → FLAC container change), which is instant; transcodes when they don't (FLAC → MP3), at roughly 30–50x real-time on a recent laptop. A 60-minute audiobook converts in 2–3 minutes.
How It Works
Pick a target format and a quality setting. Default, High and Maximum re-encode the audio; "Stream-copy if possible" first reads the source codec and copies the encoded audio unchanged only when it already matches the target (MP3 to MP3, AAC to M4A, FLAC to FLAC, PCM to WAV, Vorbis or Opus to OGG); anything else is converted at Default quality and the status line says so. Stream-copy preserves bit-exact audio (no quality loss whatsoever) and is the right choice for container changes (e.g., AAC inside MP4 → AAC inside M4A). Transcode is required when the codec changes (e.g., FLAC → MP3); the tool runs the source through the appropriate encoder with sensible default bitrates.
Format-specific defaults: MP3 (192 kbps constant bitrate by default; 256 kbps on High, 320 kbps on Maximum), WAV (16-bit PCM, archival), AAC (192 kbps in an M4A container), OGG (160kbps Vorbis), FLAC (lossless, smaller than WAV by ~50%), M4A (192kbps AAC). WAV is 16-bit on Default and High; Maximum keeps a 24-bit (or deeper) source at 24 bits. FLAC is always lossless and keeps the source bit depth.
Tip: If you also need to reduce file size, the Audio Compressor tool exposes finer bitrate controls. To extract audio from a video file first, use the Audio Extractor — it stream-copies when source codec is already AAC. For explicit sample-rate conversion separate from codec/container change (e.g., 44.1k → 48k for film delivery), the Audio Sample Rate Converter handles resampling.
Common Use Cases
Worked example: what each setting really writes
On October 12, 2026 we ran the tool's exact FFmpeg arguments on desktop FFmpeg 6.1 with a 24-bit, 48 kHz stereo WAV and an MP3 and a FLAC made from it, then read each output with ffprobe.
| Conversion | Setting | What came out |
|---|---|---|
| 24-bit WAV to WAV | any | Default and High: 16-bit PCM. Maximum: 24-bit PCM (16-bit on every setting before Oct 12, 2026) |
| 24-bit WAV to FLAC | any | 24-bit FLAC: lossless, nothing dropped |
| MP3 to WAV | Stream-copy | Real 16-bit PCM WAV (before Oct 12, 2026: a .wav file that still contained MP3 audio) |
| FLAC to OGG | Stream-copy | Converted to Vorbis (before: FLAC audio in an Ogg container) |
| MP3 to M4A | Stream-copy | Refused by FFmpeg, so re-encoded to AAC at 192 kbps |
| WAV to MP3 | Stream-copy | Refused by FFmpeg, so re-encoded to MP3 at 192 kbps |
- 24-bit sources: use Maximum for WAV, or FLAC. Maximum now writes 24-bit WAV from a 24-bit source (ffprobe: pcm_s24le); Default and High stay 16-bit, which is fine for listening. FLAC keeps the bit depth on every setting and is about half the size.
- Stream-copy now checks the codec first. It copies only when the source codec already matches the target, so MP3 to MP3 comes out bit-identical (audio checksum equal in our test) and MP3 to WAV becomes real PCM instead of a mislabeled file. Container changes such as AAC from .mp4 to .m4a are still instant.
- Re-encoding lossy to lossy costs quality. MP3 to AAC or OGG to MP3 decodes and encodes again. Convert from the original WAV or FLAC when you have it.
Sources
Checked on .
See also: After converting an audio file, the Audio Waveform Generator produces a shareable waveform visualisation of the result.