What is FLAC?

FLAC, the Free Lossless Audio Codec, compresses integer PCM audio so that decoding reproduces the encoded sample values exactly. Its native file format also carries stream information and metadata.

How FLAC works

FLAC predicts audio sample values and efficiently stores the remaining differences. The decoder reconstructs the integer samples rather than an approximation selected by a perceptual model. Compression efficiency varies with the signal. Metadata, padding, and encoder choices can differ between files that decode to the same samples, so audio equality is not the same as byte-for-byte file equality.

Key facts

  1. Converting MP3 or another lossy source to FLAC preserves the decoded result of that source. It cannot recover information the earlier encoder discarded.
  2. A lossless claim concerns the encoded sample representation. Resampling, changing channels, or quantizing floating-point input before encoding may still change the audio.
  3. FLAC is a codec and has a native container; FLAC streams can also be mapped into other containers. Check both stream and container support in the target player.

When FLAC matters

Use FLAC to store or distribute lossless audio where the player supports it. Preserve the source sample rate and bit depth when you need unchanged samples, and keep an original lossless recording for future edits.

Sources

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free