DDS KTX2
File conversion

Convert DDS to KTX2

QUICK ANSWER
Is it possible to convert DDS to KTX2?
Yes - DDS converts to KTX2.

Decode the .dds to a PNG intermediate using texconv (DirectXTex), then encode the PNG to .ktx2 using toktx (KTX-Software). Both tools are free and open-source and run on Windows, macOS, and Linux.

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert DDS to KTX2?

KTX2 is the preferred texture container for glTF 2.0 assets and what engines like Babylon.js, Three.js, and Godot 4 expect for hardware-compressed textures on the web. Moving textures from a DirectX-based pipeline to a cross-platform 3D engine makes .ktx2 the correct target over the Windows-centric DDS format.

How to convert DDS to KTX2

texconv + toktx FREE

Use texconv (DirectXTex) to decode the .dds to PNG, then encode the PNG to .ktx2 with toktx (KTX-Software); both tools also run on macOS and Linux.

GIMP OPEN-SOURCE

Open the .dds in GIMP to inspect or edit it, export to PNG, then pass the PNG to toktx for final KTX2 encoding.

About these formats

Quality & what to watch

  • Re-encoding from one GPU-compressed format to another requires a decode step; use lossless PNG as the intermediate to avoid additional quality loss.
  • toktx supports UASTC supercompression for higher quality and ETC1S for smaller files - choose based on your target hardware and engine requirements.
  • Some versions of toktx accept DDS input directly and can wrap existing block-compressed data into KTX2 without re-encoding; check the toktx documentation for your release.

Frequently asked questions

Can I convert DDS to KTX2 without the command line?
GIMP can open DDS for inspection and editing, but KTX2 encoding still requires toktx - there is no GUI-only path.
Will I lose quality converting DDS to KTX2?
Decoding to a lossless PNG intermediate is lossless; quality loss only comes from the final KTX2 re-encoding step.
Are mipmaps preserved in the conversion?
Yes - toktx can preserve mipmap chains from the DDS or regenerate them from the base level using the --genmipmap flag.