What Is a TAR.GZ File?
A simple explanation of the .tar.gz format — what it is, why it exists, and how to open it.
The Simple Answer
A .tar.gz file is a compressed archive — a collection of files and folders packed into a single, smaller file. It's the standard archive format on Linux and Mac. Think of it as a ZIP file, but from the Linux world.
Why Two Extensions?
The double extension (.tar.gz) reflects two steps: 1. .tar = "tape archive" — packs files together (no compression) 2. .gz = "gzip" — compresses the packed file In the Unix philosophy, each tool does one thing well. So one tool packs (tar) and another compresses (gzip). The result is a .tar.gz file. You might also see .tgz — it's the exact same thing, just a shorter name.
When You'll Encounter TAR.GZ Files
• Downloading Linux software or source code • Working with web servers • Node.js or Python packages • Database backups • GitHub release downloads (many projects offer .tar.gz alongside .zip) If you're not a developer, you'll rarely encounter this format. If you do, use the methods in our extraction guide.
Try it now — free in your browser
No download. No signup. Your files never leave your device.
Open Archive ToolFrequently Asked Questions
For Unix/Linux systems, yes — it preserves file permissions and is deeply integrated into Linux tools. For cross-platform sharing, ZIP is more practical because every OS supports it natively.
Yes. Windows 10/11 has built-in tar support via Command Prompt. You can also use 7-Zip (free) or a browser-based tool.