TGA to PNG Converter: Open Targa Files Anywhere
Convert Truevision TGA (Targa) files to PNG right in your browser. Lossless, keeps the alpha channel, handles RLE and uncompressed, nothing uploaded.
Convert Now
Drag & drop your file here
or
How It Works
Truevision shipped the Targa format in 1984 for early true-color capture boards, and it never left game and VFX pipelines. Crack open almost any Unity, Unreal, or Source project and you will find diffuse maps, normal maps, and UI sprites saved as .tga, because it stores a clean alpha channel and never runs the pixels through a lossy codec. The catch is that almost nothing outside a production tool will show you the file. Browsers don't decode TGA, macOS Preview and the Windows Photos app give up on it, and plenty of image libraries skip it entirely. This converter bridges that gap without sending your asset anywhere. Decoding runs through @lunapaint/tga-codec, a pure-JavaScript reader. It parses the 18-byte TGA header to identify the image type, then reads the pixel data the right way: uncompressed scanlines or run-length-encoded (RLE) packets, 16/24/32-bit color, grayscale, and color-mapped (indexed/palette) variants. Bottom-left vs top-left origin is resolved by the codec, so rows come out the right way up, and everything is normalized to 8-bit RGBA. Those RGBA pixels go into an ImageData buffer, get painted onto an OffscreenCanvas, and come back out as a PNG. TGA and PNG are both lossless, so the round trip is pixel-exact: same colors, same transparency, no generation loss. One real-world Targa quirk is handled on purpose. Some 32-bit files ship with a zeroed alpha channel that would make the whole image read as invisible, so ambiguous-alpha detection is enabled to treat those as fully opaque instead of fully transparent. The whole thing runs in your browser tab. The file is read into memory, decoded, and offered back as a PNG download with nothing leaving the machine, which is the point when the asset is an unreleased game texture under NDA.
Related Conversion Tools
Discover more powerful converters that might be useful for your workflow
AVIF to PNG Converter: Decode AV1 Images in Browser
Decode AVIF (AV1) images to lossless PNG in your browser, with transparency kept pixel for pixel. No uploads, no server, fully private and free.
Base64 to PNG: Decode Data URIs in Your Browser
Paste a Base64 string or data: URI and decode it to a PNG locally. Keeps alpha transparency, no uploads, no server. Pure client-side decode.
Compress WebP: Re-Encode an Existing WebP Smaller
Re-compress an existing WebP to a smaller WebP entirely in your browser. Lossy re-encode at quality 82, never inflates, no uploads, fully private.
Image Optimizer: Shrink JPG, PNG, WebP, Same Format
Compress JPG, PNG, or WebP without changing format. PNG stays truly lossless via oxipng; JPEG and WebP re-encode smaller. Runs in your browser, no uploads.
QOI to PNG Converter: Decode Quite OK Images Free
Decode QOI (Quite OK Image) files to PNG right in your browser. Lossless, no uploads, opens .qoi assets in editors and browsers that can't read QOI.
PNG to QOI Converter: Lossless Quite OK Image Encode
Encode PNG to QOI (Quite OK Image) in your browser. Lossless, single-pass, no uploads. Built for game engines, asset bakers and decoder testing.
Convert toPNG
Key Features
- No file uploads required - works offline
- 100% privacy focused - client-side processing
- Browser powered - no software installation
- Fast processing - WebAssembly technology
- Free forever - no premium accounts
Supported File Formats
Output Format: PNG
Technical Specifications
Key Benefits
- Opens TGA files that browsers and default OS image viewers refuse to display
- Lossless conversion, so the PNG is pixel-identical to the source Targa
- Preserves the full 8-bit alpha channel that TGA is valued for
- Decodes RLE-compressed, uncompressed, grayscale, and color-mapped TGA automatically
- Fixes the zeroed-alpha case that makes some TGA files look fully transparent elsewhere
- Runs entirely in your browser with no uploads, accounts, watermarks, or file caps
- Works on any modern browser and OS without installing software
Common Use Cases
- Previewing Unity, Unreal, or Source engine texture assets shipped as .tga
- Bringing 3D model textures from 3ds Max, Maya, or Blender into web and design tools
- Sending a Targa render to a reviewer who can't open TGA on their machine
- Prepping TGA artwork for the web, where PNG or WebP is expected
- Inspecting a TGA alpha mask in an ordinary image viewer
- Migrating legacy TGA archives into a format every tool still reads
- Recovering a TGA that looks blank or transparent in other software
Pro Tips
- Keep PNG as the target when your TGA has transparency; it carries the alpha through exactly
- If a TGA looked transparent or blank elsewhere, try it here, since ambiguous alpha is auto-corrected
- You don't need to know whether your file is RLE or uncompressed; both are detected from the header
- For opaque photos where file size beats fidelity, convert TGA to JPG instead for smaller files
- Keep the original .tga if your game or render pipeline expects that exact format
- Large textures (4K and up) use more memory; close other heavy tabs if a huge file stalls