.tga

TGA file: what it is and how to open it

A TGA file is a Truevision Targa image, still used for game textures and 3D renders, partly because it stores transparency. Open it in our Android or Windows app, Paint.NET, GIMP or Photopea, or convert a copy to PNG.

Drop your TGA file here

Opens on this device. Nothing is uploaded. Any other file works too.

What is a TGA file?

TGA (Truevision Graphics Adapter, often called Targa) is a raster image format that Truevision created in 1984 for its graphics cards; version 2.0 followed in 1989. It stores 8, 16, 24 or 32 bits per pixel, and the 32-bit form carries an alpha channel for transparency.

TGA is still popular with game developers and 3D artists for textures and rendered images, partly because its alpha channel makes images easy to layer. Outside those tools almost nothing shows it: no browser, no Android phone and no app built into Windows opens TGA.

What is inside

A TGA file starts with an 18-byte header: the length of an optional ID text, whether a color map follows, the image type, the color map details, the origin, width, height, bits per pixel and a descriptor byte giving the number of alpha bits and whether rows start at the top or the bottom.

Pixel data follows, either raw or run-length encoded in packets of up to 128 pixels. TGA has no signature at the start, so apps rely on the header values and the .tga extension. Version 2.0 files end with a 26-byte footer containing TRUEVISION-XFILE and can add a thumbnail, color correction and author details.

The parts of a TGA 2.0 file, in order. Only the header and the pixels are required.

How to open a TGA file

Windows

  • Paint.NETFree. Opens and saves TGA, and saves PNG or JPEG copies with File, Save As.
  • GIMPFree. Opens TGA and exports it with or without RLE compression.
  • Universal File Opener for WindowsOursOpens TGA textures offline and saves PNG, JPEG or BMP copies.

Mac

  • GIMPFree. Opens TGA and exports PNG copies or new TGA files.

Android

  • Universal File OpenerOursViews TGA with correct transparency, edits it and saves 32-bit TGA, or converts a copy to PNG or JPEG.

In a browser

  • PhotopeaFree image editor that runs in the browser on your own device. Opens TGA and exports PNG or JPEG.

Won’t open?

Windows has no app for it

Windows includes no TGA decoder. Install Paint.NET or GIMP, open it in Universal File Opener for Windows, or use Photopea in a browser.

Transparency is lost after converting

JPEG and 24-bit TGA cannot store transparency. Convert to PNG instead, or keep a 32-bit TGA; our Android app saves 32-bit TGA with its alpha channel.

A game engine or tool rejects the file

TGA comes raw or RLE compressed, at several bit depths, and some tools accept only one variant. Export again from GIMP with RLE compression switched off, or at the bit depth the tool asks for.

My phone shows nothing

Android has no built-in TGA decoder, so gallery apps skip it. Open it in Universal File Opener for Android.

A huge texture comes out smaller after editing

Our Android editor works at up to 4096 pixels and warns before you save a reduced copy. Edit very large textures in GIMP or Paint.NET on a computer.

Convert a TGA file

  • To PNG on AndroidOpen it in Universal File Opener, tap Edit, then Image tools, then Convert to, and choose PNG. Transparency is kept.
  • To PNG on a computerIn Paint.NET choose File, Save As and pick PNG, or in GIMP choose File, Export As with a .png name.
  • To TGA, from another imageIn GIMP choose File, Export As with a .tga name, then set RLE compression and the origin.

TGA files in our apps

Open TGA textures offline in Universal File Opener on Android or Windows. Android keeps transparency, edits at up to 4096 pixels and saves 32-bit TGA, PNG or JPEG; Windows saves PNG, JPEG or BMP copies.

Get it on Google PlayGet it from Microsoft Store
All Android tools and limits for TGA files
  • View TGA with correct alpha; full editing in the image editor.
  • Save supported edits as TGA with 32-bit color and transparency.
  • Convert TGA to supported image formats, or create TGA output from a compatible raster image.

Limits

  • Large textures are reduced to a 4096 px editing limit. Check the reduced-resolution warning before saving.

Walkthrough: Edit and convert images on Android