1 What Is a .tar.gz File?
Why are there two extensions?
A .tar.gz file (sometimes written as .tgz) is actually two things in one. The .tar part bundles multiple files into a single file (like putting papers in an envelope). The .gz part compresses it to make it smaller (like vacuum-sealing the envelope).
This format is extremely common in Linux/Unix software and open-source projects. You might also see .tar.bz2 or .tar.xz — they work the same way, just with different compression methods.
2 How to Extract
Choose your operating system.
Using 7-Zip (Free)
Windows doesn't natively handle .tar.gz files (though very recent Windows 11 builds are adding support). 7-Zip is your best bet.
Right-click the .tar.gz file → 7-Zip → "Extract Here"
This extracts the outer .gz compression, leaving you with a .tar file.
Right-click the .tar file → 7-Zip → "Extract Here" again
This unpacks the inner .tar archive, giving you the actual files. Yes, it's a two-step process — that's just how this format works.
Built-In (No Install Needed)
Great news — macOS handles .tar.gz files natively!
Just double-click the file
The built-in Archive Utility extracts it automatically. Both layers (the .gz compression and the .tar bundle) are handled in one step.
Find your files
The extracted folder appears in the same location as the original .tar.gz file.