TGA to PNG Converter

Add a .tga and get a PNG that opens in any app, with its clear background still clear.

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. The TGA is read in your browser
  2. Its pixels and fourth channel are written into a PNG
  3. The PNG is ready to download

What it does

A folder at once

Add a folder of sprites or textures, convert them together and save the PNGs with Download all (ZIP).

Limits Only the picture and its fourth channel come across. The notes a TGA can carry at the end of the file are left out.

Will your TGA keep its see-through parts as a PNG?

A 32-bit TGA carries a second, hidden picture: a gray map of where it's solid. The PNG has a place for that map.

What is the gray map inside a TGA?

A TGA with a see-through background, such as a game sprite or a cut-out, needs a copy that can hold the see-through parts, and a PNG is the one every app opens.

A 32-bit TGA keeps a fourth number beside each pixel's red, green and blue. Draw those fourth numbers on their own and you get a second picture, a gray map: black where the image is clear, white where it's solid, and gray where it fades between the two.

Here's the planet's top-left edge in our test TGA, as its gray map and as the PNG on a checkerboard.

Large square pixels: black in the top-left corner, white in the bottom-right, and a diagonal of gray squares stepping from dark to light between them.

The TGA's fourth channel

The same squares in the PNG: the checkerboard in the corner, then blue squares letting less and less of it through, then the solid planet.

The PNG

Enlarged 20 times without smoothing. Each gray square on the left is a pixel the checkerboard shows through on the right. How we measured · Photo: NASA, Public domain, NASA-created image, via Wikimedia Commons.

Our TGA is NASA's photo of the Earth with the space around it cut away: 12,331 pixels are fully clear and 5,909 partly clear. The PNG kept all 18,240 of those fourth numbers exactly, so the Earth will sit on a slide or a game screen as it did in the TGA.

It did that in about half the room: 104.0 KB against the TGA's 200.7 KB.

Saving your TGA as a PNG

  1. Choose images, then pick the .tga files you want as PNGs.

  2. Press Convert 1 to PNG. With more files, the button counts them.

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

What if you need a TGA again, or no see-through parts?

A game or 3D program needs the picture back as a TGA.

FluffyBench's PNG to TGA converter

Its starting 32-bit setting writes the fourth channel back into the TGA.

The picture only needs to be seen, on a plain background.

FluffyBench's TGA to JPG converter

A JPG is lighter still. It fills the see-through parts with a color you pick, white to start.

Search FluffyBench