Skip to content
Fileora
.tgz / .tar.gz · Gzip-Compressed Tarball Archive

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.

Tap to choose files

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 NameGzip-Compressed Tarball Archive
File Extension(s).tgz, .tar.gz
MIME Type(s)application/gzip
Format ClassificationCompressed archive container (lossless)
Parent Category HubArchive Converters & Tools (/archive)
Header / Magic Bytes0x1F 0x8B
Primary Use CasesDistributing Linux source code releases, npm packages (.tgz), Python sdist packages, and server backups (.tar.gz).
Notable LimitationsExtracting 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:

Microsoft Windows

Windows File Explorer, 7-Zip, tar -xzf

Apple macOS

Finder / Archive Utility (built-in), Terminal

Android

ZArchiver

iPhone & iPad (iOS / iPadOS)

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

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. In practice, it is mainly used for distributing Linux source code releases, npm packages (.tgz), Python sdist packages, and server backups (.tar.gz).

Explore More Archive Tools

Visit the Archive hub or browse all 118 supported formats in the Fileora encyclopedia.