Why Do This in Your Browser?
Most audio compression questions are size-driven: a podcast episode that's 200MB needs to fit a hosting plan's bitrate budget; an audiobook chapter sits at twice the size it should be because the original was recorded uncompressed; a voice memo needs to ship under a 25MB email cap. The compression math is decades old, and every desktop audio tool wraps the same encoders this browser tool does — LAME for MP3, FAAC for AAC, Opus for Opus.
FFmpeg.wasm bundles all three encoders. The tool uses the same encoders as desktop FFmpeg at the bitrate you choose, locally, without uploads. Pick a target — typical voice content lands at 64–96kbps mono in Opus or 96–128kbps stereo MP3 — and the compression runs in seconds for typical files.
How It Works
Three output formats with sensible defaults. MP3 (LAME via FFmpeg): bitrate-based, encoded at a fixed (constant) bitrate you choose. AAC: similar bitrate range, slightly more efficient than MP3 at low bitrates, defaults to MP4 container. Opus: most efficient at low bitrates (32–96kbps for voice), defaults to OGG container. Pick one of six presets, or Custom to choose the format, bitrate and mono or stereo yourself.
Presets handle the common cases: Podcast Voice (64kbps mono Opus), Podcast Music (128kbps stereo MP3), Audiobook (96kbps mono MP3), Music Stream (192kbps stereo MP3), Hi-Quality (320kbps stereo MP3), Voice Memo (32kbps mono Opus). Custom mode exposes the underlying knobs.
Tip: If you need to extract audio from a video first, the Audio Extractor tool pulls the audio track without re-encoding when possible. For format conversion without a bitrate change, use the Audio Converter instead.
Common Use Cases
Worked example: one minute of audio through every preset
On October 12, 2026 we ran the tool's exact FFmpeg arguments for each preset on desktop FFmpeg 6.1, using a 60-second 44.1 kHz stereo WAV test signal (10.6 MB).
| Preset | Output | Size for 60 s | Share of the WAV |
|---|---|---|---|
| Voice Memo | Opus, 32 kbps target, mono, 48 kHz | 221 KB | 2% |
| Podcast Voice | Opus, 64 kbps target, mono, 48 kHz | 447 KB | 4% |
| Audiobook | MP3 96 kbps, mono | 721 KB | 7% |
| Podcast Music | MP3 128 kbps, stereo | 961 KB | 9% |
| Music Stream | MP3 192 kbps, stereo | 1.44 MB | 14% |
| Hi-Quality | MP3 320 kbps, stereo | 2.40 MB | 23% |
| Custom AAC 128 kbps stereo | AAC in .m4a | 973 KB | 9% |
- MP3 sizes are exact; Opus sizes vary. MP3 is written at a constant bitrate, so size is bitrate × duration (128 kbps is 960 KB a minute for any audio). Opus uses a variable bitrate around its target, so speech with pauses can come out smaller than the table.
- Mono halves the cost. For a single voice, the mono presets lose nothing you can hear from a centred mic, which is why Audiobook (96 kbps mono) is smaller than Podcast Music (128 kbps stereo).
- Compressing an MP3 to a higher bitrate is refused. We encoded the test signal to a 128 kbps MP3 (961 KB) and ran it through Music Stream: the result (1.44 MB) was bigger, so the tool stops with a message instead of handing you a larger, no-better file. Pick a preset below your source's bitrate.
- Stereo Opus in Custom uses a different encoder. Mono Opus uses libopus; stereo Opus uses FFmpeg's built-in Opus encoder, which FFmpeg marks as experimental (it needs the -strict -2 flag). For stereo music at small sizes, AAC at 128 kbps is the safer pick here.
Sources
Checked on .