Audio Format Converter
Convert MP3, WAV, M4A, FLAC, OGG, Opus or WebM audio to MP3, M4A (AAC), Opus, WebM or WAV in your browser, with bitrate control and a clear note on which conversions lose quality. Files are never uploaded.
Drop an audio file here or click to choose one
MP3, WAV, M4A/AAC, FLAC, OGG, Opus, WebM, or the audio of an MP4/MOV/MKV video
Conversion runs in your browser with WebCodecs, the Web Audio API and, for MP3, a WebAssembly encoder. Files are never uploaded; only your format and bitrate choices are saved on this device.
Usage examples
Shrink a WAV recording before sending it
A 10-minute 16-bit/44.1 kHz stereo WAV is about 106 MB. Converted to M4A at 128 kbps it is roughly 9.6 MB, small enough for email or chat, with quality that is hard to tell apart for speech.
Make a browser recording play everywhere
Recordings made in web apps often come out as WebM with Opus audio. Convert them to MP3 or M4A (AAC) for apps, car stereos and older devices that don't open WebM.
Repackage Opus without quality loss
Converting a WebM (Opus) file to .opus, or back, keeps the same codec, so the tool copies the audio instead of re-encoding it. The result sounds identical and is ready in seconds.
Get a WAV for editing software
Some editors and samplers only import WAV. Convert an MP3 or M4A to 16-bit or 24-bit WAV; it won't sound better than the source, but it won't lose anything more while you edit.
Pull the soundtrack out of a video
Load an MP4, MOV, WebM or MKV video and convert it to M4A or WAV. Only the audio track is decoded and written, so the result is a plain audio file.
Quick reference
Audio file size per minute and per hour (1 MB = 1,000,000 bytes)
| Format | Bitrate | Per minute | Per hour |
|---|---|---|---|
| MP3 · AAC · Opus | 64 kbps | 0.48 MB | 28.8 MB |
| MP3 · AAC · Opus | 96 kbps | 0.72 MB | 43.2 MB |
| MP3 · AAC · Opus | 128 kbps | 0.96 MB | 57.6 MB |
| MP3 · AAC · Opus | 160 kbps | 1.20 MB | 72.0 MB |
| MP3 · AAC · Opus | 192 kbps | 1.44 MB | 86.4 MB |
| MP3 · AAC · Opus | 256 kbps | 1.92 MB | 115.2 MB |
| MP3 · AAC · Opus | 320 kbps | 2.40 MB | 144.0 MB |
| WAV 16-bit · 44.1 kHz · 2 ch | 1,411.2 kbps | 10.6 MB | 635.0 MB |
| WAV 16-bit · 48 kHz · 2 ch | 1,536 kbps | 11.5 MB | 691.2 MB |
| WAV 24-bit · 48 kHz · 2 ch | 2,304 kbps | 17.3 MB | 1,036.8 MB |
| WAV 24-bit · 96 kHz · 2 ch | 4,608 kbps | 34.6 MB | 2,073.6 MB |
Frequently asked questions
Are my files uploaded?
No. The file is read with mediabunny, decoded and encoded with your browser's WebCodecs API (or Web Audio as a fallback decoder), and MP3 is encoded by a WebAssembly encoder that also runs on your device. The result is built in memory; nothing is sent to a server, and only your chosen output format, bitrate and bit depth are saved in local storage.
Which conversions lose quality?
MP3, AAC, Opus and Vorbis are lossy; WAV (PCM) and FLAC are lossless. Converting to a lossy format always discards some detail, and converting lossy to lossy adds a second generation of loss. Converting a lossy file to WAV or FLAC loses nothing further but cannot restore what the first encoding removed. When the input and output use the same codec, the tool can copy the audio without any change.
Can I convert to MP3? What about FLAC?
Yes, MP3 works in every current browser. Browsers' built-in WebCodecs encoders don't include MP3, so the first time you convert to MP3 the tool loads a WebAssembly build of the LAME encoder (about 130 KB) and runs it in a background worker in your browser; your audio is still never uploaded. MP3 is written at a constant bitrate (CBR) from 128 to 320 kbps. FLAC encoding still depends on the browser and is not available in most of them. The line under the converter lists exactly what your browser can create.
Which bitrate should I choose?
For Opus, the Xiph.Org recommended settings describe 96–128 kbps stereo as the range for music storage, and 64 kbps is plenty for speech. AAC typically needs a little more for the same quality; Apple sells music as 256 kbps AAC. For MP3, 192 kbps is a common choice for music and 320 kbps is the highest bitrate the format allows. Choosing a bitrate higher than the source's doesn't add quality, it only makes the file bigger.
What does 'copy without re-encoding' do?
If the output format can hold the same codec as the input, for example Opus from a WebM file into an .opus file, the compressed audio packets are moved into the new container unchanged. This is lossless and much faster than re-encoding. Untick the option to force re-encoding, for example to lower the bitrate.
Why did the sample rate or channel count change?
Opus always works at 48 kHz, so Opus and WebM output is resampled to 48 kHz. AAC and MP3 keep 44.1 or 48 kHz and convert other rates to 48 kHz, and lossy outputs are limited to stereo. WAV keeps the source sample rate and every channel.
How is the estimated size calculated?
For lossy formats it is bitrate × duration ÷ 8, for example 128 kbps × 60 s ÷ 8 = 960,000 bytes per minute. For WAV it is sample rate × channels × bytes per sample × duration, plus a 44-byte header. Container overhead and variable-bitrate encoding make real files differ a little, and quiet or silent passages can come out noticeably smaller.