TGA to PNG Converter

Convert TGA to PNG online for free. Fast, high-quality PNG output in your browser. 100% browser-based — no upload, no signup, no watermark.

How to use TGA to PNG

  1. 1Click the upload area or drag your TGA file into it.
  2. 2Preview the image to confirm it loaded correctly.
  3. 3Click Convert to render the PNG in your browser.
  4. 4Download your new PNG file — nothing is uploaded.

Features

  • Instant TGA → PNG conversion, 100% in-browser
  • Your files never leave your device
  • Lossless, high-quality output
  • Free, unlimited, no signup or watermark

TGA vs PNG: technical differences

To convert TGA to PNG, drop your TGA file into the converter above and download the PNG: a lossless format that keeps transparency and every pixel exactly. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.

TGA and PNG are both lossless and both carry an 8-bit alpha channel, so a tga to png conversion changes only the packaging. The pixels stay the same. What changes is compression and compatibility. TGA is either raw or uses simple run-length encoding that only helps with long runs of identical pixels. PNG's DEFLATE with prediction filters typically makes a 32-bit texture 30–70% smaller, and every browser can display the result.

Pixohub's TGA reader supports true-colour files only: 24-bit and 32-bit, uncompressed (type 2) or RLE (type 10). It reads the origin bit in the header, so bottom-up files (the TGA default) and top-down files both come out the right way up. Colour-mapped, greyscale and 16-bit TGAs aren't supported and will show an error.

One subtle difference: the browser canvas stores colour premultiplied by alpha. Visible pixels are unaffected, but the RGB values hidden under fully transparent pixels become black, and colours under very low alpha are slightly quantised. For textures that pack non-transparency data in alpha, that's a real change, not a cosmetic one.

TGA (Truevision TGA (Targa))PNG (Portable Network Graphics)
CompressionNone or lossless RLELossless (DEFLATE with per-row prediction filters)
Colour depth8, 16, 24 or 32 bits per pixel1–16 bits per channel; truecolor, greyscale or 256-colour palette
Transparency8-bit alpha in 32-bit filesFull 8/16-bit alpha channel
AnimationNoneOnly via the APNG extension
MetadataOptional image ID and extension areaText chunks, ICC profile, gamma; EXIF via the newer eXIf chunk
Typical file sizeLarge — close to raw pixel sizeLarge for photos (often 2–3× a JPG); tiny for flat graphics
SupportGame engines, 3D and video tools; browsers cannot display itUniversal — every browser, OS and editor

When to convert TGA to PNG

Viewing and sharing game screenshots

Older engines save screenshots as TGA. Source-engine games do it with the screenshot console command, and Quake III-era games too. Converting to PNG lets you post them on forums, Discord or a wiki without quality loss and at a fraction of the size.

Previewing texture packs and mod assets

Browsers, macOS Quick Look and Windows Photos can't reliably show TGA. Converting a texture to PNG makes it easy to preview, document in a mod page, or drop into a web-based tool.

Moving render output to the web

Blender, 3ds Max and video tools can render TGA frames with alpha. PNG keeps that alpha for compositing on a website or in a slide deck, and it's the format most web-facing tools expect.

What converting TGA to PNG keeps and loses

What you keep

  • Exact visible pixel colours. Both formats are lossless and 8-bit per channel.
  • The alpha channel from 32-bit TGAs.
  • Correct orientation, whether the TGA was stored bottom-up or top-down.

What you lose

  • RGB values under fully transparent pixels (premultiplied canvas).
  • The TGA image ID, extension area (author, timestamp, gamma, postage-stamp thumbnail) and developer area.
  • Nothing else visible. The PNG is usually much smaller too.

Our test: TGA to PNG on two real files

Both test TGAs converted with identical pixels, the 32-bit graphic's alpha included, so nothing was lost. Size is where the formats differ. The uncompressed 24-bit photo TGA was 5.8 MB and its PNG 3.2 MB, 44% smaller, while the 32-bit graphic shrank from 1.9 MB to 342 KB, 82% smaller, because its flat areas and transparent background compress far better than photo noise.

Each conversion took under 1.2 s, since the TGA reader is a small piece of JavaScript.

Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).

Test fileTGA inPNG outPixels vs originalTransparencyCamera EXIFTime
Photo, 1600 × 12005.8 MB3.2 MB (−44%)Identical pixelsNone in sourceNone in source1.2 s
Graphic, 800 × 600, transparent1.9 MB342 KB (−82%)Identical pixelsKeptNone in source0.9 s

Last updated

Apps and sites that work with TGA and PNG

What opens TGA, and what doesn't

Photoshop, GIMP, Krita, Paint.NET, IrfanView, XnView and macOS Preview open TGA. Browsers, Windows Photos, Discord and most chat apps don't, which is the usual reason to convert. Upload a PNG to a wiki or forum and it displays in place, while a TGA is offered as a download, if it's accepted at all.

Blender's two Targa options

Blender offers Targa and Targa Raw as render outputs. Targa is RLE-compressed (type 10) and Targa Raw uncompressed (type 2); Pixohub reads both, with alpha when you render RGBA. If you only need web previews, switching Blender's output to PNG avoids converting later.

Where the PNG goes

GitHub READMEs and issues, Fandom and other MediaWiki wikis, and mod hosting sites all accept PNG and display it inline, which they won't do for TGA. PNG also keeps the TGA's alpha, so sprites shown on those pages keep their transparent backgrounds.

Common TGA to PNG problems and fixes

Find out why a TGA was refused

This page only shows a generic “could not be loaded” alert. Drop the file into Bulk Format Convert to see the reason: “Only uncompressed or RLE true-color TGA is supported.” means a colour-mapped or greyscale file, and “Only 24-bit and 32-bit TGA is supported.” means a 16-bit one. Re-export from GIMP as RGB to fix either.

Parts of the image turned see-through

Some viewers ignore TGA alpha, so you may not know the file has it. Game textures often store gloss or specular data in alpha, and PNG displays that channel as transparency. If the PNG is just a preview, convert with TGA to JPG, which flattens alpha, or re-save the TGA as 24-bit first.

The PNG is upside down

Pixohub follows the origin bit in the TGA header. If the PNG comes out flipped, the program that wrote the TGA most likely set that bit wrongly. Turn the result over with Flip Image, or fix the export setting if you control the writer. Once flipped, the PNG is correct in every viewer, since PNG has no origin flag to misread.

Tips for better TGA to PNG results

  • If the PNG looks completely empty or transparent, the TGA probably has a 32-bit alpha channel filled with zeros, which some exporters write. Re-save it as 24-bit in GIMP or Photoshop, which drops the empty alpha, and convert again.
  • Got an “Only 24-bit and 32-bit TGA is supported” error? Open the file in GIMP and export as 24- or 32-bit RGB TGA, then try again.

How this converter works

Pixohub decodes your TGA and encodes the PNG entirely inside your browser, using a bundled TGA decoder because browsers cannot open TGA natively. Nothing is uploaded, so the conversion is private by design and as fast as your device.

Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.

Frequently asked questions

Is TGA to PNG lossless?

Yes, for every visible pixel. Both formats are lossless 8-bit-per-channel. The only change is to colour under fully transparent pixels, which the browser discards. That doesn't show, but it can matter for game textures with packed alpha.

Why does my TGA show an unsupported format error?

Pixohub reads 24-bit and 32-bit true-colour TGA, uncompressed or RLE. Palette-based (colour-mapped), greyscale and 16-bit TGAs aren't supported. Re-export as 24- or 32-bit RGB from GIMP or Photoshop.

Will the image be upside down?

No. TGA files are normally stored bottom row first, and Pixohub reads the origin flag in the header to flip them correctly. Top-down TGAs are handled too.

How do I convert a whole folder of TGA screenshots to PNG?

Drag them into <a href='/bulk-format-convert'>Bulk Format Convert</a> and choose PNG. It recognises the .tga extension and returns a zip. Free runs handle 20 files at a time and Pro handles 150.

Are my files uploaded?

No. The TGA is decoded by JavaScript in your browser and the PNG encoded locally. Nothing leaves your machine.

More converters

Batch: convert format many images at once

Same processing as above, run across a set of files. Pro returns the whole batch as one ZIP. Still entirely in your browser.

Free · up to 20

PRONeed more than 20 at a time?

Pro runs up to 150 images per batch as one ZIP, keeps your brand mark on every export, and lifts the file ceiling to 200 MB.

Unlock with Pro