Download a sample FLAC audio file of any size
Get a playable FLAC file with a 440 Hz tone. Most of the size is real audio frames; a standard PADDING block takes the rest.
1 MB = 1,000,000 B · 1 MiB = 1,048,576 B
Advanced: test an upload limit
Enter the byte limit above, then choose one byte below, the exact limit or one byte above. Each choice uses the same base: 10,485,760 B. Generate and download each file to test your endpoint.
How is the sample FLAC file built?
Each file starts with fLaC, a STREAMINFO block and a PADDING block, then audio frames of 16-bit mono samples at 44,100 Hz. Frames use the verbatim subframe type, so they decode without any prediction step, and each frame carries correct CRC-8 and CRC-16 checks. The PADDING block is the format's own way to reserve space, so the exact size needs no tricks.
The smallest valid FLAC file is 567 bytes; any byte count from there up to 2 GiB can be selected. MIME type: audio/flac.
Which FLAC size do you need?
What is inside a 1 MiB FLAC file?
The 1 MiB sample has 127 frames of 4,096 samples, 520,192 samples or 11.80 seconds of audio, and a PADDING block of 7,003 bytes. ffmpeg decodes it with no errors and ffprobe reports flac, 44100 Hz, 1 channel. Files under 200 KB use 256-sample frames so even small files contain playable audio.
When is a sample FLAC file useful?
- Testing music and podcast uploads that accept lossless audio.
- Checking that a transcoder reads FLAC metadata and duration correctly.
- Testing players and browsers that should play FLAC natively.
Questions about FLAC test files
Will it play in a browser?
Yes. Chrome, Edge, Firefox and Safari play FLAC files directly.
Why is it not compressed like a normal FLAC?
The frames are stored verbatim so the generator stays small and exact. Re-encode with flac -8 to see the compressed size of the same tone.
Format reference and related tools
Format reference: RFC 9639, FLAC.
Other formats in this family (Media): WAV · MP3 · MP4 · AIFF.
Related: WAV test files · MP3 test files · Bytes to MB converter
Noticed an issue with this test file? Report an issue →