Skip to main content

Audio compressor

Compress an audio file locally to MP3, M4A, OGG or Opus with a suitable bitrate, without uploading it to a server.

  • Batch processing
  • Export
Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Audio fileDrop an audio file here or choose an option below.

Start your audio project

Drop an audio file here or choose an option below.

Was this tool useful?

How does this tool work?

Compress an audio file by choosing an output format and bitrate to reduce file size. The tool re-encodes media locally with FFmpeg/WASM without uploading the audio content to Bethemesh.

Choose MP3, M4A, OGG or Opus, then a bitrate from 32 to 320 kbps. FFmpeg/WASM re-encodes the track with the corresponding codec. A lower bitrate usually means a smaller file but also more audible loss; re-encoding an already compressed file can never restore information that was removed earlier. The initial setting is MP3 at 128 kbit/s. Compression here means reducing encoded data, not adjusting a dynamics compressor’s threshold, ratio or attack. The engine accepts 32–320 kbit/s and rounds decimal bitrate requests to an integer. Some codec and source sample-rate combinations may still be unsupported. Re-encoding an already small file can make it bigger. Compare actual bytes and listen to the result instead of assuming that a compression action always saves space. For Opus, processing uses the native CELT encoder at the requested bitrate. It avoids a libopus memory failure in the current core and does not offer SILK speech mode.

How to use this tool

  1. Import the file

    Choose a supported audio file.

  2. Choose format and bitrate

    Select the target codec and a bitrate suited to the intended use.

  3. Compare the result

    Download the compressed copy and keep the original when quality must remain recoverable.

Audio compressor — Calculation reference

S ≈ 1000 × R × t / 8

S
Estimated bytes, excluding tags and container
R
Bitrate in decimal kbit/s
t
Duration in seconds

Use cases

Shrink a podcast

Reduce an episode’s file size before publishing or transferring it without changing its duration.

Prepare a mobile copy

Create a lighter version for a device or limited connection.

Standardize a batch

Apply the same format and bitrate to multiple files in Workspace.

Examples

Five minutes at 128 kbit/s

128,000 × 300 ÷ 8. Container overhead, tags and variable bitrate can change the actual size.

Input

300 s, requested bitrate 128 kbit/s

Result

About 4,800,000 bytes, or 4.8 decimal MB

The same programme at 64 kbit/s

The estimate halves. This does not mean half the audible quality or guaranteed support for every codec/source combination.

Input

300 s, requested bitrate 64 kbit/s

Result

About 2,400,000 bytes

Tips and best practices

  • Avoid repeated re-encoding between lossy formats because every pass can degrade the signal further.
  • For lossless storage, use FLAC through the general converter instead of MP3, M4A, OGG or Opus compression.
  • Speech often tolerates a lower bitrate than dense music, but the right value still depends on the source and listening context.

Sources and references

Frequently asked questions

Does compression always reduce quality?

The formats offered here use lossy compression, so aggressively lowering the bitrate can remove more audio information.

Can I compress a file that is already MP3?

Yes, but it is decoded and re-encoded, which can reduce size at the cost of another generation of quality loss.

Is the file uploaded?

No. Media stays in the browser; only the FFmpeg/WASM runtime is loaded on demand.

Why is the compressed file larger than my original?

A target bitrate above the source bitrate can increase size without recovering lost detail. Compare the downloaded size and audible quality.

Does this compressor reduce differences between quiet and loud words?

No. It selects an encoding format and bitrate. Use loudness normalization for overall perceived level; this tool has no dynamics-compressor controls.

Related tools

Tools similar or complementary to this one.

Similar tools

Convert audio files locally to MP3, WAV, FLAC, OGG, M4A or Opus.

AudioFeaturedUse this tool

Keep only the useful part of an audio file.

AudioFeaturedUse this tool
GuideBest practicesIntermediate

Normalize audio volume: peak, RMS and LUFS

Understand peak level, RMS and LUFS, when normalization is useful, and how to make several audio files sound more consistent.

30 August 20262 min