DDS to PNG Converter

Read a DDS texture in your browser and save it as a lossless PNG.

or drop files here

DD

DDS Format

DirectDraw Surface

A Microsoft container format for textures and cubemaps, originally from DirectX. It commonly stores GPU-compressed data in the DXT/BC block formats, with optional mipmaps.

  • GPU block compression (DXT/BC)
  • Mipmaps
  • Cubemaps
  • Alpha channel
PN

PNG Format

Portable Network Graphics

A lossless raster image format developed in the mid-1990s as a patent-free replacement for GIF and standardized as ISO/IEC 15948 and a W3C Recommendation.

  • Lossless compression
  • Alpha transparency
  • 8-bit and 16-bit channels
  • Supported by every browser

How to convert DDS to PNG

Follow these steps to convert DDS to PNG online.

    1

    Choose your DDS file, or several at once.

    2

    Wait while the converter turns each file into PNG.

    3

    Download each new PNG file. Your original file isn't changed.

What to know before converting DDS to PNG

  • The PNG is lossless, but a DDS built with DXT/BC compression already lost some detail when it was made.
  • A DDS with mipmaps, a cube map or a volume texture gives a single PNG per file.
  • The file is read with ImageMagick in your browser, so nothing is uploaded.
  • A picture over roughly 537 megapixels fails with a message instead of converting.
  • Choose several DDS files at once and each downloads as its own PNG.

About DDS files

What is a DDS file?

DirectDraw Surface, or DDS, is Microsoft's texture-file format, which came out of DirectX. Games use it for textures that a graphics card can load without further work. Inside, a DDS may store plain pixels or compressed texture data, usually in the DXT or BC block formats. Its listed uses are game textures, GPU-ready assets, and cubemaps and volume textures.

The file can also carry a mipmap chain next to its largest surface, plus cube maps and volume textures. Direct3D 10 and 11 added a second header, the DX10 extension, which covers texture arrays and pixel formats that the original header structure cannot express. An ordinary DDS is at least 128 bytes long because of its header, and 148 bytes when the DX10 extension is present.

Programs that open DDS files

Windows, Mac and Linux

  • GIMP has handled DDS in its core plug-ins since version 2.10.10, so it loads and exports DDS out of the box.
  • ImageMagick reads and writes DDS, and its documentation covers DXT compression and mipmap options.

DDS and PNG compared

  • Extensions: .dds and .png. PNG's media type is image/png.
  • Compression: a DDS commonly keeps GPU block data in the DXT/BC formats. PNG always compresses losslessly.
  • Mipmaps and extras: DDS can hold mipmaps, cube maps and volumes. A PNG holds a single picture.
  • Alpha: both can carry an alpha channel.
  • Color depth: PNG stores between 1 and 16 bits per sample.
  • Support: every major browser displays PNG.
  • Extension headers: the DX10 header of a DDS describes formats the original header cannot, and a PNG has no counterpart for it.
  • Typical use: DDS holds game textures and other assets that are ready for a GPU. PNG is used for screenshots, interface graphics and logos.

This converter swaps a texture file for an ordinary picture. Detail that DXT compression dropped when the texture was made does not come back.

Other ways to convert DDS to PNG

  • Microsoft DirectXTex (texconv): run texconv -ft png input.dds. The -ft option sets the output type, which can also be bmp, jpg, tga, hdr, tif, wdp or ppm, and -o names the output directory. The --ignore-mips flag loads only the top mip level, which the texconv page suggests for malformed files that are missing data.
  • GIMP: load the DDS and pick File > Export As, then enter the name texture.png. GIMP loads DDS from version 2.10.10 on, and clicking Export opens the options for the PNG format.
  • ImageMagick: run magick input.dds output.png. The format list marks DDS as readable and writable, with DXT and mipmap options, and notes that PNG needs libpng.

Problems with DDS files

  • The file won't open in an editor: some DDS readers reject the DX10 header extension, while legacy RGB or DXT1 to DXT5 headers work in more tools. Re-export the texture with one of those.
  • The file is cut short: a truncated header makes a DDS invalid, because the header alone needs 128 bytes, or 148 with the DX10 extension. Copy the file again from its source.
  • Only one picture comes out: a DDS asset can hold a mipmap chain beside its largest surface, and cube maps and volume textures hold several faces or slices. A PNG holds a single image, so it cannot carry all of them.
  • A garbled picture: wrong pitch information, the number of bytes in a row, corrupts how a reader splits scan lines. Microsoft recommends computing the pitch for the stored pixel format.
  • A header that is nonstandard: texconv's --permissive option lets it load some malformed and variant headers that it would otherwise refuse.
  • Older DXTn files with short mip blocks: the smallest mip levels of some old files are slightly short. texconv's --bad-tails option copies the 4x4 data into those levels, which avoids corrupted data though it is not a full recompute.
  • A BC texture whose top level isn't a multiple of 4: Direct3D requires a multiple of 4, and texconv's --fix-bc-4x4 option resizes such images, after which the mipmaps need regenerating.
  • Legacy 24-bit files: texconv has a -dword option for old DWORD-aligned files, which are typically 24 bits per pixel.
  • Typeless pixel formats: texconv's page warns that typeless formats will generally fail most operations, with -tu and -tf available to treat them as UNORM or float.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert DDS to PNG?

Can I convert a whole folder of DDS files?

What happens to the mipmaps of my texture?

Does a cube map or volume texture become several PNGs?

Is the PNG lossless?

Is there a size limit for the DDS?

Can I get the DDS back from the PNG?

Which programs open DDS directly?

What is a DDS file?

Does converting change my DDS file?