AudioUtils

What Is FLAC? The Lossless Audio Format

Everything about the FLAC lossless audio format. Learn how FLAC compresses without losing quality and when to use it.

The Short Answer

FLAC stands for Free Lossless Audio Codec. It is an open, royalty-free file format that compresses PCM audio without discarding a single bit. Decode a FLAC file and the bytes that come out are identical to the bytes that went in — verifiably so, because every FLAC file carries an MD5 fingerprint of the original PCM stream. Typical files end up around 50–60% the size of the source WAV, and the format is supported natively by every major operating system shipped in the last decade.

A Brief History

FLAC was started by Josh Coalson in 2000 and reached its first stable release (version 1.0) on July 20, 2001. From the very beginning the reference encoder, decoder, and bitstream specification were all released under permissive licenses — BSD for the libraries, GPL for the command-line tools, and a public-domain-style grant for the file format itself. There are no submarine patents lurking in the FLAC specification, which is why every Linux distribution, every BSD, and most embedded platforms have been free to bundle it.

In 2003 the project moved to the Xiph.Org Foundation, the same non-profit that maintains Vorbis, Opus, Theora, and the Ogg container. Xiph.Org's involvement matters: it puts FLAC in the same family as the other open codecs and gives the format an institutional home that long outlasts any single contributor. Development has continued steadily — version 1.4, released in 2022, brought faster encoding through better predictor selection and 64-bit residual handling, and 1.5 in 2025 added Apple-friendly tooling improvements.

The contrast with proprietary alternatives is what made FLAC the de-facto archival format. Apple Lossless (ALAC) was closed until 2011. WMA Lossless was tied to Windows Media. Monkey's Audio (APE) had a non-OSI-compatible license. FLAC was the only mainstream lossless codec a hardware vendor or software developer could ship without negotiating a license, and that freedom drove adoption everywhere from car head units to high-resolution streaming services like Tidal and Qobuz.

How FLAC Compresses

FLAC works frame by frame. Each frame is a short slice of audio (typically 4,096 samples per channel for 44.1 kHz content) that can be decoded independently — this is what makes seeking inside a FLAC file fast and what makes the format robust against partial corruption.

For each frame, the encoder chooses one of four prediction strategies:

  • Verbatim — store the raw samples. Used for noise-like audio where prediction does not help.
  • Constant — store a single value. Used for digital silence.
  • Fixed predictor — apply a small set of polynomial predictors (orders 0 through 4) that approximate the next sample from the previous few.
  • Linear predictive coding (LPC) — fit a custom predictor up to order 32 to the frame's waveform.

After prediction, what is left is the residual: the difference between the predictor's guess and the real sample. For most music the residual is much smaller in magnitude than the original sample, with a distribution that clusters tightly around zero. FLAC then encodes the residual using Rice coding (a tuned form of Golomb coding), which assigns short codes to small numbers and longer codes to large ones. The Rice parameter is chosen per partition inside the frame, so a quiet section and a transient drum hit in the same frame can be coded efficiently.

This pipeline — predict, subtract, Rice-code the residual, write a small header — is why compression ratios vary so much by source. Quiet, predictable content like a solo cello or a podcast voice track can compress to 30–40% of the original size. Dense, percussive, highly stereo content like a modern rock master may only reach 65–70%. Pre-existing dithered noise floors, common on remasters of older recordings, also limit how much LPC can do. Compression levels (0 through 8) trade encoding speed for tighter Rice partitions and longer LPC searches; level 5 is the default and is within ~1% of level 8 on most material.

Bit Depth, Sample Rate, and Channels

FLAC was designed to be future-proof. The format supports:

  • Bit depths from 4 to 32 bits per sample (integer). 16-bit covers CD audio, 24-bit covers studio masters and high-resolution downloads, and the 32-bit integer ceiling means FLAC can losslessly carry 32-bit fixed-point session exports.
  • Sample rates up to 655,350 Hz. Real-world content tops out at 384 kHz for high-resolution releases, so FLAC has plenty of headroom.
  • Channel layouts from mono to 8 channels, with defined orderings for stereo, 5.1 surround, and 7.1 surround.

For comparison with PCM sources, see lossless vs lossy: a CD-quality FLAC of a typical 4-minute pop song lands around 25 MB, the same content as 24-bit/96 kHz FLAC lands around 90 MB, and the equivalent uncompressed WAV would be ~42 MB and ~150 MB respectively.

The MD5 Fingerprint

Every FLAC file contains a 128-bit MD5 hash of the decoded PCM stream in its STREAMINFO metadata block. This is a feature competitors largely do not have, and it changes how archivists treat the format. After decoding, you can recompute the MD5 and compare it to the stored value. If they match, you have proof — not just a checksum of the compressed bytes, but a checksum of the audio itself — that the file decodes to exactly the samples that were encoded.

The reference 'flac -t' command does this verification automatically. CD-ripping tools like dBpoweramp, EAC, and XLD use it to confirm that the rip and re-encode round-trip cleanly. Long-term archivists use it to detect bit rot on old hard drives. No lossy format can offer this guarantee, and lossless competitors that omit it (early ALAC, for instance) require external checksums to achieve the same confidence.

Metadata: Vorbis Comments and Pictures

FLAC borrows its tagging system from Vorbis. Tags are stored as UTF-8 'FIELD=value' pairs in a VORBIS_COMMENT block, with no fixed schema — popular fields include ARTIST, ALBUM, TITLE, TRACKNUMBER, DATE, GENRE, ALBUMARTIST, DISCNUMBER, and REPLAYGAIN_TRACK_GAIN. Multiple values per field are allowed (useful for multi-artist releases). Cover art lives in a separate PICTURE block that supports several images per file (front cover, back cover, leaflet, etc.) along with type codes from the ID3v2 APIC specification.

The practical upshot: FLAC's metadata is extensible and Unicode-clean by default, which is why it handles international releases far better than the ID3 hacks bolted onto WAV. Tag editors like Mp3tag, Picard, and Kid3 all speak Vorbis Comments natively.

Playback Support in 2026

FLAC support is now effectively universal. Native, no-plugin support exists in:

  • Windows — File Explorer thumbnails and preview since Windows 10 (1607); Windows Media Player and the modern Media Player app
  • macOS — Finder previews and the Music app since macOS 10.13 High Sierra
  • iOS — the Files app since iOS 11; Apple Music app supports FLAC playback from local files since iOS 13
  • Android — system-level support since Android 3.1; every modern music app handles it
  • Browsers — Firefox, Chrome, Edge, and Safari (since 11) all support FLAC in HTML5 'audio' tags
  • Hardware — VLC, foobar2000, JRiver, Roon, Sonos, most car infotainment systems, and the vast majority of network audio players

The historical complaint that "Apple does not support FLAC" has not been true since 2017. Apple Music streams ALAC rather than FLAC for service-internal reasons, but local FLAC files play fine on iPhones, iPads, and Macs. If you need to convert anyway — for an old hardware player, for editing in a DAW that prefers WAV, or for a phone with limited storage — the FLAC to MP3 converter and FLAC to WAV converter handle it in your browser without uploads.

FLAC vs ALAC vs WAV

The three lossless formats most users actually encounter:

  • WAV is uncompressed PCM in a RIFF container. Same audio quality as FLAC but ~2x the file size, with weak metadata. Use it when a tool specifically demands it (older DAWs, some broadcast workflows). See WAV vs FLAC for archiving for the long-form comparison.
  • ALAC (Apple Lossless) is technically equivalent to FLAC — same lossless guarantee, same general efficiency, slightly worse compression ratios in most tests. Apple open-sourced it in 2011, but the ecosystem around it (tagging tools, hardware support, encoder maturity) is smaller. Worth using if you live entirely inside Apple's stack. Detail: FLAC vs ALAC.
  • FLAC is the cross-platform default. It compresses better than ALAC on most material, has the largest tooling ecosystem, and is the format that streaming services like Tidal, Qobuz, Bandcamp, and Deezer use for their lossless tiers.

For a side-by-side on the production side: FLAC vs WAV for music production.

Practical Decisions

Ripping a CD collection? Encode at FLAC level 5 or 8, embed cover art, and verify with 'flac -t'. The level mostly affects encoding speed; decoders read every level identically.

Buying high-resolution downloads? FLAC at 24-bit/96 kHz or 24-bit/192 kHz is the format you will actually receive from HDtracks, Qobuz, and Bandcamp. Storage cost is real (around 1 GB per album at 24/96), so plan accordingly — if a single file is too big for a particular workflow you can compress a FLAC file by raising the compression level or downsampling.

Sending masters to collaborators? FLAC is fine if both ends use modern DAWs. WAV is the safer default for older Pro Tools sessions and broadcast deliverables (BWF). The WAV to FLAC converter handles the round-trip losslessly when you need to switch.

Using a FLAC converter for one-off jobs? Browser-based conversion keeps your files on your machine and avoids the upload/download cycle for short clips.

FLAC has been stable, free, and broadly supported for over two decades. For any workflow where the audio data needs to survive intact, it is the most boring correct answer — which is exactly what you want from an archival format.

More to Read

What Is MP3? The Format ExplainedWhat Is WAV? Everything You Need to KnowWhat Is OGG? The Open Container Format ExplainedWhat Is M4A? Apple's Audio Format ExplainedWhat Is AAC? Advanced Audio Coding ExplainedWhat Is AIFF? Apple's Lossless Audio FormatWhat Is WMA? Windows Media Audio ExplainedAudio Bitrate Explained: What It Means for QualitySample Rate Explained: 44.1kHz vs 48kHz vs 96kHzWhy WAV Files Are So Large (And What to Do About It)What Is M4A? The iPhone Audio Format ExplainedWhat Is Opus? The Modern Audio Codec ExplainedAudio File Size Comparison: MP3, WAV, FLAC, OGG, AACWhat Is Vorbis? The Open Audio Codec ExplainedWhat Is ALAC? Apple Lossless Audio ExplainediTunes and Apple Music Audio Formats ExplainedWhat Is HLS Audio? HTTP Live Streaming ExplainedAIFF vs. AIF: What Is the Difference?Android Audio Formats: Native Support and Best PracticesiPhone Audio Formats: What iOS Supports & Doesn'tMP3 Bitrate Guide: 128 to 320 kbps ExplainedAudio Bitrate vs. Sample Rate: What's the Difference?Audio Transcoding vs. Converting: What Is the Difference?Audio Normalization: Peak vs Loudness — When to Use EachAudio Quality Settings: Bitrate, Sample Rate, Bit DepthAudio Sample Rate Explained: 44.1 vs 48 vs 96kHzWhat Is VBR vs CBR? Bit Allocation in Audio EncodingContainer vs Codec: The Most Confusing Thing in AudioPCM Audio Explained: Why WAV Files Are So LargeAudio Bitrate Guide: Right Settings for Every Use CaseAudio Compression Explained: File Size vs Dynamic RangeID3 Tags Explained: MP3 Metadata StandardMP3 vs WAV: Which Format Should You Use?MP3 vs AAC: Which Codec Sounds Better?MP3 vs OGG (Vorbis): The Complete ComparisonM4A vs MP3: Which Should You Choose?Audio Formats Explained: The Complete GuideHow to Convert Audio Files: Complete GuideHow to Reduce Audio File Size Without Losing QualityHow to Convert iPhone Voice Memo to MP3 FreeHow Audio Compression WorksBest Audio Format for WebsitesHow to Batch Convert Audio FilesHow to Extract Audio from Video FilesBest Audio Format for Music ProductionBest Audio Format for PodcastsBest Audio Format for GamingBest Audio Format for Music StreamingBest Audio Format for Archiving MusicDoes Converting MP3 to WAV Improve Quality?How to Convert MP3 to WAV for Music ProductionHow to Convert MP3 to WAV Without Losing QualityMP3 vs WAV for Audio Editing in a DAWWhen Should You Convert MP3 to WAV?How to Convert MP3 to WAV on Mac and WindowsHow to Convert WAV to MP3 Without Losing QualityConvert WAV to MP3 for Sharing and EmailWAV File Too Large? Convert to MP3How to Convert iPhone Voice Memo to MP3 FreeHow to Play M4A Files on Android (Convert to MP3)M4A vs MP3: Which Has Better Quality and Smaller Size?How to Convert MP3 to OGG for Unity Game DevelopmentOGG vs MP3 for Web Audio: Which Should You Use?WAV vs AIFF: Which Uncompressed Format?AAC vs OGG: Which Lossy Codec Wins?Opus vs MP3: The Modern Codec ShowdownM4A vs AAC: What's the Difference?How to Convert FLAC to MP3 Without Losing QualityBest Bitrate for FLAC to MP3 ConversionConvert AAC to MP3: Best Quality SettingsHow to Extract Audio from MP4 FilesConvert iPhone MOV Video to MP3How to Convert WAV to MP3 (The Complete Guide)How to Convert MOV to MP3 (iPhone & QuickTime)How to Convert MP3 to WAV for Editing and DAWsHow to Convert YouTube to MP3 Legally (3 Ways)Best MP3 to WAV Settings for Editing and DAWsBest WAV to MP3 Bitrate for Music, Podcasts, and VoiceMOV to MP3 on Mac: Fastest Ways ComparedHow to Convert M4A to MP3 on iPhone Without a ComputerHow to Convert FLAC to MP3 on MacHow to Convert FLAC to MP3 on WindowsHow to Convert OGG to MP3 on MacHow to Convert MP4 to MP3 on MacHow to Convert MP4 to MP3 on iPhoneHow to Convert MP4 to MP3 on AndroidHow to Convert WMA to MP3 on MacHow to Convert AIFF to MP3 on MacHow to Convert MOV to MP3 on WindowsMP3 vs WMA: Which Format Should You Choose?AAC vs FLAC: Lossy or Lossless — Which to Choose?OGG vs Opus: What's the Difference?Best Audio Format for Discord in 2026Best Audio Format for Video EditingM4A to WAV: How to Convert and WhyHow to Convert FLAC to OGG VorbisHow to Convert AAC to WAV for EditingOpus Audio for Web Developers: A Practical GuidePrivacy-First Audio Conversion: Why Browser-Based MattersHow to Convert WMA to MP3 on WindowsHow to Convert AIFF to MP3 on WindowsHow to Convert OGG to MP3 on WindowsHow to Convert FLAC to MP3 on iPhoneHow to Convert AAC to MP3 on MacHow to Convert M4A to MP3 on Mac: 3 Easy MethodsHow to Convert Audio Files with AudacityHow to Convert Audio Files with VLCAudacity vs AudioUtils: Which Should You Use?WMA vs MP3: Which Sounds Better?OGG vs AAC: Which Audio Codec Is Better?M4A vs OGG: Which Lossy Audio Codec to UseBest Audio Format for Zoom RecordingsBest Audio Format to Use in AudacityBest Audio Format for Voice RecordingGarageBand Audio Formats: What to Use and WhyAudio Sample Rates: 44.1, 48, 96 kHz ExplainedFLAC to AAC: Bitrate Guide and Practical StepsOGG to AAC: Cross-Platform Audio Migration GuideWMA to OGG: Escape the Windows Media EcosystemWMA to FLAC: Lossless Archiving of Your Old WMA LibraryFLAC to Opus: Web Streaming Optimization GuideAIFF to M4A: Apple Production Workflow GuideWAV to AIFF: Windows to Mac Audio WorkflowBest Audio Format for iMovie: Import and Export GuideAdobe Premiere Pro Audio Format GuideLogic Pro Audio Guide: Best Import & Export SettingsOBS Studio Audio Format and Settings GuideTwitch Audio Requirements: Format, Bitrate & QualitySpotify Audio Format: What You Need to KnowYouTube Audio Requirements: Quality, Format & LUFSTikTok Audio Requirements: Format, Bitrate, and QualityBest Audio Format for Ringtones: iPhone and AndroidBest Audio Format for Car USB: MP3, FLAC, or WAV?How to Convert AAC to MP3 on iPhoneHow to Convert FLAC to MP3 on AndroidHow to Convert OGG to MP3 on AndroidHow to Convert WAV to MP3 on iPhoneHow to Convert AIFF to MP3 on iPhoneHow to Convert M4A to MP3 on WindowsOpus to MP3: Complete Conversion GuideFLAC vs Opus: When to Use Each Audio CodecWAV vs MP3: The Honest Quality ComparisonAAC vs. MP3 for Streaming: Which Is Better?Best Audio Format for AudiobooksConvert Audio on Linux: Command Line and Browser OptionsFFmpeg vs. AudioUtils: When to Use EachAudio Formats for Podcast Apps: Spotify, Apple, and MoreHow to Convert Audio Without Installing SoftwareHow to Convert WMA to MP3 on Mac (Step-by-Step Guide)OGG to FLAC: What to Expect from the ConversionAAC to FLAC: Convert and What to ExpectOpus to WAV: How to Convert and Why You Might Need ToWAV to Opus: The Web Developer's Audio GuideOGG vs FLAC: Which Should You Use?Opus vs AAC: Which Codec Is Better?WAV vs FLAC for Archiving: Which Is Best?M4A vs FLAC: Apple AAC vs Lossless Quality ComparedBest Audio Format for Speech-to-Text TranscriptionBest Audio Format for WhatsApp Voice MessagesAudio Formats Windows Media Player Plays NativelyAudio Formats VLC Supports and Its Conversion FeaturesAudio Formats Plex Media Server SupportsKodi Audio Format: What Works & What Needs ConversionAudio Formats for PS4 and PS5 USB PlaybackAudio Formats for Xbox USB PlaybackAudio on Nintendo Switch: Limitations and WorkaroundsMP3 vs AAC for AirPods: Does the Codec Matter?How to Play FLAC on iPhone (iOS 11 and Later)How to Play FLAC on Android NativelyWAV to FLAC: Converting Without Any Quality LossAIFF to WAV: macOS to Windows Audio WorkflowM4A to OGG: Converting Apple Audio to Open-SourceOpus Bitrate Guide: 32, 64, 96, 128, 192 kbps ExplainedReduce Audio File Size Without Losing QualityAudio Format Support on Raspberry Pi with mpd and mopidyBest Audio Format in 2025: The Definitive GuideIs yt-dlp Legal? What You Need to KnowLegal Ways to Download Music for Offline ListeningCreative Commons Music for Content Creators: Full GuideWMA to MP3: What to Expect and How to ConvertAIFF to MP3: GarageBand Exports and Quality SettingsMP3 vs. WAV for Podcasting: Which Format to UseBest Audio Format for Discord: Opus, MP3, and File LimitsBest Audio Format for TikTok: Specs and Upload TipsBest Audio Format for Instagram Reels and StoriesHow to Convert Audio on Mac: GarageBand & QuickTimeHow to Convert Audio on iPhone: Files App & BrowserHow to Batch Convert Audio Files: FFmpeg & BrowserAudio File Too Large? How to Reduce Audio File SizeAudio Formats for Zoom: Recordings, Uploads, and SharingExtract Audio from MP4 Without Software (Browser Method)VBR vs CBR for MP3: When Each Mode Is the Right ChoiceMP3 128 kbps vs 320 kbps: Does the Difference Matter?FLAC vs WAV for Music Production: The Practical AnswerM4A vs MP3 for iPhone: Which Format to Use and WhenOGG Vorbis vs MP3: Quality, Compatibility & When OGG WinsBest Audio Format for YouTube Uploads in 2026Best Audio Format for Audacity: Import, Edit, and ExportBest Audio Format for Premiere Pro: Timelines & ExportHow to Convert iPhone Voice Memo to MP3 (Free, No App)How to Convert Zoom Recording to MP3 (M4A or MP4 Export)How to Convert Google Meet Recording to MP3Why Is My Audio File So Large? How to Reduce ItLossless Audio: Is It Worth It? The Honest AnswerHow to Extract Audio from a Zoom Webinar RecordingMP3 File Corrupted: How to Diagnose and Fix ItAudio Format for Spotify: Upload Specs & What HappensBest Free Audio Converter: Browser-Based vs DesktopHow to Compress Audio in Audacity: Size & DynamicsFFmpeg Compress Audio: MP3, FLAC, Opus & AAC One-LinersCompress MP3 Without Losing Quality: What's PossibleHow to Make a Ringtone From an MP3 (iPhone & Android)How to Trim an MP3 Without Losing QualityHow to Cut Audio in Audacity (2026 Step-by-Step)How to Merge Audio Files: Three Real MethodsHow to Remove Vocals From a Song (Honest 2026 Guide)How to Record Audio on Mac: 2026 GuideHow to Record Audio on Windows: 2026 GuideHow to Record Audio on iPhone: 2026 GuideHow to Edit MP3 Metadata: Tools & WorkflowsHow to Find BPM of a Song: 5 MethodsHow to Split Audio Files: 3 Methods That Work