Opening files

How to open TGA and DDS texture files

If you mod games or work with 3D models, you will meet TGA and DDS files: the textures that give models their colour, bumps and shine. Neither Windows Photos nor the Mac's Preview handle them reliably, but free tools do.

What they are

TGA (Targa) dates from 1984 and is a simple format with an alpha channel, which is why renderers and game studios used it for decades. DDS (DirectDraw Surface) is Microsoft's texture format; it stores images in the compressed formats graphics cards read directly, plus smaller copies called mipmaps.

View them in your browser

The TGA viewer and DDS viewer show the texture on a checkerboard, so transparent areas are obvious. The DDS viewer reads DXT1, DXT3, DXT5 and uncompressed textures, which covers most older games; it tells you when a texture uses a newer compression such as BC7.

Edit them for free

GIMP opens and saves both TGA and DDS. Paint.NET on Windows does too. Photoshop opens TGA but needs a plugin for DDS.

Convert them

TGA to PNG and DDS to PNG keep transparency and make the files viewable everywhere. Going back, PNG to TGA and PNG to DDS create files games can load; DDS made here is uncompressed, so run it through the game's own texture tools if it requires compression.

Odd-looking textures

Not every texture is a picture. Normal maps look purple-blue because their colours store surface directions. Roughness and metal maps look grey. Some games pack several maps into the colour channels of one file. They are working as intended.

Questions

Why is my DDS black or blank?

Either a newer compression or transparency shown as black in a basic viewer.

Do I need mipmaps?

Games use them for distant objects; editors can generate them.

Can I open TGA on a Mac?

Our browser viewer works; GIMP is a free desktop option.

More guides

How to open STL filesDownloaded an STL from Printables or Thingiverse? See how to view it in your browser, check its size, open it in Blender or a slicer, and print it.How to open, view and edit SVG filesSVG files open in every web browser. See how to view them, edit them free with Inkscape, convert them to PNG or JPG, or turn them into 3D or DXF.How to open DXF files for freeDXF drawings come from CAD programs, laser cutters and CNC shops. See free ways to view and measure them, open them in free software and convert them.How to open FBX files without Maya or 3ds MaxFBX is the format game engines and animators share. See how to view FBX models free in your browser, import them into Blender, or convert them to GLB.

All guides