How to Extract TAR.GZ Files on Windows (Free Methods)
Extract .tar.gz and .tar.bz2 files on Windows without Linux or WSL. Free tools included.
- Difficulty
- Beginner
- Time
- 5 min
Last updated
TAR.GZ files (.tar.gz or .tgz) are common for Linux software downloads and source code. Windows doesn't open them natively, but several free tools handle them with ease.
Method 1: 7-Zip (Free, Recommended)
7-Zip is a free, open-source archive tool that handles .tar.gz natively on Windows.
- Download and install 7-Zip from 7-zip.org (free)
- Right-click the .tar.gz file in File Explorer
- Select 7-Zip → Extract Here (for a single operation)
Note: 7-Zip extracts in two steps for .tar.gz:
- Step 1: Extracts the .gz compression → creates a .tar file
- Step 2: Right-click the .tar file → 7-Zip → Extract Here again
Alternatively: 7-Zip → Extract to "filename" does both steps automatically.
Method 2: Windows 11 Built-in TAR Support
Windows 11 includes native TAR support via PowerShell:
- Open Terminal or PowerShell in the folder containing your .tar.gz
- Run:
tar -xzf filename.tar.gz - Files extract to the current directory
The -x flag extracts, -z handles gzip compression, -f specifies the filename.
Method 3: WSL (Windows Subsystem for Linux)
If you have WSL installed:
- Open your Linux terminal (Ubuntu, Debian, etc.)
- Navigate to the file:
cd /mnt/c/Users/YourName/Downloads - Run:
tar -xzf filename.tar.gz
Method 4: PeaZip (Free, GUI Alternative to 7-Zip)
PeaZip provides a graphical interface similar to WinRAR, with support for TAR.GZ in one step:
- Download and install PeaZip (free)
- Right-click the .tar.gz file → PeaZip → Extract here
Common TAR Options
.tar.gzor.tgz— TAR + gzip compression (most common).tar.bz2or.tbz2— TAR + bzip2 (usetar -xjfon command line).tar.xz— TAR + xz compression (usetar -xJfon command line)
Advertisement
Learn more
- How to Open a RAR File on Windows, macOS, and Linux
RAR files don't open natively on Windows or macOS. This guide shows the fastest way to extract RAR archives on every operating system — free.
- Why ZIP Files Get Corrupted and How to Fix Them
ZIP files fail to open for a small number of predictable reasons. Understanding which one applies to you tells you exactly whether and how the file can be recovered.