Lossless audio checker

Drop a FLAC, WAV or ALAC file and look at the top edge. A flat cut means it was made from an MP3. Nothing is uploaded.

Files to compare

Platefake-lossless.flac6.0 s · 44.1k · monoFFT 2048 · Linear · Print
0:00.0 / 0:06.0
FFT
46.4 ms window
Axis
Range
Ink

Look at the top: everything above 16k is cut flat. This file was an MP3 before it became a FLAC.

Is this FLAC really lossless?

A FLAC, WAV or ALAC file keeps every sample it was given. If what it was given was an MP3, it keeps the MP3's losses too: the file is big, the label says lossless, and the sound is no better than the MP3 it came from. You cannot hear that difference easily, but you can see it.

The player above opens on such a file, Fake lossless. Look at the top of the picture: the music fills it up to 16 kHz, and above that there is nothing, cut flat across the whole six seconds. Real recordings do not stop on a straight line. Encoders do.

What the edge tells you

Losslessup to 22.05 kHz
Lossless spectrogram of the same music, up to 22.05 kHz.
MP3 320 kbpsedge at 20.5 kHz
MP3 320 kbps spectrogram of the same music, edge at 20.5 kHz.20.5 kHz
MP3 192 kbpsedge at 18.6 kHz
MP3 192 kbps spectrogram of the same music, edge at 18.6 kHz.18.6 kHz
MP3 128 kbpsedge at 17 kHz
MP3 128 kbps spectrogram of the same music, edge at 17 kHz.17 kHz
One piece of music, four tops. Each strip runs from 0 Hz at the bottom to 22.05 kHz at the top on a Linear axis. The cut lines sit where the LAME MP3 encoder puts its low-pass at each constant bitrate.

To save space, an MP3 encoder throws away the highest frequencies first, and it does so with a sharp low-pass filter at a frequency set by the bitrate. The lower the bitrate, the lower the edge. A lossless file made from that MP3 shows the same edge forever, because nothing can put the missing highs back.

Here are the low-pass frequencies the LAME MP3 encoder uses at each constant bitrate, taken from the bandwidth table in its source code (lame.c, optimum_bandwidth):

Constant bitrateLAME low-pass
96 kbps15.1 kHz
112 kbps15.6 kHz
128 kbps17.0 kHz
160 kbps17.5 kHz
192 kbps18.6 kHz
224 kbps19.4 kHz
256 kbps19.7 kHz
320 kbps20.5 kHz

Treat the edge as a strong hint, not a bitrate reading. Variable bitrate MP3s, AAC, Ogg Vorbis, Opus and other encoders all put their edge somewhere else, and settings can change it. What they share is the shape: a flat, sudden stop that runs through the whole file, quiet parts and loud parts alike.

0 dB−20 dB−40 dB−60 dB−80 dB−100 dB05k10k15k20k17 kHz edgelossless128 kbps
The same two files as one average curve each. Below the edge they are identical; above it the MP3 has almost nothing left. That cliff is what you are looking for.

How to check a file

  1. Drop the file into the player above, or press Open a file. FLAC, WAV, ALAC in M4A and AIFF work if your browser can play them.
  2. Keep the axis on Linear. The top octave takes half the picture there, so the edge is easy to see. On a log axis it is squeezed into a thin strip.
  3. Use the 90 or 120 dB range so quiet highs still show. A 60 dB range can make a real file look cut.
  4. Hover just below the edge. The readout gives the frequency where the music stops. Compare it with the table: 16 kHz, 17 kHz or 19 to 20 kHz are the usual suspects.
  5. Look along the whole file. A real edge stays at one height from start to finish. Hi-hats and cymbals that reach the top in one place and not in another are the music, not an encoder.

Press Export PNG to keep the picture with its axes; it is the usual proof people post when a download turns out to be a transcode.

What is not a fake

Spectrogram whose top fades out gradually above about 9 kHz, with no straight edge.Fades out
Spectrogram with a straight, flat edge at 17 kHz and nothing above it.Stops on a line

Left: an old or softly mixed recording, whose highs thin out bit by bit. Right: an MP3, whose highs stop on a ruler line across the whole song.

Several honest files have little above 16 kHz:

  • Old and analogue recordings. Tape, vinyl transfers and early digital masters often have weak highs. They fade, they do not stop on a line.
  • Soft music. A solo voice or a quiet piano may just not have much up there. Raise the range to 120 dB and the faint top usually appears.
  • Mastered with a low-pass. Some engineers filter the top on purpose. If the edge is at 20 kHz or higher, that is normal and harmless.
  • Lossy sources by design. Streams and video sound tracks are usually AAC or Opus, so a cut there is expected, not a trick.

The limits of this check

Your browser decodes the file at its own sample rate, usually 44.1 or 48 kHz, so the picture tops out at 22 or 24 kHz. That is enough to catch MP3 transcodes, but it cannot tell a real 96 kHz file from one that was upsampled from CD quality. A clean edge also does not prove a file is lossless: a high-bitrate MP3 with an edge above 20 kHz can look nearly full. This page shows you the evidence; it does not stamp a verdict.

Files and privacy

The file is read and drawn in this page on your device. It is not uploaded, stored or shared, so you can check a whole download folder one file at a time without sending your music anywhere. To read anything else in the picture, see how to read a spectrogram, or use the spectrogram for any sound.

Questions people ask

How can I tell if a FLAC file is really lossless?

Drop it into the player above and look at the top of the spectrogram on a Linear axis. If the music stops on a flat line at around 16 to 20 kHz through the whole file, it was made from a lossy file such as an MP3.

What cutoff frequency does a 320 kbps MP3 have?

With the LAME encoder at a constant 320 kbps the low-pass sits at 20.5 kHz; at 128 kbps it is 17 kHz. Other encoders and variable bitrate modes use different values, so read the edge as a hint.

Does the checker give a verdict automatically?

No. It draws the spectrogram and the hover readout gives the frequency of the edge. You compare that with the table on this page and decide.

Can a real lossless file have nothing above 16 kHz?

Yes. Old recordings, quiet music and masters that were filtered on purpose can all be thin at the top. The difference is that they fade gradually instead of stopping on a straight line.

Can it detect upsampled hi-res files?

Not reliably. Your browser decodes the file at 44.1 or 48 kHz, so anything above 22 or 24 kHz is not shown.

Is my file uploaded?

No. Everything happens in this page on your device, and nothing about the audio is sent anywhere.