PNG to QOI Converter

Add a PNG and get a QOI with exactly the same pixels, see-through edges included.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

How it works
  1. The PNG's packing is undone
  2. QOI packs the same pixels its own way
  3. Nothing in the picture changes

What it does

Identical, edges and all

Read back, the star's QOI matched the PNG at every pixel, the 467 partly clear ones around its rim included.

The star, as a QOI: 0 of 65,536 pixels changed

Just the picture

A QOI's header has room for the width, height, channels and color space and nothing else, so a PNG's color profile or text notes don't come along.

Limits QOI keeps 8 bits for each color, so a 16-bit PNG, the kind some photo and scanning programs save, loses its in-between shades.

Will your PNG get smaller as a QOI?

Sometimes. The pixels come through exactly either way, but the size can go up or down, and it depends on what's in the picture.

Why can't anyone promise a smaller file?

PNG and QOI differ in how far back they look while packing.

PNG has a long memory. While it packs, it can point back to anything in the last 32 KB of picture data and say "the same as there", so a button, a word or a row of icons that appears twice gets stored once. QOI remembers only the pixel just before and 64 colors it has seen lately. That makes it quick to write and to read back, and plain long stretches of one color pack very well. What it can't do is notice that a whole patch repeats from further up.

So the answer depends on your PNG. A picture of a few flat colors tends to suit QOI; a screenshot full of repeated text and buttons tends to suit PNG.

The star came out lighter as a QOI, the screenshot heavier

Star icon

PNG 13.3 KB
QOI 8.3 KB

Screenshot

PNG 35.2 KB
QOI 47.2 KB

File size, KB

Each PNG is the file as we had it; each QOI came from FluffyBench's QOI encoder. How we measured

Our star, a 13.3 KB PNG of a few flat colors, came out at 8.3 KB as a QOI. A screenshot of our tools page went the other way, from 35.2 KB to 47.2 KB. Those are two pictures, not a rule, and how tightly the PNG was packed in the first place matters too.

Seeing which way your PNG goes

The tool shows both sizes once it's done, so you know before you download.

  1. Choose images, then the PNG you want to try.

  2. Press Convert 1 to QOI.

  3. Compare the two sizes on the line above the result: the PNG's comes first, the QOI's after the arrow.

  4. If the QOI is the smaller of the two, press Download.

If the QOI came out bigger and nothing needs it to be a QOI, the PNG you started with is the lighter exact copy. Keep that one.

What if the program wants another plain format?

Older game and texture tools often expect a TGA.

The game engine or tool you're feeding lists TGA and not QOI.

FluffyBench's PNG to TGA converter

A TGA keeps the pixels and the see-through parts just as exactly, in a much bigger file.

Search FluffyBench