FormatSwap › Formats › FLAC

The FLAC format

Perfect audio in about half the space, free forever and built to detect its own damage.

Full name
Free Lossless Audio Codec
Appeared
2001
File extensions
.flac
Our verdict
Keep it See why

History

Why it was invented

FLAC “is designed to reduce the amount of computer storage space needed to store digital audio signals”, and to do so losslessly.[1] Xiph compares it to Zip, except that it compresses much better because it's designed specifically for audio.[2] It's free “in the sense that its specification is open and its reference implementation is open source”.[1] Josh Coalson invented it in 2000.[3]

What it was first used for

The format was first specified in December 2000.[1] Its changelog shows how quickly it settled. Version 0.4, on 23 December 2000, added a verify option that decodes the output while encoding, so that an encoder bug stops the process instead of silently damaging the audio. Version 0.5, on 15 January 2001, was the first beta, and from then on streams were meant to stay readable by future versions.[4]

Plug-ins for the Winamp and XMMS music players were being fixed and extended within those first months, which suggests that its early users were people playing music on their own computers.[4] Version 0.9, on 31 March 2001, made the last format changes, including a longer sync code and a CRC-16 checksum on every frame. FLAC 1.0 followed on 20 July 2001, and the bitstream has been treated as frozen since then.[4][1]

What happened next

FLAC joined the Xiph.Org Foundation in January 2003.[5] Version 1.1.0, released that month, added a CUESHEET block so that “a CD can be completely backed up to a single FLAC file for archival”.[4] Development moved to Xiph's git repository with version 1.3.0 in May 2013. Version 1.5.0, in February 2025, added multithreaded encoding.[4] FLAC was formally specified as RFC 9639 in December 2024.[5][2]

Pros and cons

Pros

  • Mathematically lossless, usually at 50–70% of WAV's size.
  • Open, royalty-free and formally specified.
  • Stores a checksum of the original audio and detects corruption.
  • Damage only affects the frames hit. Playback can pick up again afterwards.
  • Fast to decode.

Cons

  • Much bigger than lossy audio, with no audible benefit for most listeners on typical equipment.
  • Patchy support in some car stereos and in Apple's music software.
  • Not a lossy format, so it can't help with tight size limits.

Use cases

  • Archiving CDs and music collections.
  • Master copies from which to make lossy versions.
  • Lossless music downloads.

Pitfalls

  • A FLAC made from an MP3 is a bigger file with MP3 quality. Lossless only preserves what it's given.
  • Bluetooth links usually re-encode audio anyway, so FLAC's benefits may stop at the transmitter.
  • Higher compression levels make encoding slower with little size saving.

Should FLAC be discontinued?

Keep it

Keep it, and make it the default wherever audio is stored rather than streamed. It costs nothing, loses nothing and checks itself for damage. WAV uses twice the space with no audible gain, and any lossy format throws away information you can never get back. From a FLAC, you can make a new MP3, AAC or Opus copy for any device that exists now or later.

The usual complaint is that most people can't hear the difference from a good MP3, and that's true. It's also beside the point: a lossless master isn't for listening so much as for never having to buy, rip or record the music again. See The perfect format for why we think this is the closest thing to a flawless file format that exists.

This verdict is FormatSwap's opinion. “Discontinue” means stop creating new files, not stop reading old ones. How we decide.

FLAC files in FormatSwap

Media Converter opens and creates FLAC files.

Download Media Converter
Version 1.1 · Windows 10 & 11 (64-bit) · 64 MB · No installation needed

Related formats

Sources

Numbers in the history above link to these pages. They cover the history section only; the pros, cons and verdict are our own assessment.

  1. RFC 9639: Free Lossless Audio Codec (FLAC), RFC Editor (IETF)
  2. What is FLAC?, Xiph.Org Foundation
  3. FLAC (Free Lossless Audio Codec) Family, Library of Congress, Sustainability of Digital Formats
  4. FLAC changelog, Xiph.Org Foundation
  5. FLAC, Wikipedia