PNG to DDS Converter

Turn a PNG image into a DDS texture file, right in your browser.

or drop files here

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
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

How to convert PNG to DDS

Follow these steps to convert PNG to DDS online.

    1

    Choose your PNG file, or several at once.

    2

    Wait while the converter turns each file into DDS.

    3

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

What to know before converting PNG to DDS

  • The page has no settings for the DDS compression format or for mipmaps.
  • The pixels pass through 8-bit color, so the extra depth of a 16-bit PNG is lost.
  • Only the first frame of an animated PNG is used.
  • EXIF, ICC and XMP metadata is not carried into the DDS.
  • Each PNG becomes its own DDS, downloaded one by one.
  • Your browser does the work, so the PNG isn't uploaded.

About PNG and DDS files

What is a PNG file?

Portable Network Graphics, shortened to PNG, began as a patent-free answer to GIF. October 1996 brought its W3C Recommendation, the first for any format, and RFC 2083 and ISO/IEC 15948:2004 followed. Its compression, DEFLATE, is always lossless, so a PNG can be saved again with no loss of pixels. Every PNG opens with a fixed signature and then runs as a series of chunks: IHDR holds the header, IDAT the image data and IEND ends the file.

Indexed, grayscale and truecolor images are all allowed, using 1 to 16 bits per sample and optionally an alpha channel that gives each pixel its own transparency. Animated PNG (APNG) is covered by the current specification too, and software with no animation support shows the default still image instead. image/png is the media type, and animated files use image/apng. Browsers all display PNG, and screenshots on macOS are saved as PNG unless you change it.

Programs that open PNG files

Linux, Mac and Windows

  • GIMP: brings PNG in for editing.
  • ImageMagick: reads PNG, so check which formats your install supports.

Web

  • Mozilla Firefox shows PNG pictures.

Web and Mobile

  • Google Chrome shows PNG pictures.

Mobile

  • Safari displays PNG on phones and tablets.

PNG and DDS compared

  • Extensions: .png against .dds.
  • Purpose: PNG is a picture for screens and the web. DDS is Microsoft's DirectDraw Surface texture-file format, made for GPU texture pipelines such as Direct3D.
  • Compression: PNG is always lossless. DDS stores either plain pixels or compressed texture data, typically the DXT/BC block formats.
  • Mipmaps: a DDS asset may include a mipmap chain alongside its largest surface. PNG holds one image.
  • Other surfaces: Cube maps and volume textures fit in a DDS; texture arrays arrive with the extra header of Direct3D 10 and 11.
  • Transparency: PNG has an alpha channel. A DDS can have one too.
  • Headers: the DX10 header can describe formats the original pixel-format structure cannot express, and some DDS readers reject it.
  • Metadata: PNG can carry Exif in an eXIf chunk. Metadata is not carried into the DDS written here.

This page decodes the PNG in your browser to 8-bit RGBA pixels and passes them to ImageMagick, which writes the DDS. The page does not ask for a compression format or mipmaps, and the file you get depends on ImageMagick's DDS writer.

The download takes the PNG's name with .dds in place of .png.

Other ways to convert PNG to DDS

  • DirectXTex texconv (Windows): run texconv -ft dds -f BC3_UNORM input.png. Add -m 1 if you want only one mip level. By default it generates all levels, and the format has to match your renderer.
  • GIMP (Windows, Mac, Linux): open the PNG, choose File > Export As, select DDS among the file types, then click Export. The DDS settings dialog comes up next. The DDS plug-in has been built into GIMP since 2.10.10.
  • ImageMagick (command line): run magick input.png output.dds. Its formats page marks DDS as supported for reading and writing, and mentions dxt1, dxt5 and mipmap defines.

Choose texconv or GIMP when the engine fixes the format, since both let you pick it.

Problems with PNG files

  • The extra depth of a 16-bit PNG is lost: the pixels pass through 8-bit color on the way to the DDS, so the DDS holds the 8-bit version.
  • An animated PNG is cut to one frame: the first. The DDS written here is a single still texture.
  • EXIF, ICC and XMP data does not carry over: raw pixels are all that is passed along, which leaves camera tags and profiles behind.
  • PNG compression does not reduce fidelity: a smaller compression setting in an export dialog changes file size, not pixels.
  • Layer offsets differ between programs: GIMP warns that its PNG offset option may be read differently by other applications, so avoid that option.
  • The PNG is very large: no limit is built into the page, so time and memory depend on your device.
  • Several PNGs: each becomes its own DDS, and they download one by one.
  • The PNG will not open: the page shows "Image decode failed." for a damaged file, or reports that the browser has no decoder for that kind of file. A current release of Chrome, Edge, Firefox or Safari should open it.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert a PNG to DDS?

Can I choose DXT1, DXT5 or BC7?

Does the DDS have mipmaps?

Is a DDS the same as a PNG?

Why can't I open the DDS in Windows Photos or a browser?

Does the DDS keep my PNG's transparency?

What happens to a 16-bit PNG?

Will an animated PNG work?

What is the DDS file called?

Can I convert many PNGs in one go?