.dds

What is a .dds file?

DirectDraw Surface · Image · Microsoft · 1999

DDS is Microsoft's texture format for games and 3D graphics, designed to load straight onto the graphics card. It stores textures with GPU-friendly compression and prebuilt mipmaps, so you mostly meet it when modding games or working in a game engine.

Category
Image
Type
Binary
Is a .dds file safe to open? Safe. DDS is texture image data with no executable content.

What is a .dds file used for?

A DDS holds image data in a form the GPU can use directly, using block compression (the DXT / BCn family) and mipmaps (smaller prescaled copies) so 3D scenes render fast.

It is standard in DirectX games and engines like Unreal and Unity, which is why game texture packs and mods are full of DDS files.

It is not a general-purpose image: most viewers do not show it. To open one, use GIMP or Photoshop with a DDS plugin, or a dedicated texture viewer.

How to open a .dds file

The .dds format opens in the following apps, grouped by operating system. If one app does not work, try another from the same list.

Windows

  • GIMP (with DDS plugin)
  • Photoshop (with plugin)
  • texture viewers

macOS

  • GIMP (with DDS plugin)

Linux

  • GIMP (with DDS plugin)
  • ImageMagick

Web

  • Not natively; convert to PNG first

How to convert a .dds file

You can convert a .dds file to PNG, TGA using a conversion tool or the export menu of an app that opens it.

.dds file signature (magic bytes)

Programs recognise a .dds file by the bytes at the start of the file, not by its name. These are the signatures for DDS. For a full breakdown, see the DDS file signature page.

Hex signatureOffsetNote
44 44 53 200'DDS ' magic

See the full magic-numbers reference for every format.

Frequently asked questions

What is a .dds file?

DDS is Microsoft's texture format for games and 3D graphics, designed to load straight onto the graphics card. It stores textures with GPU-friendly compression and prebuilt mipmaps, so you mostly meet it when modding games or working in a game engine.

How do I open a DDS file?

Use GIMP or Photoshop with a DDS plugin, or a texture viewer. Ordinary photo apps will not display it because DDS is a GPU texture format.

How do I convert a DDS to PNG?

Open it in GIMP with the DDS plugin and export as PNG, or use a command-line tool like ImageMagick or NVIDIA's texture tools.

Related formats

Sources

Details on this page were checked against authoritative references: