Categories

MP3 Compress

Compress an MP3 by re-encoding at a lower bitrate

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: audio/mpeg

Key Facts

Category
Media
Input Types
file, select, checkbox
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The MP3 Compress tool reduces the file size of your MP3 audio files by re-encoding them at a lower bitrate. This helps save storage space, speed up file transfers, and optimize audio for online use while maintaining acceptable quality.

When to Use

  • When you need to shrink MP3 files for easier sharing via email or cloud storage.
  • When preparing audio for web streaming, such as podcasts or background music, to improve loading times.
  • When storage or bandwidth is limited, and you want to compress audio without changing the file format.

How It Works

  • Upload your MP3 file using the file selector, with a maximum size of 50 MB.
  • Select a target bitrate from options like 96 kbps, 128 kbps, 160 kbps, or 192 kbps to balance size and quality.
  • Optionally adjust sample rate and audio channels, or keep original settings with 'Auto' choices.
  • Enable 'Keep Metadata' to retain details like artist and title, then compress and download the smaller file.

Use Cases

Compressing podcast episodes to reduce hosting costs and ensure faster downloads for listeners.
Shrinking MP3 music files to attach to emails without exceeding common size limits.
Optimizing audio for mobile apps or websites where bandwidth efficiency is crucial.

Examples

1. Reduce Podcast Episode Size

Podcast Producer
Background
A podcast producer has a 120 MB MP3 episode that needs to be uploaded to a hosting service with a 100 MB limit.
Problem
The file exceeds the upload limit, causing delays in publishing.
How to Use
Upload the MP3 file, select a bitrate of 128 kbps, keep sample rate and channels on auto, and enable metadata preservation.
Outcome
The compressed file is approximately 60 MB, allowing smooth upload and streaming with minimal quality loss for spoken content.

2. Email Attachment Compression

Background
A user wants to send a 20 MB MP3 song via email, but the attachment limit is 10 MB.
Problem
The file is too large to attach directly to an email.
How to Use
Upload the MP3, choose a bitrate of 96 kbps, set channels to mono to further reduce size, and keep metadata.
Outcome
The file size reduces to around 8 MB, making it easy to attach and send via email.

Try with Samples

audio, file

Related Hubs

FAQ

What bitrate should I choose for compression?

Lower bitrates like 96 kbps reduce file size more but may lower audio quality. 128 kbps is a common choice for good quality and smaller size.

Will compressing MP3 affect audio quality?

Yes, re-encoding at a lower bitrate can reduce quality, but the impact varies. Higher bitrates preserve more detail, especially for music.

Can I keep the original metadata after compression?

Yes, enable the 'Keep Metadata' option to retain information such as song title, artist, and album in the compressed file.

What is the maximum file size allowed?

The tool supports MP3 files up to 50 MB in size for upload and compression.

Does this tool work with other audio formats?

No, it is designed specifically for MP3 files. For other formats like WAV or AAC, you would need a different converter.

API Documentation

Request Endpoint

POST /en/api/tools/mp3-compress

Request Parameters

Parameter Name Type Required Description
audioFile file (Upload required) Yes -
bitrate select No -
sampleRate select No -
channels select No -
keepMetadata checkbox No -

File type parameters need to be uploaded first via POST /upload/mp3-compress to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-mp3-compress": {
      "name": "mp3-compress",
      "description": "Compress an MP3 by re-encoding at a lower bitrate",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=mp3-compress",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]