Convert TGA images to PNG; transparency is preserved.
FluffyShieldProtected workspace
From
To
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
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?
What can you do with a TGA file outside a game or 3D program?
Turn it into a PNG, and almost any app will open it with every pixel just as it was saved. FluffyBench's TGA converter does that in your browser without uploading anything, and it can make a smaller JPG or WebP too.
FluffyBench · 6 min read · Measured with FluffyBench's TGA converter
How it works
Choose TGA images
→Pick PNG, JPG or WebP
→Convert
→Download your copies
What it does
Plain and compressed TGA
Opens uncompressed and run-length files, with or without transparency.
Photo: 0 of 55,296 pixels changed
Transparency kept in PNG
A TGA with an alpha channel keeps its see-through areas in the PNG.
Earth picture: 0 of 50,176 pixels changed
One file or a folder
Convert a whole folder of textures in one go.
Finished in one batch: 1,000 files
Limits Unusual TGA color depths are refused.
Where do TGA files come from?
TGA is short for Truevision Targa. It's a picture format from the 1980s that game engines, 3D programs and video tools still use for textures and rendered frames. Picture a grid of colored squares with a tiny label on top saying how big the grid is. That's nearly everything a TGA holds, and almost nothing outside creative software bothers to read it. Your file isn't broken.
Many TGA files store the picture's rows from the bottom up. This is our photo TGA with its rows in file order, next to the PNG FluffyBench saved from it.
Rows in file order
The saved PNG
Both pictures are drawn from the sample file's pixels. The file begins with the bottom of the picture, here the shore, and the sky comes last; FluffyBench turns the rows around, so the sky is back on top. How we measured · Photo: NPS Photo, Public domain, U.S. federal work; Public Domain Mark 1.0, via Wikimedia Commons / National Park Service.
Some TGA files save space with run-length encoding: instead of writing out a blue sky pixel by pixel, the file says “blue, repeated across this stretch.” FluffyBench's TGA converter opens both kinds. It treats a transparency channel that's empty everywhere as no transparency, so your picture doesn't vanish.
Doing it in FluffyBench's TGA converter
Here's the whole job, from choosing your TGA files to saving the finished copies. PNG is the default result, and the To control switches it to JPG or WebP.
This page starts with TGA under From. PNG is the default result; To sets the kind of file you get.
Choose your TGA files with Choose images. Renaming a .tga to .png doesn't turn it into a PNG.
On a phone, open Settings with the gear button. Under Size, Original keeps the picture's width and height.
With Settings closed, press Convert to make the PNG.
The finished tile shows the PNG's dimensions and file size. Download saves it.
Is anything lost when a TGA becomes a PNG?
No. We converted a photo and a see-through picture of Earth, each saved plainly and with run-length compression, then compared every pixel of each PNG with the original. 0 of the photo's 55,296 pixels changed, however the TGA was stored, and the Earth kept its transparent background. That makes PNG the safe choice when you need the picture exactly as it was made.
The PNG is also smaller than either kind of TGA. Run-length compression helps most on a flat graphic like the Earth picture and saves much less on the photo.
Run-length storage saved 23% on the Earth picture and 7% on the photo
Transparent Earth picture
Plain TGA200.7 KB
Run-length TGA155.4 KB
PNG104.0 KB
Photo
Plain TGA165.9 KB
Run-length TGA154.2 KB
PNG132.7 KB
WebP18.9 KB
JPG20.8 KB
0255075100125150175200225250
File size, KB
In each group, the two TGAs and the PNG hold the same pixels; sizes are rounded to 0.1 KB.
JPG and WebP go much further, but both change some pixels. JPG also can't keep see-through areas, so the Earth picture loses its transparent background. FluffyBench's JPG converter is the one to use when a small photo matters more than exact pixels.
FluffyBench can write TGA too, from a PNG, a JPG and other pictures. With TGA as the destination, Settings shows TGA pixels and TGA storage. TGA pixels starts at 32-bit RGBA, which keeps a transparency channel, so a photo comes out bigger than a plain 24-bit TGA: it reserves room for transparency the photo doesn't use.
Here is our photo as a plain 24-bit TGA and as two TGAs FluffyBench wrote from its PNG.
The default 32-bit TGA came out 33% bigger than our plain 24-bit sample
Our 24-bit sample165.9 KB
Default (32-bit RGBA)221.2 KB
24-bit RGB, RLE154.2 KB
0255075100125150175200225250
File size, KB
Setting TGA pixels to 24-bit RGB and TGA storage to RLE made the smallest file.
The smaller file has no room for transparency. Here is our Earth picture from a 32-bit TGA and from a 24-bit one.
32-bit, with transparency
24-bit, no transparency
Look at the corners and the planet's rim. A 32-bit TGA keeps its transparency channel, so the corners stay empty; a 24-bit TGA has none, so they turn black. 18,240 of the picture's 50,176 pixels changed, every one of them see-through or partly see-through. · Photo: NASA, Public domain, NASA-created image, via Wikimedia Commons.
So keep the default for anything with see-through areas. Switch to 24-bit RGB with RLE only for a picture that's solid all over and needs to be smaller.
How does it cope with a texture folder, or a broken file?
A whole folder of textures is fine. We dropped in 1,000 copies of the photo, and all 1,000 became PNGs in 10 s, plus 2 s to load them.
A broken file stops with a short reason, not an empty result. A TGA cut in half says “The TGA pixel payload is truncated.” and one with the old interleaved flag says “The TGA image descriptor uses reserved bits.” Color-mapped, true-color and grayscale TGAs all open, but unusual color depths are refused.
So convert to PNG when you want every pixel kept. Hold on to the original TGA if you'll go back to a game or 3D tool, because only the pixels carry over: its color table, image identifier and developer data stay behind. When the picture is only for sharing, these tools make a smaller file.