Compress Audio Dynamic Range

Pick an audio file, set threshold, ratio, attack, release and make-up gain — it's compressed in your browser, nothing is uploaded.

Compressed audio

Compress audio dynamic range in your browser

Pick an audio file and set the four classic compressor controls — threshold, ratio, attack and release — plus optional make-up gain. The tool runs ffmpeg's acompressor filter entirely in your browser to pull loud and quiet passages closer together, so the audio sits at a steadier, more consistent level. Nothing is uploaded, so it's safe for unreleased tracks and private recordings.

This is dynamics compression (evening out the level), not file-size compression — to make a file smaller pick a lower bitrate with the audio-compress tool instead.

Worked example

A voice-over narration.wav where some lines jump out and others disappear: upload it, set Threshold to -24, Ratio to 4, Attack to 10, Release to 150 and Make-up gain to 6. The result narration-compressed.mp3 holds a tight, even level — the quiet lines come forward, the loud ones stop spiking, and the 6 dB make-up gain brings the whole thing back up to a comfortable volume.

What each control does

Starting points

Limits and edge cases

FAQ

What's the difference between this and the "audio compress" tool?

They do different things. This audio compressor does dynamic-range compression — it evens out the loud and quiet parts so the level stays steady, using threshold/ratio/attack/release. The separate audio-compress tool does file-size compression — it re-encodes at a lower bitrate to make the file smaller. Reach for this one to control loudness, and audio-compress to shrink a file.

What threshold and ratio should I start with?

For speech and podcasts, threshold -24 dB with ratio 4:1 gives a firm, even level; add 46 dB of make-up gain to bring it back up. For gentle "glue" on music, use a higher threshold (-18) and a lower ratio (23). To only catch the loudest peaks, raise the threshold toward -10 and the ratio to 8+.

Why does my compressed audio sound quieter?

Compression turns the loud parts down, so the overall level often drops — that's what make-up gain is for. Add a few dB (start with 36) to restore the loudness the compressor pulled down. With enough make-up gain the result can end up louder and more even than the original.

What do attack and release actually change?

Attack is how quickly the compressor reacts once the signal crosses the threshold: a fast attack (5 ms) clamps sharp transients like plosives or drum hits, while a slower one (30+ ms) lets that initial punch through before compressing. Release is how quickly it stops compressing afterwards: short releases (60 ms) suit speech, longer ones (250+ ms) keep music smooth and avoid audible pumping.

Is my audio uploaded anywhere?

No. The page downloads an ffmpeg WebAssembly build once and then processes your file locally in the browser tab — the audio never leaves your device.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool audio-compressor 'url=https://example.com/input' 'threshold=-20' 'ratio=4' 'attack=20' 'release=250' 'makeup=0' 'format=mp3'

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/audio-compressor/?url=https://example.com/input&threshold=-20&ratio=4&attack=20&release=250&makeup=0&format=mp3

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.