Free FLAC sample, test and dummy files
Lossless compressed audio: every sample of the original is recovered exactly. Download valid FLAC test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.
- Extension
- .flac
- MIME type
- audio/flac
- Kind
- Binary
- Category
- Audio
Create a FLAC file of any size
Choose any size from 185 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.
FLAC files by size
Every file below is a valid Free Lossless Audio Codec file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.
| File | Size | Contents | Download |
|---|---|---|---|
| 1 KB FLAC samplesample-flac-1kb.flac | 1 KB1,024 bytes | Duration: 0.0 s | Download FLAC |
| 5 KB FLAC samplesample-flac-5kb.flac | 5 KB5,120 bytes | Duration: 0.0 s | Download FLAC |
| 10 KB FLAC samplesample-flac-10kb.flac | 10 KB10,240 bytes | Duration: 0.1 s | Download FLAC |
| 25 KB FLAC samplesample-flac-25kb.flac | 25 KB25,600 bytes | Duration: 0.1 s | Download FLAC |
| 50 KB FLAC samplesample-flac-50kb.flac | 50 KB51,200 bytes | Duration: 0.3 s | Download FLAC |
| 100 KB FLAC samplesample-flac-100kb.flac | 100 KB102,400 bytes | Duration: 0.6 s | Download FLAC |
| 200 KB FLAC samplesample-flac-200kb.flac | 200 KB204,800 bytes | Duration: 1.2 s | Download FLAC |
| 500 KB FLAC samplesample-flac-500kb.flac | 500 KB512,000 bytes | Duration: 2.9 s | Download FLAC |
| 1 MB FLAC samplesample-flac-1mb.flac | 1 MB1,048,576 bytes | Duration: 5.9 s | Download FLAC |
| 2 MB FLAC samplesample-flac-2mb.flac | 2 MB2,097,152 bytes | Duration: 11.9 s | Download FLAC |
| 3 MB FLAC samplesample-flac-3mb.flac | 3 MB3,145,728 bytes | Duration: 17.8 s | Download FLAC |
| 5 MB FLAC samplesample-flac-5mb.flac | 5 MB5,242,880 bytes | 29.7 s | Download FLAC |
| 10 MB FLAC samplesample-flac-10mb.flac | 10 MB10,485,760 bytes | Duration: 59.4 s | Download FLAC |
| 15 MB FLAC samplesample-flac-15mb.flac | 15 MB15,728,640 bytes | Duration: 1 min 29 s | Download FLAC |
| 20 MB FLAC samplesample-flac-20mb.flac | 20 MB20,971,520 bytes | Duration: 1 min 59 s | Download FLAC |
| 25 MB FLAC samplesample-flac-25mb.flac | 25 MB26,214,400 bytes | Duration: 2 min 29 s | Download FLAC |
| 30 MB FLAC samplesample-flac-30mb.flac | 30 MB31,457,280 bytes | Duration: 2 min 58 s | Download FLAC |
| 50 MB FLAC samplesample-flac-50mb.flac | 50 MB52,428,800 bytes | Duration: 4 min 57 s | Download FLAC |
| 100 MB FLAC samplesample-flac-100mb.flac | 100 MB104,857,600 bytes | Duration: 9 min 54 s | Download FLAC |
What is a FLAC file?
FLAC compresses audio without discarding anything. It predicts each sample from the ones before it and stores only the difference, which typically brings music down to between half and two thirds of its size as WAV. Decoding gives back the original samples bit for bit.
A file starts with the marker "fLaC" and a STREAMINFO block that records the sample rate, the channels, the total number of samples and an MD5 checksum of the decoded audio. Tags, cover art and padding follow in further metadata blocks, and then the audio in frames that each carry their own checksum.
How to recognise a FLAC file
Software recognises a FLAC file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.
| Extension | .flac |
|---|---|
| MIME type | audio/flac |
| Also seen as | audio/x-flac |
| Standard | RFC 9639 (2024) |
| Compression | Lossless; linear prediction with Rice coding |
| Sample formats | 4 to 32 bits per sample, up to 8 channels |
| Metadata | STREAMINFO, Vorbis comments, pictures, padding, seek table |
What to test for
These are the behaviours that most often go wrong when software handles FLAC files.
- Some tagging tools put an ID3 tag in front of the stream. The signature then no longer sits at byte 0, and a strict parser rejects a file that most players accept.
- The MD5 checksum in STREAMINFO lets software prove that a decode is correct, yet few applications check it. A value of all zeros means the encoder did not record one.
- Cover art lives in the metadata, so a three-minute song can carry several megabytes before its first audio frame.
Strengths of FLAC
- Lossless: decoding returns the original samples exactly, at roughly half the size of WAV.
- Checksums in every frame and for the whole stream make corruption detectable.
Limitations of FLAC
- Several times larger than MP3 or AAC at transparent quality.
- Encoding takes more processing than writing raw PCM.
Typical uses of FLAC test files
- Testing audio upload where lossless input is accepted
- Checking transcoding to MP3, AAC or Opus
- Verifying duration and tag reading
- Testing that a decode matches the stored MD5 checksum
Software that opens FLAC
- Chrome, Firefox, Safari and Edge
- VLC, foobar2000 and most media players
- Android, iOS and Windows, natively
- FFmpeg and the reference flac tool
Specifications
Related
FLAC sample files: questions
- Why are the FLAC samples about as large as the WAV samples?
- To reach an exact byte count, the samples store their audio in "verbatim" subframes, the uncompressed form FLAC falls back on when prediction does not help. The files are fully valid, and decode to exactly the same samples as the WAV files.
- What audio is on the FLAC samples?
- A short synthesised musical phrase that repeats, as 16-bit stereo at 44,100 Hz. It was generated by code for this site and is free of any music copyright.
- What is the MIME type of a FLAC file?
- The MIME type is audio/flac. You will also meet audio/x-flac in practice. The file extension is .flac.
- Is a sample FLAC file the same as a dummy or example FLAC file?
- Yes. Sample, test, dummy and example FLAC files are different names for the same thing: a FLAC file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy FLAC file.