Archives

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.

7-Zip is a free, open-source archive tool that handles .tar.gz natively on Windows.

  1. Download and install 7-Zip from 7-zip.org (free)
  2. Right-click the .tar.gz file in File Explorer
  3. 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:

  1. Open Terminal or PowerShell in the folder containing your .tar.gz
  2. Run: tar -xzf filename.tar.gz
  3. 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:

  1. Open your Linux terminal (Ubuntu, Debian, etc.)
  2. Navigate to the file: cd /mnt/c/Users/YourName/Downloads
  3. 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:

  1. Download and install PeaZip (free)
  2. Right-click the .tar.gz file → PeaZip → Extract here

Common TAR Options

  • .tar.gz or .tgz — TAR + gzip compression (most common)
  • .tar.bz2 or .tbz2 — TAR + bzip2 (use tar -xjf on command line)
  • .tar.xz — TAR + xz compression (use tar -xJf on command line)

Advertisement