About TGZ Files
Tarball (gzipped)
TGZ is a tar archive compressed with gzip, standard for Unix/Linux distribution.
Family
Archives & Compressed
Extension
.tgz
MIME Type
application/gzip
Can Use As
HOW TGZ
CAME TO BE.
TGZ is shorthand for .tar.gz — a tar archive that has been gzip-compressed. The tradition of renaming `.tar.gz` to `.tgz` dates from the 1990s when DOS and some mail servers struggled with filenames containing two dots. Unix purists write ".tar.gz"; pragmatists write ".tgz". Both files are byte-identical.
Every Linux distribution, every source code tarball, every release of pretty much any open-source project has shipped as .tar.gz or .tgz for 30+ years. It’s the default "here is a bundle of files, compressed" on every Unix-like system. Xz and zstd beat gzip on compression ratio, but the combined ubiquity of tar and gzip makes .tgz the defensive default when you don’t know what the receiver’s toolchain supports.
CURIOSITIES &
TRIVIA.
.tgz is byte-identical to .tar.gz — the shorter extension dates from DOS's 8.3 filename era.
Almost every Linux kernel release since 1994 has been distributed as .tar.gz — 30+ years of continuous use.
The UNIX pipeline `tar cf - files | gzip > archive.tgz` is still the textbook way to make one.
GitHub's "download as tar.gz" link on every repo generates a .tgz on demand.
The extensions .tar.gz, .tgz, and sometimes .gz alone (for tar + gzip combined) are all accepted interchangeably by standard tools.
STRENGTHS &
LIMITATIONS.
Strengths
- Universal Unix/Linux compatibility.
- Decades of tool and process maturity.
- Fast decompression (zlib).
- Streamable via pipes.
Limitations
- Compression ratio lags xz, zstd, brotli.
- No random access — must extract sequentially.
- Windows tooling less native than on Unix.
Typical Sizes & Weights
Source code archive
15-30% of original
Linux kernel source (.tar.gz)
~200 MB
Technical Specifications
- MIME type
- application/gzip
- Extensions
- .tgz, .tar.gz
- Container
- TAR (POSIX) + gzip (DEFLATE)
- Alternative
- .tar.xz (better ratio), .tar.zst (faster)
CONVERT FROM
TGZ
Common Use Cases
Linux software distribution
Related Formats
Popular comparisons
TGZ vs ZIP
Differences, file size, and when to choose each format.
TGZ vs TAR
Differences, file size, and when to choose each format.
TGZ vs GZ
Differences, file size, and when to choose each format.
TGZ vs BZ2
Differences, file size, and when to choose each format.
TGZ vs XZ
Differences, file size, and when to choose each format.
TGZ vs LZMA
Differences, file size, and when to choose each format.
Popular TGZ conversions
The most-requested destinations when starting from TGZ.
Frequently Asked Questions about TGZ
Frequently Asked Questions
TGZ (Tarball (gzipped)) is an archive format used to bundle multiple files and folders into a single compressed file. The archive preserves the directory structure and typically reduces total size via compression. TGZ sits in the archives & compressed family and has specific strengths around compression ratio, speed, or platform support.
7-Zip, WinRAR, The Unarchiver (macOS), and the built-in archive utilities on Windows and macOS open most TGZ files. For command-line extraction, 7z, unar, or the format-specific tool handles TGZ cleanly. If your extractor does not recognise TGZ, convert to ZIP first — ZIP opens on every operating system without extra software.
Upload the TGZ to KaijuConverter and pick ZIP, 7Z, TAR.GZ, or RAR as the target. Our pipeline extracts the original archive and re-compresses the contents into the target format. File permissions, timestamps, and directory structure are preserved where both formats support them.
Depends on the goal. ZIP is the universal baseline — every OS extracts it out of the box. Formats like 7Z or TAR.GZ compress better but require specific tools. TGZ may win on compression ratio, password support, or OS integration for specific workflows; ZIP wins on raw compatibility.