# What is an MP3 file? Everything you need to know about the MP3 format

An **MP3 file** contains audio compressed with MPEG-1 or MPEG-2 Audio Layer III. MP3 reduces file size by discarding audio information that is less perceptible to human hearing. Its combination of small files and near-universal playback support made it the dominant format for downloaded music, podcasts, and spoken-word audio.

## How does MP3 work?

An MP3 encoder analyzes short sections of audio with a psychoacoustic model. It identifies sounds that are masked by louder nearby sounds, transforms the signal into frequency data, quantizes that data, and compresses the result. The selected bitrate controls how many bits are available.

Constant bitrate (CBR) uses the same rate throughout a file. Variable bitrate (VBR) spends more bits on complex passages and fewer on simple ones, often improving the quality-to-size ratio.

## Benefits of MP3

* **Universal compatibility:** plays in browsers, phones, cars, media players, and editing tools.
* **Small delivery files:** practical for downloads, podcasts, previews, and voice recordings.
* **Fast encoding:** mature codecs make MP3 inexpensive to produce.
* **Metadata support:** ID3 tags can store titles, artists, artwork, and other information.

## Limitations of MP3

MP3 is lossy. Re-encoding an MP3 introduces additional loss, and low bitrates can cause metallic artifacts, smeared transients, or reduced stereo detail. It does not support multichannel and modern streaming features as efficiently as newer codecs in many scenarios.

Keep a lossless master such as WAV or FLAC when the audio will be edited or encoded again.

## MP3 compared with WAV and AAC

|Format|Best fit|Compression|Typical tradeoff|
|-|-|-|-|
|MP3|Universal downloads and spoken audio|Lossy|Excellent compatibility|
|WAV|Editing and uncompressed interchange|Usually uncompressed PCM|Very large files|
|AAC|Modern streaming and MP4 video|Lossy|Often more efficient, slightly less universal in old tools|

## How to encode MP3 with Transloadit

Use the MP3 preset in [🤖/audio/encode](/de/docs/robots/audio-encode.md):

```json
{
  "steps": {
    ":original": { "robot": "/upload/handle" },
    "mp3": {
      "use": ":original",
      "robot": "/audio/encode",
      "preset": "mp3",
      "bitrate": 192000
    }
  }
}

```

You can also normalize loudness, trim audio, or change channels and sample rate in the same Step.

## MP3 FAQ

### What bitrate should I use for MP3?

It depends on the source and listening context. Speech can work at lower bitrates than music. For music delivery, 192–320 kb/s is a common evaluation range; test with representative material.

### Is MP3 lossless?

No. MP3 permanently discards information to reduce file size.

### Can I improve quality by converting MP3 to WAV?

No. Converting to WAV prevents further decoding loss during editing, but it cannot restore details that the MP3 encoder already removed.

## Related demos

* [Encode audio into MP3 EN (English)](/demos/audio-encoding/encode-into-mp3/)
* [Normalize audio volume EN (English)](/demos/audio-encoding/normalize-volume-in-audio/)
* [Extract a 10-second audio clip EN (English)](/demos/audio-encoding/take-a-10-seconds-clip-of-an-audio-file/)
