KTX2 to PNG Converter

Add a KTX2 texture and get its full-size picture as a PNG, every pixel exactly as the texture holds it.

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

PNG options here: browser or advanced encoder; RGBA, RGB, grayscale or indexed color; 8- or 16-bit; Fast, Balanced or Maximum compression; interlacing. Which PNG settings are worth changing?

How it works
  1. The texture is unpacked in your browser
  2. Its full-size picture becomes plain colors
  3. Each color goes into the PNG unchanged

What it does

No second rounding

The PNG stores each unpacked pixel exactly. Any see-through part of the texture stays see-through.

Right way up

Some textures are stored with their rows bottom to top, and say so in a note inside the file. The converter reads the note and turns the picture upright.

Limits A cube map gives only its first face, and 3D textures aren't opened.

Is the PNG of a KTX2 texture as good as the original picture?

It's exactly as good as the texture, and no better: it can't put back what the texture gave up when it was made.

What happens to the colors on the way to a PNG?

You've found a .ktx2 file in a 3D model or a game folder, and you want to see the picture inside, or touch it up in an image editor. The PNG you get is the texture's picture exactly, pixel for pixel. That's not quite the same as the picture the texture was made from.

Think of photocopying a fax. The copier adds no smudges of its own, but it can't clean up the ones the fax machine left. Whoever made the texture sent the original picture through the fax: a KTX2 usually keeps its picture in Basis Universal form, a packed shorthand that graphics cards can unpack quickly, and packing it that small means rounding some colors off. FluffyBench unpacks that shorthand into plain colors on your device, and the PNG writes every one of them down without rounding anything further.

Why do two KTX2 files of one picture give such different PNGs?

Because Basis Universal comes in two strengths, and the PNG shows which one was used. ETC1S packs hard: each 4-by-4 tile of pixels gets four shades of a single color at most, and the file is squeezed again on top. UASTC gives every tile far more freedom. Our two test textures hold the same 256-pixel photo of trees, one in each kind. Unpacked, the ETC1S picture has 391 different colors and the UASTC one 2,275.

The same trees, two PNGs: the ETC1S one is under half the size

PNG from the ETC1S texture 45.7 KB
PNG from the UASTC texture 99.9 KB

PNG size, KB

Fewer colors leave a PNG less to describe, so the faxed-down picture makes the lighter file. How we measured

None of that missing detail comes back in the PNG. If you also have the picture the texture was made from, edit that one. If the texture is all you have, the PNG is the most faithful copy you can get, and it's the one to work from. The ETC1S texture itself is only 11.4 KB, so its PNG comes out several times bigger. That's the shorthand being written out in full, not something going wrong.

Saving the texture's picture with FluffyBench

The tool at the top of this page already reads KTX2 and writes PNG. PNG's own settings can stay as they are.

  1. Above the tool, From should read KTX2 and To should read PNG.

    The format bar above the tool, From set to KTX2 and To set to PNG, with To outlined.
    The format bar above the tool, From set to KTX2 and To set to PNG, with To outlined.
  2. Choose images opens your files. Pick the .ktx2; several textures can go in at once.

  3. Press Convert 1 to PNG.

  4. Press the arrow button at the end of the finished card to save the PNG.

What if you need more than one picture, or a texture again?

You want each face of a cube map, each layer, or the smaller copies for distant views.

FluffyBench's Extract Images from Textures tool

It saves every picture in the file as its own PNG, where this converter keeps only the full-size one.

You've edited the PNG and need a texture for your engine.

FluffyBench's KTX and KTX2 converter

Swap its From and To and it writes a texture from a PNG, though only the older KTX 1.0 kind, not KTX2.

The PNG is too heavy to send to someone.

FluffyBench's KTX2 to JPG converter

A JPG rounds the colors once more, slightly, and comes out far lighter.

Search FluffyBench