Compress Audio
Compress audio in your browser: choose one file up to 50 MB, set the output format and the bitrate, and save a re-encoded copy. Lowering the bitrate is what shrinks an MP3 or M4A, and nothing is uploaded. The result can also come out larger — our 64 kb/s test sample doubled in size at the default 128 kbps — and it can't be played on the page.
How to use
- Choose one audio file: Drop an audio file onto the box or click to pick it — one file per run, up to 50 MB. Drop several at once and the whole batch is refused with a count, so add a single file. While a file is selected the drop box is gone: remove it with ✕ before choosing another.
- Pick the output format: MP3 (widely supported) is the default. M4A (phone-friendly) is the other format that accepts a bitrate; WAV (uncompressed, larger), OGG and FLAC (lossless) ignore the bitrate box entirely, and the page says so under it when you choose one of them.
- Set the bitrate, and the sample rate or channels if you need them: Bitrate is in kbps. An empty, unreadable or zero value uses 128 kbps; other values are rounded and clamped to 32–320 kbps. 64–96 kbps suits speech, 128–192 kbps suits music. Sample rate and Channels default to keeping whatever the source has, which passes no resampling argument at all.
- Compress and save the result: Press Compress audio. The first run shows "Getting the engine ready…" while about 31 MB of processing engine is fetched, then a percentage. Read the size line and the notes, then press Download — Save to device on a phone — to get your file name with -compressed added.
How to compress audio in your browser
Compress audio online free: pick one audio file up to 50 MB, choose an output format and a target bitrate, and the page writes a re-encoded copy on your own device. The engine is ffmpeg.wasm — FFmpeg compiled to WebAssembly — fetched with the page rather than run on a server, which is how you compress audio without uploading it. Processing stays in your browser; if it fails, the tool shows an error instead of uploading your file. Closing the tab clears the page's working data.
One file per run. Drop several at once and none of them is added — you get a note with the number that was refused, rather than one file being handled silently. Only audio can be picked: the file chooser offers audio types, and a dropped video is skipped with a note at that step. Once a file is selected the drop box disappears, so swapping files means pressing ✕ on the row first. The four settings survive that swap, which is useful when you are putting a batch of recordings through one at a time.
Two things happen around the button. Choosing a file quietly starts fetching about 31 MB of processing engine in the background, so the cold start overlaps with the time you spend setting the bitrate. And the page needs multi-threaded processing — SharedArrayBuffer, which browsers only grant to a cross-origin isolated page — because this route always encodes. That check runs the moment you press Compress audio, before anything is downloaded, so a browser without it fails instantly rather than after a 31 MB wait.
The result replaces the form with one size line — the size before, the size after and the rounded change — followed by notes describing the run: which encoder and bitrate were used, whether the sample rate or channel count was changed, and what was dropped. Your download is named after the source with -compressed and the new extension, so interview.m4a compressed to MP3 becomes interview-compressed.mp3.
Only audio files can be picked here, so a video's sound has to come out first: Extract Audio from Video copies the track out without re-encoding it.
Which setting actually makes the file smaller
The bitrate box is the lever, and it only reaches two of the five formats. MP3 and M4A are written with a target bitrate, and their size is roughly the bitrate times the length, so to reduce MP3 file size you lower that number. The other three formats get no bitrate argument at all: WAV is uncompressed PCM, FLAC is lossless compression, and OGG is encoded at a fixed quality step. Choose one of those three and a line appears under the box telling you the number won't be used, and the result notes repeat it afterwards.
With our 4-second, 64 kb/s sample of 32,391 bytes, the same file came out at 16,526 bytes at 32 kbps, 32,852 at 64, 65,662 at 128 and 164,092 at 320 — close to the ratio of the bitrates, which is what a constant target bitrate does. Those figures come from a desktop run of FFmpeg 9.0.2 using the arguments this page builds, not from the browser, so read them as the direction and the order of magnitude rather than numbers to expect from your own file.
Sample rate and Channels are not size controls, whatever the usual advice says. For MP3 and M4A at a fixed bitrate, the encoder spends the same budget per second however many channels it is given: in our stereo sample at 128 kbps, mono came out at 65,662 bytes — the identical size — while the same source as M4A went from 65,990 to 61,384 bytes, about 7% smaller. Those are two single measurements, not a ratio to expect elsewhere. What mono and a lower sample rate reliably do is make a low bitrate sound cleaner, by giving the encoder less to describe, so they belong next to a bitrate cut rather than instead of one.
For WAV and FLAC it works the other way round, because they have no bitrate to spend. A PCM WAV's audio data follows sample rate × bit depth × channels × length, so halving the channels roughly halves it: our stereo sample went from 714,318 to 357,198 bytes as WAV — 39 bytes more than exactly half, because the container header doesn't shrink with the audio. FLAC compresses the actual waveform, so asking for mono plus 22050 Hz took the same source from 454,870 bytes of stereo FLAC down to 125,785 — 0.28× — while how much any other recording saves depends on what is in it. We have no measurement for OGG, so there is nothing honest to quote for it.
| Format | Bitrate setting | Best use |
|---|---|---|
| MP3 | 32–320 kbps | Broad playback support |
| M4A | 32–320 kbps | AAC audio |
| WAV | Ignored | Uncompressed 16-bit PCM |
| OGG | Ignored | Vorbis at quality 5 |
| FLAC | Ignored | Lossless compression with unchanged audio settings |
Which of the five output formats reads the bitrate box, and what each one is for.
Why the compressed file can come out bigger
This page never compares your settings against the source file — it encodes exactly what you asked for. That is the single most surprising thing about it, and it is why the size line has two forms: one for a smaller result and one that says the result is larger by a percentage. A low-bitrate recording put through the default 128 kbps gains data per second: our 64 kb/s sample became 65,662 bytes against 32,391, or 2.03× the original. So the useful habit is to check what the source was encoded at, in your player or your file manager, before deciding what to type. The page cannot tell you — it reads the source's bitrate internally but doesn't display it.
Asking for WAV or FLAC on a lossy source grows it much more. The same 64 kb/s MP3 became 357,198 bytes as WAV (11.0×) and 218,761 bytes as FLAC (6.75×), because a lossy file has to be decoded to plain samples first and a lossless container then stores those samples faithfully. None of this is a rule about every file: the code only picks an encoder and guarantees no direction for the size, so a high-bitrate source, or one that was WAV or PCM to begin with, can land the other way — FLAC usually does shrink an uncompressed source.
One detail of the size line is worth knowing. The percentage is rounded, and a result that grew by less than about half a percent rounds to zero, which still reads as "0% smaller" rather than as an increase. If the headline says 0%, compare the two byte sizes it prints beside it instead of trusting the sign.
Re-encoding upward never recovers anything. A 64 kb/s recording asked for 320 kbps is five times the size with exactly the detail the first encoder already threw away. Neither WAV nor FLAC restores lost detail. WAV output is 16-bit PCM, so higher-bit-depth sources lose precision. Changing sample rate or channels also alters the audio. For smaller MP3 or M4A files, lower the bitrate; for WAV or FLAC, reducing channels or sample rate can reduce size.
What the compressed copy keeps and leaves behind
Every run re-encodes; there is no "it's already small enough, copy it through" shortcut. The arguments are identical whether the source is MP3, AAC, Opus, FLAC, PCM or Vorbis, and identical again when you ask for the format and bitrate the file already has. So MP3, M4A and OGG output loses a little more on top of whatever the source lost. FLAC output is a genuine lossless compression step when the source suits lossless storage and you leave Sample rate and Channels on their defaults — but it is not promised to be smaller. WAV output is uncompressed 16-bit PCM, so a 24-bit or floating-point source is reduced to 16 bits, which is why the option is labeled uncompressed rather than lossless. Changing the sample rate or the channel count alters the audio in WAV and FLAC too.
The whole recording travels. There is no start or end argument, so the full track is re-encoded from beginning to end and the length is unchanged, give or take the encoder's own frame alignment. Sample rate and channel count are untouched while both menus are left on their defaults, because then no resampling argument is passed and FFmpeg follows the source as far as the chosen encoder allows. Ordinary tags such as title and artist usually carry over, since FFmpeg copies global metadata by default; we have no browser measurement of exactly which tags land in which container, so treat that as the normal case rather than a guarantee.
Three things go on purpose. Location (GPS) metadata is cleared — nine location keys are written empty on every tool on this site — and the original recording date is not written into the output, so a media library may file the copy under today's date. The third is the picture track, dropped in one piece: that only shows up if a video ever gets this far, since videos are filtered out when you choose the file, and the notes flag it when it happens. Whether an embedded album cover survives we have not tested, so we won't claim either way.
The result can't be played here. Audio output gets a card with the file name, a note that the format can't be previewed on the page, and a save button, so plan on listening in your own player — worth doing before you delete the original, especially after a big bitrate cut. On a phone that button opens the system share sheet when the browser offers file sharing and simply downloads the file when it doesn't; cancelling the share sheet leaves everything as it was, without starting a download.
Limits, messages and what this page won't do
The boundaries, in one list. One file per run, 50 MB maximum, audio only. An empty, unreadable or zero value uses 128 kbps. Other values are rounded and clamped to 32–320 kbps, so 16 kbps is not reachable. Sample rate offers four steps — 22050, 32000, 44100 and 48000 Hz — with no free-text field, and they are target rates rather than directions: pick one above your source and the audio is upsampled, which costs size in WAV or FLAC and buys no quality anywhere.
There is no target-size mode. You cannot ask for "under 5 MB" and have the page work out the settings; to make an audio file smaller for email or a chat app with a hard limit, lower the bitrate, run it, read the size line, and try a lower number if it is still too big. There is also no variable-bitrate or quality mode, no loudness normalization or volume control, no fade, no speed change, and no way to compress only part of the recording — the whole track is re-encoded every time.
What the messages mean. "This file can't be read" comes from the inspection pass finding no streams at all, which is what happens to a damaged file or to something that isn't audio. "No audio track was found" means the file was read but held no sound, so there is nothing to compress. Anything else lands on the general failure line, which also covers 75 seconds with no engine activity and an engine load that passes 180 seconds; nothing is uploaded in any of those cases. Cancel is offered while a run is in progress and returns you to the form with no error line — work already in flight may take a moment to stop, and a core still loading isn't guaranteed to be killed by that cancel, but its result is discarded either way.
Running the same file again at a different bitrate takes one extra step. A successful run replaces the whole form with the result, so there are no boxes left to edit: press Start over, choose the file again, and type the new number. The four settings are kept when the file changes, so only the one you want to change needs touching. After an error the form stays put, and changing any setting clears the message so the screen never describes a run that is no longer there.
And the jobs for other pages. This one won't compress a video: the picture would be dropped, and video files are filtered out when you choose the file. It won't shorten a recording, and it won't batch several files. It also won't run in a browser without SharedArrayBuffer, where availability depends on the browser and its privacy settings — a private window or an in-app browser often withholds it.
Cutting the recording shorter is usually the bigger saving, and it is a different page: Trim Audio keeps one span between two seconds.
How this tool is checked
- The logic behind this tool is covered by 16 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
- Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
- Your files are processed in your browser and are never uploaded to our server.
- Formulas, figures and definitions are checked against the sources listed at the end of this page.
Frequently asked questions
- Is my audio file uploaded to a server?
- No. The compression runs inside your browser with ffmpeg.wasm, and the code has no server step — the list of tools allowed to fall back to a server is empty and the fallback function only raises an error. That is also why a file too heavy for your device fails with a message instead of being handed off somewhere.
- Why is my compressed audio file bigger than the original?
- Because the page encodes what you asked for without comparing it to the source. A 64 kb/s recording asked for the default 128 kbps roughly doubles: our sample went from 32,391 to 65,662 bytes. Check the source's bitrate in your player first, then type something below it.
- Which bitrate should I pick to reduce MP3 file size?
- Start at 64–96 kbps for speech and 128–192 kbps for music, and only go lower if a size limit forces it. An empty, unreadable or zero value uses 128 kbps; other values are rounded and clamped to 32–320 kbps. Since size follows the bitrate roughly in proportion, halving the number roughly halves the file.
- Does switching to mono make the file smaller?
- Not reliably for MP3 or M4A. At a fixed bitrate the encoder spends the same budget either way: in our stereo sample at 128 kbps the mono MP3 was byte-for-byte the same size, while the M4A came out about 7% smaller — one measurement, not a ratio to count on. For WAV it does roughly halve the audio data, and FLAC usually shrinks by an amount that depends on the recording. Mono's dependable use is making a low bitrate sound cleaner alongside a bitrate cut.
- Can I compress audio to a specific size, like under 5 MB?
- No. There is no target-size setting. You choose the output format, bitrate, sample rate and channels; bitrate applies only to MP3 and M4A. Lower the bitrate, run it, read the size line, and go lower if you are still over the limit. Trimming the recording shorter is often the faster way under a hard cap.
- Can I compress a WAV or FLAC without losing quality?
- Choose FLAC and leave Sample rate and Channels on their defaults — that is a true lossless compression step, though it isn't promised to make the file smaller. WAV output is uncompressed 16-bit PCM, so a 24-bit or floating-point source is reduced to 16 bits. Neither format restores detail a lossy source already lost, and on a low-bitrate MP3 both come out far bigger: our 64 kb/s sample grew 11.0× as WAV and 6.75× as FLAC.
- Can I compress the sound from a video file here?
- Not directly — only audio files can be chosen, and a dropped video is skipped with a note. Export the sound to an audio file first, then compress that. If a video ever does get through, the picture track is dropped and you get a plain audio file.
- Can I listen to the result before saving it?
- Not on this page. Audio results get a card with the file name and a save button rather than a player, so save the file and open it in your own player. There is no player for the source file on this page either.
Related tools
Cite this tool
Using a result in a report, paper or assignment? Copy a ready-made reference.
Gingertool. (2026). Compress Audio [Online tool]. Retrieved November 30, 2026, from https://gingertool.com/en/video/compress-audio/
“Compress Audio.” Gingertool, November 30, 2026, https://gingertool.com/en/video/compress-audio/. Accessed November 30, 2026.
@misc{gingertool-compress-audio,
author = {{Gingertool}},
title = {Compress Audio},
year = {2026},
url = {https://gingertool.com/en/video/compress-audio/},
note = {Accessed: 2026-11-30}
}