KTX and KTX2 converter

Convert KTX images to PNG; transparency is preserved.

FluffyShield Protected workspace
From
To

KTX input converts only the base image.

Choosing a format opens another page, set to that conversion. Images you've added here come along. Finished files don't, so download them first.

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 does a KTX or KTX2 texture become a picture you can share?

FluffyBench reads both kinds, the older KTX and the newer KTX2, and saves the main picture as a PNG, JPG or WebP. It can also turn a PNG or JPG into a texture, though only the older KTX kind.

How it works
  1. Add your KTX or KTX2 texture
  2. Choose PNG, JPG or WebP
  3. Convert
  4. Download your picture

What it does

Reads KTX 1.0 and KTX2

Opens both kinds, including KTX2 files packed with Basis data.

Plain-pixel KTX: 0 of 65,536 pixels changed

Saves KTX 1.0

Turn a PNG or JPG into a KTX texture. KTX2 can be read but not written.

Stays on your device

The texture is read and converted in your browser.

Limits Cubemaps need the Image Extractor.

What's the difference between KTX and KTX2?

Think of a KTX file as a shipping crate for a picture that a graphics card will use directly. The picture rides along with smaller copies of itself, which the card swaps in when an object is far away. That's why you can't open one in a photo app or drop it into a document.

There are two kinds of crate. KTX 1.0 is the older one from the OpenGL days and still turns up in older asset sets. KTX2 is the newer one. It can hold Basis Universal data, either the smaller ETC1S kind or the higher-quality UASTC kind, which lets a single file serve both desktop and phone graphics cards. You'll mostly find both in game and 3D app folders, not in anything an image editor made.

Need a Valve VTF texture instead?

How big is the picture from a KTX2 file?

Bigger than the texture, if you pick PNG. Our smallest KTX2 file, a Basis ETC1S texture, became a PNG about 4 times its size. Here are both KTX2 test textures and the pictures FluffyBench made from them.

Both PNGs outgrew their KTX2 files; the ETC1S PNG was 4 times its size

Basis ETC1S texture

KTX2 file 11.4 KB
PNG 45.7 KB
WebP 17.8 KB
JPG 22.3 KB

Basis UASTC texture

KTX2 file 87.9 KB
PNG 99.9 KB
WebP 18.0 KB
JPG 20.9 KB

File size, KB

Each KTX2 file next to the pictures FluffyBench makes from it; sizes are rounded to 0.1 KB. How we measured

That's expected. A KTX2 file is shorthand for a graphics card, and ETC1S is the tighter of its two kinds. A PNG has to describe every pixel again, so it grows. If you only need to look at the picture or share it, WebP and JPG stay much smaller.

Need a DirectX texture container instead?

How much detail does a compressed KTX 1.0 texture keep?

Size is one difference; detail is the other. A compressed KTX 1.0 texture comes back close to the picture it was made from, but not identical. It loses detail the same way a DDS texture does: the shorthand gave some up when the texture was made, and converting can't bring it back.

The Lassen Peak photo from the DXT1 KTX file, with a white square around a patch of mountain slope and trees.

The DXT1 photo

The square marks the patch we enlarged. Both close-ups show this square of the full-size picture. The smaller copies in the file aren't read. · Photo: NPS Photo, Public domain, U.S. federal work; Public Domain Mark 1.0, via Wikimedia Commons / National Park Service.

Here's the same patch of our photo from an uncompressed KTX and from a DXT1 one, each enlarged so the pixels show.

The marked patch from the uncompressed KTX file, enlarged: the rocky top of the slope and dark trees below.

Uncompressed

The same patch from the DXT1 KTX file, with slightly softer edges.

DXT1

Close-ups cropped from the PNG files FluffyBench saved; every pixel is enlarged without smoothing. In the uncompressed KTX, 0 of 65,536 pixels changed when it became a PNG. In the DXT1 one, 65,366 of 65,536 pixels changed, by about 3.3 steps out of 255 on average per color channel. The DXT1 file is 32.8 KB; the uncompressed one is 262.2 KB. · Photo: NPS Photo, Public domain, U.S. federal work; Public Domain Mark 1.0, via Wikimedia Commons / National Park Service.

Doing it in FluffyBench's KTX and KTX2 converter

FluffyBench's KTX and KTX2 converter handles both kinds the same way: add the file, check the size, convert and save. Nothing is uploaded.

  1. Add your KTX or KTX2 texture. From shows the KTX texture you added, and To shows PNG, the picture you'll get.

  2. Keep Size on Original to keep the texture's width and height.

    The Size control set to Original, outlined.
    The Size control set to Original, outlined.
  3. Close Settings with the Settings button, then press Convert to make the PNG copy.

  4. The summary compares the KTX size with the PNG size. Download saves the PNG to your device.

    The summary line and the finished PNG, with the Download button outlined.
    The summary line and the finished PNG, with the Download button outlined.

Big batches work too. We converted 1,000 copies of one KTX texture in one go, and all of them finished in 10 s.

Saving a KTX works the other way: press the swap button between From and To, then add a PNG or JPG. FluffyBench always writes KTX 1.0, never KTX2. With Texture format on Auto, an opaque picture becomes BC1 and one with transparency becomes BC3, and Generate mipmaps starts on. Our opaque photo came out at 43.8 KB, and the transparent Earth picture at 87.5 KB.

Why might a KTX file fail to open?

A cubemap holds six pictures, one for each face of a box around a scene, so FluffyBench stops with “KTX cubemap textures are not handled by this converter.” A cut-off KTX fails with “The KTX base mip payload is truncated.” A damaged KTX2 fails with “The local Basis transcoder rejected this KTX2 file.”

Whichever file you convert, keep the original texture for your engine; the picture is just a copy.

Your texture is a cubemap, or you want its smaller mip levels.

FluffyBench's Image Extractor

It saves each face, layer and mip level as its own PNG.

The picture is too big for an upload.

FluffyBench's Image Space Saver

It makes a smaller copy that fits the size limit.

Search FluffyBench