TGA to QOI

Nothing you choose here leaves your browser. There is no server to send it to — the conversion happens on your own device, using the codecs your browser already has, and nothing is uploaded, stored or seen by anyone.

…or drop files anywhere on this page.

What this conversion costs you

Every conversion throws something away, and this one is no exception. Here is exactly what, before you do it.

The metadata. Going through a canvas drops EXIF, so the camera, the date and any GPS coordinates do not survive. That is a side effect rather than a feature, and a useful one.

How it works, and why nothing is uploaded

Your browser can already read TGA. No browser reads or writes QOI at all, so this page does both itself. QOI is small enough to implement directly — a fourteen-byte header and six kinds of chunk — which means there is nothing to download and nothing to wait for. It was checked against the format's own reference images, and produces the same bytes as the reference encoder on six of the eight.

It also means the page can tell you when your browser cannot do it, which it will say plainly rather than producing a broken file. The one thing it will never do is hand you a file with the wrong contents: browsers quietly return a PNG when asked for a format they cannot write, so every conversion here checks what came back and refuses if it is not what was asked for.

Where to go next

The same conversion, the other way round, and the other targets:

What this does not do

It converts one picture at a time from each file, and does not edit, crop or retouch. It cannot convert a format your browser cannot read — JPEG XL, QOI and HEIC all need something extra, and HEIC has a page of its own.

It does not upload anything, so it cannot work on a file that is not on the device you are using. And it does not preserve metadata: if you need the EXIF kept, this is the wrong tool, and if you wanted it gone, this is a convenient way to do it.