.TGA

TGA File

Truevision TGA (TARGA) Image
Ask a question
QUICK ANSWER

A TGA file is a Truevision Targa raster image, uncompressed or lightly RLE-compressed, widely used in game and video pipelines because it stores a clean alpha (transparency) channel. Open it with GIMP, IrfanView, Paint.NET, or Photopea in-browser -- all free. To share it, convert to PNG, which keeps the alpha and is considerably smaller.

Developer: Truevision, Inc. (originally AT&T / EPICenter; later acquired by Pinnacle/Avid) Category: Raster Image Files Open standard MIME: image/x-tga
OPENS ON Windows macOS Linux Web
Related: .JPG · .PNG · .TIF · .ECW

On this page

19k+ extensions indexed
Last reviewed Jun 18, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the TGA file format?

The .tga format - often called Targa (short for Truevision Advanced Raster Graphics Adapter) - is a raster image format. It is not the format of choice for storing camera photos, but it handles well data such as simple drawings, line graphics, and icons - and, most importantly, texture maps for 3D rendering and game engines.

TGA format specification

Data in .tga files are stored with 8, 16, 24, or 32 bits of precision per pixel (up to 24 bits for RGB color plus an optional 8-bit alpha channel). The format supports both color-mapped (indexed) and truecolor modes. .tga can store pixel data uncompressed or using RLE lossless compression, keeping file size down without quality loss.

A notable technical quirk: unlike PNG or most modern image formats, .tga v1.0 files carry no fixed magic number - the file begins with a variable-length header rather than a recognizable byte signature. Version 2.0 files append a 26-byte footer ending with the ASCII string TRUEVISION-XFILE. followed by a null byte, which software uses to confirm v2.0 compliance.

History of the TGA format

The Targa format was developed in 1984 by Truevision (originally an AT&T/EPICenter project) for TARGA graphics cards for IBM computers, which supported truecolor display. In 1989, version 2.0 added gamma correction settings, embedded thumbnails, alpha channel type flags, display format hints, and a developer area for custom metadata. Truevision was later acquired by Pinnacle Systems and subsequently became part of Avid Technology.

Uses of TGA files

.tga files remain widely used today. The format is a longtime standard in animations and computer games for storing texture data, valued for its simplicity, reliable lossless alpha channel, and broad support across 3D tools and game engines.

Security & safety

RISK: LOW

TGA is a passive image format with no scripting, so the files themselves are low-risk. Historically a few decoder buffer-overflow bugs existed in old libraries, so keep your image software updated. The main practical caution is to download viewers/converters from official sites - avoid 'free TGA converter' portals and bundled installers (e.g. FormatFactory) that carry adware/PUPs.

Format details

in a nutshell
FULL NAMETruevision TGA (TARGA) Image
DEVELOPERTruevision, Inc. (originally AT&T / EPICenter; later acquired by Pinnacle/Avid)since 1984 (TARGA graphics adapter); spec v2.0 1989
MIME TYPEimage/x-tga
TYPERaster bitmap (uncompressed or RLE-compressed)
STANDARDOpen · royalty-free

Programs that open TGA files

Windows5 apps
Adobe Photoshop Paid Open/edit TGA with full alpha control; Save As to convert.
GIMP Open-source File → Open the .tga for full editing; File → Export As to save PNG/PSD/etc.
IrfanView Free Open the .tga to view; batch-convert to PNG/JPG via File → Batch Conversion.
Paint.NET Free Opens and saves TGA (with alpha); good lightweight editor on Windows.
XnView MP Free Browse and view TGA; batch-export to other formats.
macOS3 apps
Adobe Photoshop Paid Native TGA support for opening, editing and exporting.
GIMP Open-source Open and edit TGA, export to PNG/JPG/PSD.
XnView MP Free View and batch-convert TGA files.
Linux2 apps
GIMP Open-source Open and edit TGA; export to any common format.
ImageMagick Open-source convert input.tga output.png - scriptable batch conversion/viewing.
Web1 app
Photopea Free Open the .tga in this browser-based Photoshop clone; edit and export to PNG/JPG.

Technical details

deep spec
Color depth8, 16, 24, or 32 bits per pixel
Alpha channel8-bit alpha stored as the 4th byte per pixel in 32-bit mode; the number of attribute bits per pixel is declared in the image descriptor byte of the header
CompressionUncompressed or RLE (Run-Length Encoding) lossless; the image-type code in the 18-byte header selects between compressed and uncompressed variants
Color modesColor-mapped (indexed/paletted), grayscale, and truecolor (RGB and RGBA)
File headerFixed 18-byte header containing ID length, color-map type, image type, a 5-byte color-map specification, and a 10-byte image specification
Magic bytesNone in v1.0; v2.0 files append a 26-byte footer ending with the ASCII string TRUEVISION-XFILE. followed by a null byte
MIME typeimage/x-tga (also image/x-targa)
Byte orderLittle-endian throughout
Image originFour origin positions supported - bottom-left, bottom-right, top-left, top-right - controlled by bits 4-5 of the image descriptor byte
Maximum image dimensionsWidth and height each stored as 16-bit unsigned integers; theoretical maximum is 65,535 × 65,535 pixels
Extension area (v2.0)Optional 495-byte block storing gamma value, pixel aspect ratio, software version, author name, job time, and offset to an embedded thumbnail image
Alpha typeStraight (unassociated) alpha by default; the v2.0 extension area can specify pre-multiplied, straight, or undefined alpha via an alpha attributes type field
File extensions.tga; legacy variants include .vda, .icb, and .vst
Color spaceNo embedded ICC color profile; sRGB assumed by convention; v2.0 extension area stores a floating-point gamma correction value
Released1984 (TARGA graphics adapter); spec v2.0 1989
Open standardYes · royalty-free
Specificationwww.gamers.org

TGA conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with TGA files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about TGA files.

Frequently asked questions

How do I open a TGA file on Windows?
Use a free viewer like IrfanView or XnView, or an editor like GIMP/Paint.NET. Windows Photos doesn't open TGA by default, but these apps do and can convert it.
What's the best way to convert TGA to PNG?
PNG is the ideal target - it keeps the alpha channel and is smaller. IrfanView (batch), GIMP, ImageMagick or the in-browser Photopea all do it cleanly.
Why are my TGA files so large?
TGA is uncompressed or only RLE-compressed, so it stores far more bytes than PNG/JPG. Converting to PNG keeps quality losslessly while shrinking the file.
Does TGA support transparency?
Yes - 32-bit TGA includes an 8-bit alpha channel, which is exactly why it stayed popular in video and game pipelines. Convert to PNG to keep that transparency.
Why are TGA files in my game folder?
Many games and mods store textures as TGA because of its lossless alpha support. You can view/edit them with GIMP or Paint.NET; some engines prefer DDS.
Is TGA the same as Targa?
Yes. 'TGA' is the file extension for Truevision's Targa image format; the names are used interchangeably.

References

1Library of Congress - TGA (Truevision) format descriptionwww.loc.gov
2Truevision TGA File Format Specification v2.0www.gamers.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.PARTPartial Download File
4.MDMarkdown Document
5.RPMSGRestricted Permission Message
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.JPGJPEG Image
.PNGPortable Network Graphics
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z