Or try an example
Uncompressed 32-bit A8R8G8B8. Transparent pixels stay transparent. No mipmaps, and not BC1 or BC3.
Help Us Improve
—
(—)
Convert a PNG to a DDS texture
Convert a PNG into an uncompressed DDS texture and keep the transparent pixels. Free, with no signup.
What this PNG to DDS converter does
A PNG, written as a DDS
PNG to DDS converter
Drop a PNG or use an example. The download is a .dds file.
Alpha stays
Clear pixels in the PNG stay clear in the A8R8G8B8 surface.
Uncompressed pixels
Each pixel is stored as BGRA. There is no DXT, BC1, or BC3 block.
Nothing is uploaded
The header and the pixels are built in the browser.
How to convert a PNG to DDS
Choose a PNG
Use an example or upload a PNG up to 15 MB. The longer side is kept to 8192 pixels.
Check the preview
The preview shows the decoded PNG, including the size that will be written.
Download the DDS
The file starts with a DDS header and then the BGRA pixels. Renaming a PNG does not do this.
What the file will not include
No mipmaps
The file has the one size you see. A pipeline that requires mipmaps has to build them later.
Not every engine accepts it
Some tools want BC1 or BC3. A .dds extension does not mean those blocks are inside.
Power-of-two sizes
This page does not resize to a power of two. A GPU that wants that size needs a resize first.
When a folder asks for DDS
A texture with transparency
A sign, an icon, or a decal whose clear pixels should stay clear.
A painted surface
Turn the PNG into a DDS a viewer can open, without a desktop utility.
A file you do not want to upload
The PNG stays in the browser.
What you get
No signup
Open a PNG and download. There is no account step.
Free
The DDS has no watermark.
Nothing is uploaded
Encoding runs in the browser.
What the DDS contains
Header
The file starts with the DDS magic number and a 124-byte header for width, height, and pitch.
Pixels
32-bit A8R8G8B8, stored as BGRA. Alpha comes from the PNG.
Not included
No mipmaps, no cube map, and no BC1 or BC3 compression. JPG sources belong on the JPG to DDS page.
Sources & References
“A DDS file is a binary file that contains a DWORD (magic number) containing the four character code value 'DDS ' (0x20534444) and a description of the data in the file.”
A DDS file starts with the DDS magic number: This converter writes that header, then the uncompressed pixels from the PNG. learn.microsoft.com/en-us/windows/win32/direct3ddds/dx-graphics-dds-pguide
“The DirectDraw Surface file format (.dds) was introduced with DirectX 7, and is primarily used to store textures and cubic environment maps.”
DDS stores textures: The download is one texture. It is not a cube map, and it does not add the maps a game pipeline may still expect. en.wikipedia.org/wiki/DirectDraw_Surface