Skip to content
Aback Audio

Compress Audio to Size

Choose a target size from 1 MB to 25 MB and the tool calculates the bitrate, then compresses the audio locally so it fits your limit. No upload.

About the Compress Audio to Size

Sometimes the requirement is not a bitrate but a maximum number of megabytes: a Discord upload cap, a Gmail attachment limit, a form that accepts 10 MB and nothing more. This tool turns that limit into an encoder setting. Enter the target size, and it divides the available bytes by the audio duration, leaves a margin for container overhead, and picks the highest supported bitrate that fits.

One tap presets cover 1 MB, 5 MB, 10 MB, 16 MB, 20 MB for Discord's free tier and 25 MB for Gmail, and you can type any value from 0.1 MB to 2000 MB. Fixed pages for the most common limits open with the size already chosen: 1 MB, 5 MB, 10 MB and 16 MB. The Allow mono when needed toggle is on by default: at very low bitrates mono sounds clearer than stereo at the same size. Output starts as MP3 for compatibility, with M4A and Opus available when you want better quality per megabyte.

The tool explains its decision on the page: it shows the bitrate it chose and tells you if it switched to mono or lowered the sample rate. After Compress to size, you get the actual output size to check against your limit, plus a preview and download. If the target is too small even at the lowest sensible bitrate, it tells you the smallest practical size and suggests trimming the audio with the Audio Trimmer first.

Why Use the Compress Audio to Size?

Size first, bitrate second

The tool calculates a byte budget from the target, reserves about 3.5 percent for headers and tags, and selects the highest bitrate from the encoder's list that fits. Mono and a lower sample rate are used only when the budget demands them.

Presets for common limits

Pick 1 MB, 5 MB, 10 MB, 16 MB, 20 MB or 25 MB, or enter your own number. The hints name services whose published limits match: Discord's free tier at 20 MB and Gmail at 25 MB.

Three practical codecs

MP3 is the default because it plays almost everywhere. M4A with AAC and Opus sound better at the same size; Opus needs a browser with WebCodecs audio encoding and is disabled where it is unavailable.

Honest feedback

The summary states the chosen bitrate and any mono or sample-rate change. If the target cannot be met, an error gives an approximate minimum size instead of silently producing a file that is too large.

Processed locally in your browser

Your audio is decoded, processed and encoded on your own device in a background Web Worker. Aback Audio does not upload the audio for this operation.

Free, no sign-up, no watermark

Every tool is free with no account, no watermark and no daily limit. The only limit is your device's memory, and the tool warns you before anything risky.

Common Uses for the Compress Audio to Size

Discord uploads

Fit a clip or voice recording under the free upload limit, which Discord raised from 10 MB to 20 MB in August 2026, by choosing the 20 MB preset and checking the resulting size before posting.

Gmail and Outlook

Attach a long recording under a 20 to 25 MB cap. A ten minute file at 128 kbps is around 9.6 MB, so a 25 MB target leaves room for good quality.

WhatsApp

WhatsApp does not publish a separate audio limit, but 16 MB, its long-standing media cap, is a practical target that sends quickly and plays inline. Use the 16 MB preset or the 16 MB page.

Forms and portals

Meet a university or job portal upload cap without guessing bitrates. Enter the exact limit shown on the form.

Contest entries

Comply with a submission size rule while keeping as much quality as the allowance permits.

Slow networks

Guarantee a compact download for listeners on mobile data by choosing a smaller target than the source file.

Video soundtracks

Drop an MP4 or MOV and compress only its audio track to the required size, leaving the video behind.

How the Compress Audio to Size Works

How to use it

  1. 1Drop the audio or video file you need to send onto the drop zone.
  2. 2Choose a target such as 10 MB, or type your own limit in the number field.
  3. 3Decide whether to keep Allow mono when needed enabled, and choose M4A or Opus in Advanced settings if you want a different codec.
  4. 4Press Compress to size and watch the progress messages.
  5. 5Read the final size, play the preview and download the file, or press Start over to try a different target.

The calculation

The budget is target size in bytes times eight, divided by duration, with a 0.965 factor to leave headroom. For a 10 MB target and a ten minute recording that is about 128 kbps of raw budget; after the reserve, the tool selects 112 kbps, the highest listed rate below the budget. A 5 MB target for the same audio selects a lower step.

Why the margin matters

Headers, tags and cover art occupy space that the simple bitrate formula does not count. Reserving roughly 3.5 percent keeps the encoded result at or below the limit in normal use. Large embedded artwork can still use a noticeable share, so check the reported size before sending.

Mono and sample-rate fallbacks

If the budget is below 64 kbps for MP3 or M4A, or below 32 kbps for Opus, the tool switches to mono when allowed, because one channel sounds clearer at a tiny bitrate. MP3 at 24 kbps or less is encoded at 16 kHz, at 48 kbps or less at 22.05 kHz, and M4A at 32 kbps or less at 22.05 kHz. Opus stays at 48 kHz.

When a target is impossible

The encoder lists start at 8 kbps for MP3 and Opus and 16 kbps for M4A. If even the lowest rate cannot fit, the tool reports an approximate minimum size for that duration rather than producing a broken file. Trimming with the Audio Cutter is usually the practical fix.

Privacy, security and availability

Files are opened with the browser's file APIs and processed in a background Web Worker on your device; the page has no upload endpoint and makes no network requests with your audio. Results are created as local files you download. Temporary data is released when you press Start over or close the tab.

Tips for Better Results

  • Use the nearest preset

    The preset buttons match common limits, so start there and only type a custom value when the platform uses an unusual cap.

  • Keep mono for speech

    Allow mono when needed is on for a reason: a single voice at a low bitrate is much clearer in mono than a thin stereo encode.

  • Try M4A or Opus

    At the same byte budget, AAC and Opus usually beat MP3. Use them when you know the recipient's player supports the format.

  • Trim first

    Removing a long silent intro lowers the required bitrate for the same target, which improves quality across the part people actually hear.

  • Check the final number

    The result panel shows the real output size. Compare it with the limit displayed by the destination before uploading.

Limitations

  • Very small targets force low bitrates, mono and lower sample rates. Quality drops noticeably below roughly 32 kbps for music and below about 8 kbps for speech.
  • The calculation uses constant bitrate encoding with a safety margin; it is not a formal guarantee for every container and tag combination. Always check the size shown in the result panel.
  • Opus encoding needs WebCodecs support, and the whole file is decoded in memory, so very long recordings can be refused with a memory warning.

Frequently Asked Questions

Is the result guaranteed to fit?

The chosen bitrate is at or below the calculated budget and a margin is reserved for overhead, so normal results fit. Check the reported output size; if your target is unusually tight, choose a smaller value.

Why did it switch to mono?

When the budget is below 64 kbps for MP3 or M4A, or 32 kbps for Opus, mono at the same size sounds clearer than stereo. Turn off Allow mono when needed if you must keep two channels.

What if my target is too small?

The tool reports an approximate minimum size for the duration and suggests a larger target. Cutting the file with the Audio Trimmer also makes a small target practical.

Which format is used?

MP3 by default for compatibility. Choose M4A or Opus in Advanced settings for better quality at the same size, provided the player supports them.

Can I enter a size that is not a preset?

Yes. The number field accepts any value from 0.1 MB to 2000 MB in steps of 0.1 MB.

Does it pad the file to reach the target?

No. It picks the highest bitrate that stays within the budget; the result is usually somewhat below the limit rather than exactly equal to it.

Are tags kept?

Common metadata is written to MP3, M4A and Opus output where the format supports it. Large cover art uses part of your byte budget, so remove it first if the target is tight.

Can I use a video file?

Yes. The tool reads the primary audio track from MP4, MOV, WebM and MKV files and writes an audio-only result sized to your target.

How is this different from the Audio Compressor?

The Audio Compressor starts from a preset or bitrate and tells you the size. This tool starts from the size limit and works backwards to the bitrate.

Is the Compress Audio to Size free?

Yes. It is free to use with no sign-up, no watermark and no usage limits.

Is my audio uploaded to a server?

No. Aback Audio is a static website: files are read and processed by your browser, on your device, using Web Audio, Web Workers and WebAssembly codecs. There is no upload endpoint.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox and Safari on desktop and mobile. Opus encoding needs a browser with WebCodecs audio encoding; every other format works everywhere.