What is a TAR.GZ file?
Tape Archive compressed with Gzip
- Developed By
- Jean-loup Gailly and Mark Adler
- Initial Release
- 1992
- MIME Type
- application/gzip
A TAR.GZ file, often shortened to .tgz, is a TAR archive compressed with GNU Gzip, utilizing the DEFLATE algorithm (a combination of LZ77 and Huffman coding) defined in RFC 1952. This serves as the standard for software distribution in Unix-like systems, balancing reasonable compression ratios with fast extraction speeds. Unlike ZIP, which compresses files individually, TAR.GZ compresses the entire archive as a single block (solid compression), allowing for redundancy exploitation across multiple files.
How to open a TAR.GZ file
All Unix-like operating systems (Linux, BSD, macOS) include native support via the tar command (specifically tar -xzf). Windows 10 and 11 support extraction via the command prompt or WSL, though most Windows users prefer GUI-based tools like 7-Zip or WinRAR. Android and iOS require specific file management apps like ZArchiver or iZip.