DDS to PNG Converter

Add a DDS texture from a game or a mod and get its full-size picture as a PNG that any image editor opens.

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. Your DDS is unpacked in the browser
  2. Its full-size picture becomes plain pixels
  3. The PNG stores each one as read

What it does

Two channels, as stored

A BC5 texture has only red and green to give. The PNG gets both, and its blue stays at zero.

Highest blue value in the PNG of our BC5 test file: 0 of 255

A whole folder at once

Add every .dds from a mod together. Each PNG's name starts with the name of the texture it came from.

Limits One full-size picture per file: cube maps, texture arrays and 3D textures are refused.

Why did your DDS texture turn yellow-green as a PNG?

It's probably a normal map: a texture that records which way a surface tilts, not what color it is.

What is a normal map?

Not every texture in a game or mod folder is a picture of something. Beside the brick wall you'd recognise there may be a second file with the same bricks drawn in strange purples or yellow-greens. That one is a normal map. Instead of a color, each of its pixels records which way the surface tilts at that spot, so a flat wall can catch the light as if every brick stood out.

A tilt has three parts: how far it leans left or right, how far up or down, and how much it faces straight out. Stored in full, as red, green and blue, they give the lilac look on the left below. A DDS can also pack a normal map as BC5, a format Microsoft lists for two-channel data. BC5 keeps the red and the green and stores no blue at all, which is the picture on the right.

A normal map of a mountain and lake in pale lilac, the ridges outlined in pink and cyan.

All three channels

The same normal map in olive and yellow-green, the ridges outlined in red and green.

Stored as BC5

The same tilts, made from our photo of Lassen Peak, read from two 256-pixel test DDS files. The ridges and the lake shore sit in the same places; only the colors differ. How we measured · Photo: NPS Photo, Public domain, U.S. federal work; Public Domain Mark 1.0, via Wikimedia Commons / National Park Service.

Red and green came back within 0.9 and 1.1 of the values we wrote, on the 0 to 255 scale, on average: BC5 rounds a little as it packs. Blue can be worked out from red and green, which is why BC5 can leave it out, and the PNG keeps it at zero, exactly as the DDS holds it.

Can you edit a normal map in an image editor?

You can, and the PNG is the copy to do it in, because it writes each value down exactly as the converter read it. Treat the colors as directions, though, not shades. A brightness, contrast or auto-color adjustment changes every value, and every changed value is a different tilt, so the light will fall on the bricks differently. Painting over a patch, or copying one area onto another, keeps the values you copy.

Getting the PNG out of the DDS

Nothing needs changing for a normal map: PNG's defaults keep every value as read.

  1. Pick the .dds with Choose images.

  2. Press Convert 1 to PNG.

  3. Save the PNG with the download arrow on its finished card.

    The finished PNG of the BC5 test normal map, yellow-green, with the download arrow outlined.
    The finished PNG of the BC5 test normal map, yellow-green, with the download arrow outlined.

Where does the edited texture go next?

The normal map is edited and has to go back into the game as a DDS.

FluffyBench's PNG to DDS converter

Choose BC5 / ATI2 under Texture format. Auto would pick DXT1, which stores all three channels with fewer steps in each.

Your DDS came out red and black instead.

FluffyBench's DDS to JPG converter

That's a one-channel texture, and its page shows what the converter does with one.

The texture is a cube map or a stack of layers, and the converter refuses it.

FluffyBench's Extract Images from Textures tool

It saves every face or layer the file holds as a PNG of its own.

Search FluffyBench