phoboslab/qoa

The “Quite OK Audio Format” for fast, lossy audio compression

976

stars

95

commits

C

primary language

Jul 19, 2026

updated

README

QOA Logo

QOA - The “Quite OK Audio Format” for fast, lossy audio compression

Single-file MIT licensed library for C/C++

See qoa.h for the documentation and format specification.

More info at: https://qoaformat.org

Audio samples in WAV & QOA format can be found at: https://qoaformat.org/samples/

⚠️ This implementation has not yet been fuzzed. Don't use it with untrusted input.

Compiling

Call make to build qoaconv and qoaplay. By default qoaconv is compiled without MP3 and FLAC support.

To compile qoaconv with MP3 and FLAC support, download the dr_*.h files and pass HAS_DRLIBS=true to make:

curl https://raw.githubusercontent.com/mackron/dr_libs/refs/heads/master/dr_mp3.h -o dr_mp3.h
curl https://raw.githubusercontent.com/mackron/dr_libs/refs/heads/master/dr_flac.h -o dr_flac.h
make HAS_DRLIBS=true

Alternative Implementations of QOA

QOA Support in Other Software

Contributors

phoboslab

62 commits

pfusik

6 commits

DeeJayLSP

3 commits

kieselsteini

3 commits

phoboslab/qoa

The “Quite OK Audio Format” for fast, lossy audio compression

976

stars

95

commits

C

primary language

Jul 19, 2026

updated

README

QOA Logo

QOA - The “Quite OK Audio Format” for fast, lossy audio compression

Single-file MIT licensed library for C/C++

See qoa.h for the documentation and format specification.

More info at: https://qoaformat.org

Audio samples in WAV & QOA format can be found at: https://qoaformat.org/samples/

⚠️ This implementation has not yet been fuzzed. Don't use it with untrusted input.

Compiling

Call make to build qoaconv and qoaplay. By default qoaconv is compiled without MP3 and FLAC support.

To compile qoaconv with MP3 and FLAC support, download the dr_*.h files and pass HAS_DRLIBS=true to make:

curl https://raw.githubusercontent.com/mackron/dr_libs/refs/heads/master/dr_mp3.h -o dr_mp3.h
curl https://raw.githubusercontent.com/mackron/dr_libs/refs/heads/master/dr_flac.h -o dr_flac.h
make HAS_DRLIBS=true

Alternative Implementations of QOA

QOA Support in Other Software

Contributors

phoboslab

62 commits

pfusik

6 commits

DeeJayLSP

3 commits

kieselsteini

3 commits

Languages

C

96.9%

Makefile

3.1%