Skip to content
FlipConverto home

TGA to PNG Converter

Convert TGA to PNG in your browser, or to JPG: RLE-compressed, 16-bit, greyscale and colour-mapped Targa files open, upside-down ones come out the right way up, and the alpha channel is kept. Up to 20 files at a time; nothing is uploaded. Below: why TGA files open black, see-through or flipped, and what each one holds.

Loading TGA to PNG Converterโ€ฆ

Runs entirely in your browser. Files stay on your device โ€” nothing is uploaded. Verify it yourself

How do you convert a TGA file to PNG?

Decode the TGA and save its pixels as PNG. Browsers cannot open TGA, so this page decodes it itself, on your device: add up to 20 files, convert, and download. RLE, 16-bit, greyscale and colour-mapped files work, flipped files come out the right way up, and alpha is kept. Nothing is uploaded.

Cost
Free, no daily limit
Upload
None โ€” runs on your device
Sign-up
Not required
Works offline
Yes, once loaded

How to convert TGA to PNG

  1. Choose the format

    PNG keeps every pixel and the transparency; JPG is smaller but has no transparency.

  2. Add the TGA files

    Choose or drop up to 20 .tga (or .icb, .vda, .vst) files. Each shows its type, size and bit depth.

  3. Convert

    Press Convert. Each file shows its new size, how its rows were stored and whether its alpha channel was used.

  4. Download

    Download each PNG or JPG, or all of them as a ZIP.

Examples

  • A 1,600 ร— 1,199 24-bit TGA photoA 3,367,213-byte PNG
  • An 800 ร— 322 32-bit TGA logo, RLEA 38,098-byte PNG with its transparency
  • A 32-bit TGA whose alpha bytes are all 0An opaque PNG, with a note that the alpha was empty

Key features of the TGA to PNG Converter

  • Reads every TGA 2.0 image type: true colour, greyscale and colour-mapped, uncompressed or RLE
  • 15-, 16-, 24- and 32-bit colour; flipped files turned the right way up
  • Alpha kept exactly; premultiplied alpha converted; empty alpha channels detected
  • PNG written by its own lossless encoder in current browsers, in grey or without alpha when that is all the picture needs
  • Up to 20 files at a time, with a ZIP of all the results
  • Runs in your browser; nothing is uploaded

Supported formats

Input

  • TGA (.tga, .icb, .vda, .vst): image types 1, 2, 3, 9, 10 and 11

Output

  • PNG (lossless, keeps transparency)
  • JPG (quality 50 to 100, background colour for transparent areas)

When should you use this?

  • Viewing or sharing a game texture, mod asset or render saved as TGA.
  • Turning a folder of TGA frames or screenshots into PNGs.
  • Getting a texture with transparency into a program that does not read TGA.
  • Checking whether a TGA really uses its alpha channel.

Limitations

  • Files up to 300 MB and 67,108,864 pixels (8,192 ร— 8,192).
  • Huffman and quadtree TGAs (types 32 and 33) are not read.
  • 256-colour TGAs can come out larger as PNG.
  • The extension area's other fields (author, comments, thumbnail) are not carried over.

Troubleshooting

The PNG has no transparency

Check the list: a 24-bit file has no alpha, and an all-zero alpha channel converts as opaque.

The image is black where it should be clear

Choose PNG rather than JPG, or pick a JPG background colour.

This tool cannot read the file

It may be cut short (download or copy it again), or use Huffman or quadtree compression (types 32 and 33), which almost no program reads; re-save it from the program that made it as uncompressed or RLE TGA.

Common mistakes to avoid

  • Expecting transparency from a 24-bit TGA: it has none.
  • Choosing JPG for a texture with alpha: JPG has no transparency.
  • Renaming .tga to .png: the bytes stay TGA and many programs refuse the file.

Pro tips

Tips for better results

  • Transparency

    Choose PNG to keep transparency

    Choose PNG to keep transparency

  • Alpha

    Check the alpha line after converting

    Check the alpha line after converting

  • JPG

    Use JPG only for opaque pictures

    Use JPG only for opaque pictures

Concepts behind image files

The terms that decide what changes when an image is compressed, resized or converted.

Resolution
The pixel dimensions of the image or frame, such as 1920ร—1080. It sets the amount of real detail present. Enlarging afterwards interpolates between existing pixels and produces a softer picture โ€” no amount of upscaling recovers detail that was never captured. Reference: CSS Values and Units Module Level 4, W3C
Colour depth
How many bits describe each pixel's colour. Most formats use 8 bits per channel, giving about 16.7 million colours. Indexed formats such as GIF store a palette of at most 256 instead, which is why photographs converted to them show visible banding. Reference: GIF89a Specification, CompuServe, hosted by W3C
Metadata
Information stored alongside the content itself โ€” camera settings, GPS coordinates, artist and album tags, author names. Conversion frequently drops it, which is usually a privacy benefit and occasionally a loss if you relied on it.
Colour space
The rule that maps the numbers in a file to visible colours. sRGB is what browsers assume, Display P3 and Adobe RGB describe wider ranges used in photography, and CMYK describes ink rather than light. A file converted without its profile keeps its numbers and changes its colours. Reference: sRGB, the default colour space, ICC
DPI and PPI
Dots or pixels per inch: a number describing how large the picture is meant to print, stored as a tag beside the pixels. It changes nothing on a screen, which draws by pixel count alone, and nothing about the detail present โ€” only the size a printer lays the same pixels down at. Reference: CSS Values and Units Module Level 4, W3C
EXIF data
The block cameras and phones write into a photograph: exposure, lens, orientation, the date, and on a phone usually the coordinates it was taken at. Most conversions write a fresh file without it, which loses the shooting data and removes the location along with it; the RAW to JPG converters here copy it back, leaving the location out unless you ask. Reference: CIPA DC-008: Exchangeable image file format (Exif), CIPA
Pixel
One addressable square of a raster image, holding a single colour. A 1920ร—1080 picture is 1920 across and 1080 down, about 2.07 million in all, and that count is fixed when the file is written โ€” which is why enlarging one later invents the pixels it does not have. Reference: PNG Specification, Third Edition, W3C

Why won't my TGA file open?

TGA (Truevision TGA, also called Targa) dates from 1984 and is still common for game textures: Unity and Unreal Engine list it as a texture format, and Minecraft Bedrock asks for TGA with an alpha channel for textures with transparent or glowing parts. But Chrome, Edge and Firefox have no TGA decoder, Safari does not show TGA in web pages, and Windows' built-in imaging component has no TGA codec. So this page reads the file itself, with its own decoder written from the Truevision TGA 2.0 specification, and writes a PNG or JPG on your device.

What kinds of TGA does it open?

All the image types in the TGA 2.0 specification, uncompressed or run-length encoded (RLE):

Image typeWhat it holds
1Colour-mapped
2True colour
3Greyscale
9Colour-mapped, RLE
10True colour, RLE
11Greyscale, RLE

True colour at 15, 16, 24 or 32 bits a pixel; greyscale at 8 bits, or 16 with alpha; colour maps with 15-, 16-, 24- or 32-bit colours. Each file in the list shows its type and bit depth, and after converting, where its rows start and whether its alpha channel was used. Files up to 300 MB and 67,108,864 pixels (8,192 ร— 8,192) open. Files using the Huffman or quadtree compression of the version 1 guide (types 32 and 33) do not; the 2.0 specification no longer lists them.

Why does my TGA look upside down?

Two bits in the header say which corner the first stored pixel belongs to, and the default (both bits 0) is the bottom-left, so a file stored bottom row first is normal TGA; others set the bits for top-down. Programs that ignore those bits show such pictures flipped, a complaint that comes up on game-development and video forums. In our test files, Pillow wrote bottom-up rows and ImageMagick and FFmpeg top-down. This page follows the bits, including the rare right-to-left order, and the file list tells you how each file was stored.

Why is the background black, white or see-through?

  • 24-bit TGA has no transparency. Only 32-bit files (or 16-bit colour with an attribute bit, 16-bit greyscale, or a colour map with alpha) can have it, so a 24-bit file always converts opaque.
  • An empty alpha channel. A 32-bit file can have every alpha byte at 0. Read literally, the picture would be invisible, so a file whose alpha is all 0 converts as opaque, and the list says so.
  • The file says what its alpha means. TGA 2.0 files can carry an extension area whose Attributes Type field says there is no alpha (0), undefined data in the alpha bits (1, 2), real alpha (3) or premultiplied alpha (4). This page uses the alpha only for 3 and 4, and converts premultiplied colours back to the straight colours PNG needs. (The specification's own text calls the premultiplied value 3 in one paragraph; its table, which we follow, says 4.)
  • 16-bit transparency is read differently by different programs. GIMP treats a set attribute bit as opaque, Pillow as transparent, and stb_image ignores it. This page follows GIMP, and only when the header says the file has exactly one attribute bit or its extension area says it has alpha.
  • Hidden colours. Fully transparent pixels still store a colour, for example black or a flat blue. PNG keeps them transparent; for JPG, which has no transparency, they are laid over the background colour you choose.

Is TGA to PNG lossless?

Yes. The PNG holds every pixel and the alpha channel exactly as decoded. In current browsers it is written by this page's own encoder, so partly transparent pixels are not rounded the way a browser canvas rounds them (a browser without the Compression Streams feature falls back to the canvas). We checked our decoder on 20 test files, 19 written by three different programs (ImageMagick, FFmpeg and Pillow) and one found in a desktop app's cache, covering every image type, 8- to 32-bit depths and both row orders. Our pixels matched ImageMagick's exactly on 18 of them and Pillow's on 19. The exceptions: ImageMagick misread Pillow's two 16-bit greyscale-with-alpha files (no alpha, wrong greys), where we match Pillow; and on one 16-bit colour file Pillow turns 5-bit colour into 8 bits with different rounding, up to 1 level apart, where we match ImageMagick. All 20 PNGs this page wrote in Chrome decoded to the same pixels in both ImageMagick and Pillow; the batch took about 3.3 seconds. JPG loses a little detail by design.

Is PNG smaller than TGA?

Usually much smaller. TGA's only compression is RLE, which shrinks flat areas but barely touches photos and noisy textures; PNG's compression finds far more. From our test files:

PictureTGA, uncompressedTGA, RLEPNG from this page
Photo, 1,600 ร— 1,199, 24-bit5,755,244 bytes5,450,360 bytes (5% smaller)3,367,213 bytes (41% smaller)
Logo with transparency, 800 ร— 322, 32-bit1,030,418 bytes154,563 bytes (85% smaller)38,098 bytes (96% smaller)
The photo in greyscale, 8-bit1,918,418 bytes1,857,572 bytes1,247,875 bytes

The PNG keeps greyscale files in grey and drops the alpha channel when every pixel is opaque, so it stays small. One case grows: a 256-colour (colour-mapped) photo, 1,919,212 bytes as TGA, became 3,243,531 bytes as PNG, because the PNG is written in full colour. An uncompressed TGA's size is 18 header bytes plus width ร— height ร— bytes per pixel, plus any image ID, colour map and the optional 26-byte version 2 footer (which the photo's file above has): a 2,048 ร— 2,048 texture at 32 bits is at least 16,777,234 bytes.

Other ways to open a TGA file

  • GIMP opens and exports TGA, with options for RLE and the row order.
  • Blender reads and writes Targa files with alpha.
  • ImageMagick: magick in.tga out.png, or magick mogrify -format png *.tga for a folder.
  • Any phone or computer: this page runs in a web browser, so you need no app. To shrink the PNGs further, use the image compressor.

Privacy and file handling

The TGA to PNG Converter runs entirely in your browser. Your file is read by the page, processed on your own device, and the result is handed straight back to you โ€” no copy is sent anywhere, because none needs to be.

You can confirm this rather than take our word for it: open your browserโ€™s developer tools, watch the Network tab, and use the tool. No request carries your file or your input. It also keeps working with the connection off.

Details are in the privacy policy.

What next?

Make the converted images smaller for the web, to a size you choose.

Compress the PNGs

TGA to PNG Converter โ€” questions

How do I convert TGA to PNG?

Choose PNG, add up to 20 TGA files, press Convert, and download each PNG or all of them as a ZIP. It runs in your browser; nothing is uploaded.

Can I convert TGA to JPG?

Yes. Choose JPG, set the quality (92 by default) and the colour for transparent areas, since JPG has no transparency.

Does the PNG keep the alpha channel?

Yes, exactly. A 24-bit TGA has no alpha, and a file whose alpha channel is all zero converts as opaque so it does not come out invisible.

Why is my TGA upside down in some programs?

Many TGA files store the bottom row first, the format's default, and two header bits say which corner comes first. Programs that ignore the bits show the image flipped; this page follows them.

Does it open RLE-compressed TGA files?

Yes: run-length encoded true-colour, greyscale and colour-mapped files (types 9, 10 and 11), including files whose runs cross from one row to the next.

Why can't Windows or my browser open TGA?

Chrome, Edge and Firefox have no TGA decoder, Safari does not show TGA in web pages, and Windows' built-in imaging component has no TGA codec, so this page decodes the file itself.

Is PNG smaller than TGA?

Usually. Our photo test went from 5,755,244 bytes as TGA to 3,367,213 as PNG; a transparent logo from 1,030,418 to 38,098.

Are my files uploaded?

No. They are decoded and converted in your browser and never leave your device.

Sources

Content last reviewed 29 October 2026.

Part of Image Tools ยท Browse every tool