What Is a TGZ (.tgz) File?
A TGZ (`.tgz`) file is a Gzip-Compressed Tarball Archive used for distributing Linux source code releases, npm packages (.tgz), Python sdist packages, and server backups (.tar.gz). Standard on Linux and macOS; Windows users without 7-Zip often convert TGZ to ZIP for easier extraction.
Drop files here, or Tap to choose filesclick to browse
PDF, DOCX, XLSX, PPTX, JPG, PNG, MP3, MP4, EPUB, ZIP and 100+ more
TGZ Technical Specifications & Use Cases
Gzip-Compressed Tarball Archive (.tgz, .tar.gz) is classified as a compressed archive container with lossless storage. In everyday workflows, it is used for distributing Linux source code releases, npm packages (.tgz), Python sdist packages, and server backups (.tar.gz).
| Full Format Name | Gzip-Compressed Tarball Archive |
| File Extension(s) | .tgz, .tar.gz |
| MIME Type(s) | application/gzip |
| Format Classification | Compressed archive container (lossless) |
| Parent Category Hub | Archive Converters & Tools (/archive) |
| Header / Magic Bytes | 0x1F 0x8B |
| Primary Use Cases | Distributing Linux source code releases, npm packages (.tgz), Python sdist packages, and server backups (.tar.gz). |
| Notable Limitations | Extracting a single file from a large .tgz requires reading through the sequential TAR stream from the beginning. |
How to Open a TGZ (.tgz) File
Standard on Linux and macOS; Windows users without 7-Zip often convert TGZ to ZIP for easier extraction. Below are the verified programs and built-in apps that open .tgz files across desktop and mobile operating systems:
Windows File Explorer, 7-Zip, tar -xzf
Finder / Archive Utility (built-in), Terminal
ZArchiver
Apple Files
How TGZ Compares to Closest Alternatives
Shorthand extension for .tar.gz; converting TGZ to ZIP lets Windows users browse and extract individual files with a single double-click.
Convert from TGZ (2 Supported Targets)
Choose a target format below to convert your .tgz file locally in your browser without uploading:
Convert Other Files to TGZ (2 Supported Sources)
Create .tgz files in your browser from any of the source formats below:
Frequently Asked Questions About TGZ (.tgz) Files
Explore More Archive Tools
Visit the Archive hub or browse all 118 supported formats in the Fileora encyclopedia.