Compress Audio
Re-encode audio at a lower bitrate, or down towards a size limit you have been handed.
What this tool does
Compress Audio decodes your file in the browser, optionally reworks its channels and sample rate, then re-encodes it as a constant-bitrate MP3 with the LAME encoder this site serves alongside the page. Nothing is uploaded and nothing is queued on a server — the tab you already have open reads the file from disk and writes the result back. Whatever goes in, an MP3 comes out, named after the original with -compressed on the end.
Two routes lead to a smaller MP3. Choose a bitrate and you are picking a rung on a fixed ladder — 64, 96, 128, 160, 192, 256 or 320 kbps, with 128 as the default — and the size follows from it. Name a maximum file size instead and the bitrate becomes arithmetic rather than a search: a constant-bitrate MP3 is bitrate multiplied by duration, so the budget is divided by the length of the audio and the highest rung that fits underneath is taken. Because it is a ladder rather than a dial, you land under your figure rather than exactly on it.
Two further settings act before the encoder does, and it is worth knowing what they do not do. Mix down to mono folds the channels together; the sample rate list moves the file to 44.1, 32, 22.05 or 16 kHz. Neither makes the output smaller on its own, because a constant-bitrate MP3 weighs bitrate multiplied by duration whatever is handed to it — a mono 16 kHz file at 128 kbps comes out the same size as the stereo original at 128 kbps. What the two buy is room: half as much signal, or a narrower band of it, described by the same number of bits, so a spoken recording still holds together on a rung that would ruin music. The lower rung is where the saving actually happens. Rates the encoder does not support are snapped to the nearest one it does, and anything carrying more than two channels is folded to stereo first, because MP3 has nowhere to put the rest.
The limits are worth reading before you start. This is lossy encoding applied to whatever you feed it, so compressing an MP3 again decodes the damage the first encoder did and adds its own; keep the original if there is any chance you will need it. Asking for a higher bitrate than the source was written at recovers nothing and produces a larger file, and the summary says so when that happens. Picking 22.05 or 16 kHz drops the encoder into MPEG-2, where it stops at 160 kbps: pair one of those rates with 192, 256 or 320 and the file comes out at roughly 160 kbps while the details still report the rung you clicked. ID3 tags and cover art are not carried across, because the encoder writes audio frames and nothing else. And the whole file is decoded into memory as floating-point samples, so an hour-long recording will make a modest machine work for it.
How to use it
- Add your audio. MP3, WAV, M4A, AAC, FLAC and OGG are read, as far as your browser's own decoder goes. Queue several files and each is compressed on its own with the same settings.
- Choose which figure you are working to. A bitrate, when how it sounds is the thing that matters, or a maximum file size, when a form or a mail server has given you a number the file has to fit under.
- Set the figure. On the bitrate route, 128 kbps is the default and 64 kbps is the speech setting. On the size route, type the number, pick KB or MB, and the bitrate is worked out from the length of the audio.
- Fold to mono or lower the sample rate for speech. Neither shrinks a constant-bitrate file by itself. What they do is let a voice survive the 64 kbps rung, and it is that rung that shrinks it. Both are the wrong move for music.
- Download the result. The summary gives the old and new sizes with the percentage saved, alongside the bitrate, sample rate and channel count used.
Processing & privacy
Runs on your device. Your file is processed directly in this browser.
Common use cases
Getting a podcast episode under an upload ceiling
Hosting platforms and submission forms state a figure in megabytes. Name it on the size route and a bitrate is chosen that fits an episode of that length underneath it.
Emailing an interview recording
Dictation apps and field recorders write uncompressed or high-bitrate files that a mail server will simply refuse. The 64 kbps rung turns an hour of talk into about 28 MB, and folding it to mono is what keeps that rung listenable.
Lightening audio on a web page
A background loop or a pronunciation sample does not need 320 kbps. Moving it to 96 or 128 kbps cuts what every visitor downloads without anyone noticing the difference.
Fitting a library onto an old player
Devices with fixed storage and a USB socket take MP3 and little else. Re-encoding at 160 or 192 kbps roughly halves a 320 kbps collection and still sounds right on the speakers such a device is plugged into.
Questions
Does any of this audio leave my computer?
Can I keep the original format?
Will it hit the exact size I asked for?
How much quality does the re-encode cost?
What happens to the title, artist and cover art?
Why did my file get bigger instead of smaller?
Which audio formats will it open?
Can I compress a whole folder at once?
Related tools
- Video to MP3 — Extract the audio track from a video.
- Convert Audio — Convert between MP3, WAV, AAC, FLAC and OGG.
- Trim Audio — Cut an audio file to a start and end point.
- Merge Audio — Join several audio files into one.
- Normalize Audio — Even out loudness across a file.
- Change Volume — Raise or lower the gain of a track.