Codec listening test: can you hear MP3, AAC or Opus?
Encode an excerpt of your own music as MP3, AAC, Opus, Vorbis and FLAC, switch between the versions in sync, hear what each codec removed, and take a blind ABX test.
Your audio is processed by your browser and is not uploaded. What does connect to the internet?
How to use it
- Drop a song, ideally a lossless WAV or FLAC, or try the test clip.
- Choose the excerpt, a bitrate and the codecs, then press Encode and compare.
- Press Play and switch between versions with the buttons or the keys 1–9. Then take the blind test.
Our test results
We run this tool’s own processing code on our public test files with known answers. Last run 26 November 2026 in Chrome/156.0.8078.100.
| Test | Input | Expected | Measured | Result |
|---|---|---|---|---|
| FLAC (lossless) | codec-test-clip.wav (15 s, content up to 22.0 kHz) | no difference after decoding | 2377.6 kB, difference below −90 dB (none) | Pass |
| MP3 at 64 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 120 kB, lines up with the original | 120.6 kB, difference -3.6 dB, keeps content up to 10.9 kHz (aligned, match 0.928) | Pass |
| AAC at 64 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 120 kB, lines up with the original | 131.5 kB, difference -2.7 dB, keeps content up to 12.5 kHz (aligned, match 0.907) | Pass |
| Opus at 64 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 120 kB, lines up with the original | 122.4 kB, difference -3.1 dB, keeps content up to 20.2 kHz (aligned, match 0.904) | Pass |
| Vorbis at 64 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 120 kB, lines up with the original | 107.1 kB, difference -2.7 dB, keeps content up to 15.3 kHz (aligned, match 0.910) | Pass |
| MP3 at 128 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 240 kB, lines up with the original | 240.7 kB, difference -5.3 dB, keeps content up to 16.7 kHz (aligned, match 0.931) | Pass |
| AAC at 128 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 240 kB, lines up with the original | 251.7 kB, difference -4.4 dB, keeps content up to 17.3 kHz (aligned, match 0.950) | Pass |
| Opus at 128 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 240 kB, lines up with the original | 243.4 kB, difference -6.7 dB, keeps content up to 20.0 kHz (aligned, match 0.964) | Pass |
| Vorbis at 128 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 240 kB, lines up with the original | 214.3 kB, difference -4.6 dB, keeps content up to 19.5 kHz (aligned, match 0.943) | Pass |
| MP3 at 192 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 360 kB, lines up with the original | 361.1 kB, difference -7.8 dB, keeps content up to 18.8 kHz (aligned, match 0.966) | Pass |
| AAC at 192 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 360 kB, lines up with the original | 381.5 kB, difference -6.4 dB, keeps content up to 19.4 kHz (aligned, match 0.968) | Pass |
| Opus at 192 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 360 kB, lines up with the original | 363.9 kB, difference -9.3 dB, keeps content up to 20.0 kHz (aligned, match 0.977) | Pass |
| Vorbis at 192 kbit/s | codec-test-clip.wav (15 s, content up to 22.0 kHz) | ≈ 360 kB, lines up with the original | 408.4 kB, difference -13.9 dB, keeps content up to 22.0 kHz (aligned, match 0.992) | Pass |
Why switch instead of playing files one after another
Memory for fine detail in sound fades within seconds. Comparing two files played one after the other mostly tests that memory. Here every version plays at the same time, perfectly in step, and a switch only changes which one you hear, at the same moment in the music. Small differences in cymbals, reverb tails or stereo width are much easier to catch that way.
To make that possible, each encoded file is decoded again and lined up with the original to the sample. Encoders add a short delay of their own (an MP3 encoder typically adds a few hundred samples to over a thousand), so without this step switching would jump and give away which version is playing.
What the measurements mean
- Bitrate is the real average of the file you can download, not the setting.
- Difference from original is the energy of the changed waveform relative to the music. Lossless codecs show none. Lossy codecs change a lot of the waveform but place the changes where hearing is least sensitive, so this number does not tell you what is audible.
- Keeps content up to is the highest frequency at which the decoded file still carries the original’s sound, within 20 dB of the original level. At lower bitrates many encoders cut the top octave on purpose, to spend their bits where hearing is more sensitive.
The blind test
ABX is the standard way to check whether a difference is real. You know which version is A and which is B; X is randomly one of them in each round. Guessing gets about half the rounds right. Over 10 rounds, 9 or more correct happens by chance only about 1% of the time, 8 about 5%. Scores of 7 or lower can easily be luck.
The encoders used
MP3 is made with the LAME encoder (constant bitrate), AAC with FFmpeg’s built-in AAC encoder, Vorbis with libvorbis, and Opus with the browser’s own libopus encoder, all running on your device. Other encoders, such as Apple’s AAC encoder or a streaming service’s own settings, can sound different at the same bitrate. The test results list what these encoders measure on a public test clip.
Known limitations
- Excerpts are up to 30 seconds. Every version is kept in memory as decoded audio, about 10 MB per version for 30 seconds of stereo.
- Results apply to these encoders and settings. Apple’s AAC encoder, Spotify’s Vorbis or Ogg settings and other MP3 encoders can sound different at the same bitrate.
- Your headphones, speakers and the browser’s own resampling to your device’s output rate are part of what you hear. Bluetooth adds a second lossy codec to every version.
- Sources above 48 kHz are converted to 48 kHz and surround files to stereo before encoding.
- Opus needs the browser’s built-in Opus encoder, which Chrome, Edge and Firefox have. In other browsers the test runs without Opus.
Questions and answers
Can people hear the difference between MP3 and FLAC?
At 256–320 kbit/s many listeners cannot reliably tell them apart in a blind test, while at 128 kbit/s and below differences become easier to hear on cymbals, applause and sharp attacks. Results depend on the music, the listener and the headphones, which is why this test uses your own files.
How many rounds do I need to get right?
In a 10-round test, 9 or 10 correct is strong evidence that you hear a difference, because guessing gets there about 1% of the time. 8 correct is borderline at about 5%. With 7 or fewer, the result is consistent with guessing; run the test again on a passage where you think you hear it.
Which part of a song should I test?
Pick passages with cymbals, applause, harpsichord, sharp percussion or a lot of reverb, and start with a lossless source. Quiet solo voices and bass-heavy passages are usually the easiest for codecs. The test clip contains three of the hardest kinds of sound in 15 seconds.
Do Bluetooth headphones affect the test?
Yes. Bluetooth headphones receive audio that the phone or computer has encoded again with a Bluetooth codec such as SBC, AAC or LDAC. That adds its own changes on top of every version, so use wired headphones when you want to hear the codec differences themselves.
Why is the difference signal so loud for AAC and Opus but they sound fine?
The difference signal includes changes you cannot hear, such as small timing and phase shifts and noise hidden under louder sounds. A codec can change a lot of the waveform and still sound transparent. That is the point of perceptual coding, and why the blind test matters more than the number.
Is my music uploaded?
No. The excerpt is encoded and decoded by your browser, using the LAME encoder, the browser’s own Opus encoder and FFmpeg compiled to WebAssembly. FFmpeg is downloaded once (about 10 MB) the first time you choose AAC, Vorbis or FLAC.
Maintained by AudioUtilitiesLast tested 26 November 2026ChangelogReport a problem