What is an MP3 File?
An MP3 file (MPEG-1 Audio Layer III) stores compressed audio. It uses lossy compression that removes sounds the ear is unlikely to notice, shrinking music to about a tenth of its WAV size at bitrates of 128 to 320 kbps. MP3 was developed mainly at the Fraunhofer Institute and standardized by MPEG in the early 1990s, and its patents have expired, so it is free to use.
MP3 plays almost everywhere: in web browsers, phones, cars, smart speakers and every media player.
Download MP3 Sample Files
Below are two MP3 files of about two minutes each, encoded from our WAV samples.
MP3 Sample File Details
| Sample | Length | Bitrate | File size |
|---|---|---|---|
| Sample1.MP3 | 2:02 | 256 kbps | 3.72 MB |
| Sample3.MP3 | 1:59 | 256 kbps | 3.64 MB |
Both are MPEG-1 Layer III files at a constant 256 kbps, 44.1 kHz stereo, without ID3 tags. They contain the same audio as WAV samples 1 and 3, so you can compare an uncompressed 20 MB WAV with its 3.7 MB MP3.
What You Can Test With These MP3 Files
- Audio players: desktop, mobile and HTML5
<audio>playback. - Streaming and seeking: jumping to any point in a two-minute track.
- Tag editors: the files have no ID3 tags, so you can test adding them.
- Conversion: transcoding to other bitrates or formats.
- Uploads: forms and APIs that accept
audio/mpeg.
How to Play or Convert an MP3 File
<!-- Play a sample on a web page -->
<audio controls src="sample-1.mp3"></audio>
# Show the bitrate, sample rate and duration
ffprobe sample-1.mp3
# Re-encode at 128 kbps
ffmpeg -i sample-1.mp3 -b:a 128k sample-128k.mp3
MP3 vs Other Audio Formats
| Format | Compression | Typical use |
|---|---|---|
| MP3 | Lossy | Music and podcasts everywhere |
| WAV | None | Recording and editing |
| AAC | Lossy, better than MP3 at the same bitrate | Streaming and Apple devices |
| M4A | AAC or ALAC in an MP4 container | iTunes and Apple Music |
| OGG | Lossy (Vorbis or Opus) | Games and open-source apps |
| FLAC | Lossless | High-quality music archives |






