.qoi

What is a .qoi file?

QOI is a simple lossless image format designed for extremely fast encoding and decoding.

Safe format
Type Image
By Dominic Szablewski
MIME image/qoi

Drop any file to identify it

No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.

What is it

QOI's pitch is refreshing: it's a lossless image format with a specification that fits on a single page and an encoder/decoder that takes about 300 lines of code. Created by Dominic Szablewski in 2021, it went viral in the programming community because it proved that a simple format could compress comparably to PNG while encoding and decoding 3-4x faster.

The format uses a handful of simple operations — run-length encoding, pixel differencing, and a small hash table — to achieve compression ratios within 10-20% of PNG. It won't beat optimised PNG tools like ZopfliPNG, but it crushes them on speed. For game engines, real-time applications, and any context where encoding/decoding speed matters more than file size, QOI is compelling.

Adoption is niche but enthusiastic. Several game engines have adopted QOI for runtime texture loading. The reference implementation is public domain. For general image sharing, PNG remains the better choice (smaller files, universal support). QOI is for developers who care about codec performance and appreciate elegant engineering.

Technical details
Full Name
Quite OK Image Format
MIME Type
image/qoi
Developer
Dominic Szablewski
Magic Bytes
71 6F 69 66
Safety
.qoi is a known, safe format. Image data only. No executable content.
What opens it
XnView
FREE Windows / Mac / Linux
IrfanView (+ plugin)
FREE Windows
FAQ
Is QOI better than PNG?
QOI encodes and decodes 3-4x faster than PNG, making it great for real-time applications. PNG produces slightly smaller files and has universal support. QOI is for speed-critical developer use cases; PNG is for everything else.
Can browsers display QOI images?
No. QOI has no browser support. It's primarily a developer-oriented format for game engines and real-time applications. For web use, stick with PNG, WebP, or AVIF.
Related formats