Sample Files
Details
Compressed Format Used By UNIX
About
.tar.gz is a compressed archive format created by packaging files into a `.tar` file and then applying Gzip compression. It is commonly used in Unix-based systems for software distribution, backups, deployment packages, and multi-file transfers.
History
The format combines two Unix technologies: the TAR archive format and Gzip compression. TAR (Tape Archive) was introduced in early Unix systems and standardized in POSIX.1 to bundle multiple files into a single archive without compression. Gzip, created by Jean-loup Gailly and Mark Adler as a replacement for patented compression methods, was released as part of the GNU Project in 1992 and is documented under RFC 1952. When combined as (or ), TAR packages files, and Gzip compresses the archive, creating one of the most widely used formats in Linux, macOS, open-source distributions, and server environments.
Learn more at: https://www.gnu.org/software/gzip/
Efficient compression using Gzip for smaller archive sizes
Preserves file permissions, timestamps, and directory structure
Widely supported in Linux/macOS and development workflows
Ideal for packaging source code, logs, and deployment assets
Stream-friendly format suitable for network transfer and backup scripts
Extract using commands like `tar -xzf file.tar.gz` on Linux/macOS
Open or extract with tools like 7-Zip, WinRAR, or archive managers
Create new archives using `tar -czf archive.tar.gz folder/`
Use TAR.GZ for distributing source code or compressing directories
Use Cases
Here are the use cases for this file extension
Software Distribution
Open-source packages and Linux software commonly ship as `.tar.gz` archives.
Server Backups
Used to archive logs, configuration files, and directories in automation scripts.
Deployment Bundles
DevOps pipelines compress build artifacts in TAR.GZ for transfer and extraction.
Compatibility
This extension is compatible with the following platforms.
Linux (native TAR & Gzip support)
macOS (native Terminal support)
Windows (via 7-Zip, WinRAR, WSL)
Android (apps like ZArchiver)
iOS (file manager apps)
Web Tools (online extractors)
More Details
Here are some technical details about this extension
File Extension
.tar.gz, .tgz
MIME Type
application/gzip
Archive Method
TAR (file bundling) + Gzip (compression)
Compression Type
DEFLATE algorithm (Gzip)
Preserves File Metadata
Permissions, ownership, timestamps, symbolic links
Typical Use
Packaging software, backups, deployment, file transfers
Related
Here are some related extensions
Get answers to common questions
TAR.GZ preserves Unix permissions, ownership, and symlinks, making it ideal for packaging software and system backups, unlike formats such as ZIP.
often compresses better for large groups of files and is faster in Unix environments. ZIP, however, supports random access and is more user-friendly on Windows.