Audio to FLAC Converter (Lossless)

Decodes an audio file with your browser and writes it back as FLAC, the lossless format. The encoder is hand-written code that runs on your device.

Use the tool

Why this tool exists

FLAC stores audio in about half the space of a WAV file without changing a single sample. That makes it a good archive format for recordings you made yourself, for sample libraries and for masters that you want to keep.

This tool encodes with fixed predictors and Rice coding, picks the best stereo mode for each block, and checks out against standard decoders. The compression is a little weaker than the reference encoder at its highest setting. Converting a lossy file such as an MP3 to FLAC keeps the lossy sound; it cannot bring back what was thrown away.

How to use it

  1. Choose an audio file your browser can play.
  2. Pick 16 or 24 bit.
  3. Press Run and wait for the result.
  4. Download the .flac file.

Frequently asked questions

Is this really lossless?

Yes. Decoding the FLAC gives back exactly the samples the browser decoded from your file, rounded to the bit depth you chose.

Why not MP3 or OGG output?

Those need an encoder, and browsers do not expose one. This site ships no third-party code, so only lossless FLAC and WAV are offered.

Why is the MD5 field empty?

The FLAC format allows an all-zero MD5, meaning unknown. Players and decoders do not require it.

How big will the file be?

Typically 50 to 70 percent of the raw PCM size, less for quiet or simple material and more for noisy recordings.