MP3 Compressor

Published Updated

Choose a bitrate, channel mix and sample rate, then compress your MP3 file and preview the result before downloading — free, private, and processed entirely in your browser.

The bitrate decides the size

This compressor re-encodes the MP3 at the constant bitrate you pick, from 64 to 192 kbps, with the lamejs encoder. A constant-bitrate MP3 spends the same number of bits on every second, so the new size is close to bitrate x length: 128 kbps is 960,000 bytes a minute. The saving therefore depends on how your file's bitrate compares with the one you choose.

Mono and a lower sample rate are extras. On their own they do not make an MP3 smaller; see the table below for what they change.

One minute of audio at each bitrate

Measured with the tool's own encoder code on a 60-second synthetic test signal, 44,100 Hz stereo in:

BitrateStereo outputSample rate writtenMono output
64 kbpsabout 480,000 bytes24,000 Hzabout 480,000 bytes at 44,100 Hz
96 kbps720,576 bytes32,000 Hz720,353 bytes at 44,100 Hz
128 kbps (default)960,470 bytes44,100 Hz960,470 bytes
160 kbps1,200,588 bytes44,100 Hz1,200,588 bytes
192 kbps1,440,705 bytes44,100 Hz1,440,705 bytes

With the 22,050 Hz option, 192 kbps came out at 160 kbps (1,201,110 bytes); with 11,025 Hz every bitrate came out at 64 kbps. The automatic drop to 24,000 and 32,000 Hz for stereo is LAME's documented behaviour: its USAGE notes say it may resample on its own under extreme compression.

A 4-minute song: what each choice saves

Sizes are bitrate x 240 seconds:

Your fileAt 192 kbpsAt 128 kbpsAt 96 kbpsAt 64 kbps
320 kbps, 9.6 MB5.76 MB, 40% smaller3.84 MB, 60% smaller2.88 MB, 70% smaller1.92 MB, 80% smaller
256 kbps, 7.68 MB25% smaller50% smaller62.5% smaller75% smaller
192 kbps, 5.76 MBno saving33% smaller50% smaller67% smaller
128 kbps, 3.84 MB50% largerno saving25% smaller50% smaller

Every re-encode adds a little loss, even at the same bitrate, so compress once from the best copy you have.

Compressing an MP3

  1. Step 1

    Add an MP3

    The page decodes it and shows duration, channels and the sample rate it will work from.

  2. Step 2

    Pick a bitrate

    64, 96, 128 (default), 160 or 192 kbps. A line under the menu estimates the new size for your file; mono and sample rate are optional.

  3. Step 3

    Compress and compare

    The result card shows the bitrate and sample rate the encoder wrote, the new size, and whether the file shrank or grew.

Mono, sample rate and speech

Mono mixing averages the two channels (0.5 x left + 0.5 x right, per the Web Audio specification), so out-of-phase stereo can lose level. The 22,050 and 11,025 Hz options never go above the source rate. For a voice memo or lecture, 64 kbps mono is the smallest setting here; for music, 128 kbps or above is the safer choice. To trim silence first, try Remove Silence from Audio; for WAV files use WAV Compressor.

What the tool does to the file, in order

The browser decodes your MP3 to raw samples. If you chose mono, the channels are mixed down, and if you chose a lower sample rate the audio is resampled by the browser. The samples are converted to 16-bit integers and handed to the lamejs encoder in blocks of 1,152 samples, which is the size of one MP3 frame at 44,100 Hz. For stereo at 64 or 96 kbps the encoder can write a lower rate, such as 24,000 or 32,000 Hz, so the tool converts the samples to that rate itself before encoding. Only the encoder's frames are written to the new file.

That last point has a consequence. The Library of Congress describes MP3 metadata as a separate structure (ID3) beside the frames (Library of Congress, MP3 format description), and the tool writes only frames. In our test output the file began directly with a frame header, with no ID3 tag at either end and no Xing or Info frame in the first 600 bytes, so title, artist and cover art from the source are not carried over, and the encoder gives players no gapless-playback information.

Worked example: what one and three passes did to a test track

Two 30-second stereo test tracks were generated by a script, a tonal one with soft chords and a dense one with a noise bed and hi-hat bursts. The site's encoder wrote each at 192 kbps. That file was decoded with the macOS afconvert command (our stand-in for the browser's decoder) and then compressed at 160, 128 and 96 kbps, and three times in a row at 128 kbps, decoding after each pass. We then measured length, the frequency below which 99 percent of the signal energy lies, and how closely the waveform matched the decoded 192 kbps file after aligning the two.

StepFile sizeDecoded length99% of energy below (dense track)Waveform match, tonal / dense
192 kbps source720,979 B30.041 s15,106 Hzreference
Pass 1 at 160 kbps601,339 B30.067 s12,972 Hz22.6 dB / 15.1 dB
Pass 1 at 128 kbps481,071 B30.067 s12,927 Hz20.6 dB / 14.4 dB
Pass 1 at 96 kbps (written at 32,000 Hz)361,152 B30.096 s11,495 Hznot compared (other sample rate)
Pass 2 at 128 kbps481,489 B30.093 s12,996 Hz17.2 dB / 12.6 dB
Pass 3 at 128 kbps481,906 B30.119 s12,844 Hz14.9 dB / 11.4 dB

Three findings. First, each extra pass made the file about 26 milliseconds longer (30.067, 30.093, 30.119 s), because every re-encode adds a frame of delay that nothing removes, and it grew by 418 and 417 bytes. Second, the waveform match fell with each pass, 20.6 dB to 14.9 dB on the tonal track. That number compares waveforms, not what you hear, and noise-like material scores low on it, so use it only to see the direction. Third, the high end narrows as the bitrate falls, and more passes changed it only slightly in this test.

Limits seen in testing

  • Stereo at 64 kbps: the tool converts the sample rate itself before encoding. On a generated 12-second 44.1 kHz stereo test track, decoded offline with macOS afconvert, no half-second window of the left channel was silent (the first and last windows were skipped) and the levels stayed between 0.138 and 0.203 RMS against 0.182 for the source. This was one generated track, decoded with macOS afconvert only, and it is a level check on the decoded file, not a listening test. The tool reads back the header it wrote, which is why the result card shows the real sample rate.
  • The tool never reads your file's bitrate. A variable-bitrate file at an average of 128 kbps and a constant-bitrate file at 128 kbps are treated the same, so the way to know the saving is to compare the two sizes on the result card.
  • Output length is the decoded length plus the encoder delay, so a clip you cut to the second will come out a few hundredths of a second longer. LAME's own notes treat gapless encoding as a separate mode that this tool does not use (LAME USAGE).

MP3 compressor questions

Which bitrate should I choose?

One below your file's current bitrate, or there is nothing to gain. For a 320 or 256 kbps music file, 192 or 160 kbps cuts the size by a quarter to a half. For speech, 64 kbps in mono is the smallest setting here; LAME's own documentation uses a mono, low-bitrate setting for voice. To estimate the current bitrate, divide the file size in kilobits by the number of seconds it lasts.

Does switching to mono make my MP3 smaller?

No. At a given bitrate the size is the same: a one-minute test file at 128 kbps was 960,470 bytes in stereo and in mono. Mono spends all the bits on one channel instead, which can suit speech at low bitrates. At 64 kbps a mono file kept its 44,100 Hz sample rate while the stereo version was resampled to 24,000 Hz.

Why did my MP3 get bigger?

You chose a bitrate above the one the file already had, for example 192 kbps for a 128 kbps file. Size follows the bitrate, so the file grows, and the result card says so. Pick a lower bitrate.

Why does the result show 24000 Hz or 32000 Hz?

For stereo at 64 kbps the encoder lowers the sample rate to 24,000 Hz, and at 96 kbps to 32,000 Hz. LAME, the encoder lamejs is ported from, documents that it may resample on its own when the bitrate is low for the material. Mono at the same bitrates keeps the original rate.

Why was 192 kbps written as 160 or 64?

The sample rate caps the bitrate. At 22,050 Hz the encoder writes at most 160 kbps, and at 11,025 Hz every choice comes out at 64 kbps. The note under the bitrate menu warns you before you press Compress.

Is the sample rate I see the real rate of my file?

The one shown before compressing is the rate the browser decoded the file to, which follows your audio hardware and may be 48,000 Hz for a 44.1 kHz MP3. The one on the result card is read from the MP3 the tool wrote.

Will the title, artist and cover art survive?

No. The tool writes only the encoder's frames, with no ID3 tag, so tags from the source are not copied. Add them again in a tag editor if you need them.

What happens if I compress the same file again?

The file keeps its size at the same bitrate but gets slightly longer: three passes at 128 kbps grew a 30.041 s track to 30.119 s, and the waveform drifted further from the source each time.

Does a lower bitrate cut the high frequencies?

In our dense test track 99 percent of the energy lay below 15,106 Hz at 192 kbps, 12,927 Hz after re-encoding at 128 kbps and 11,495 Hz at 96 kbps. This is one synthetic track, so real music will differ.

Related guide

MP3, OGG, WAV: when to convert or compress audio. The guide shows what each MP3 bitrate removes from the top of the spectrum and a November 14, 2026 decoding check of the 64 kbps stereo setting before and after the encoder fix.

Related Tools