Windows 10 can open tar.gz files with built-in tools or free software
A tar.gz file (also written as .tar.gz or .tgz) is a compressed folder that bundles multiple files together. Windows 10 does not natively recognize this format the way it handles .zip files, but you have three straightforward routes: use the Windows Subsystem for Linux if you have it installed, download free third-party software like 7-Zip or WinRAR, or use an online converter if the file is small. The fastest route for most people is 7-Zip, which is free, requires no setup beyond installation, and handles tar.gz files in one step instead of two.
Unlike some archive tools that extract tar.gz files in stages — first removing the gzip compression to leave a .tar file, then extracting that separately — 7-Zip gets you directly to your final files. This matters because it saves time and prevents confusion when you see unexpected intermediate files on your disk.
Key Takeaways
- 7-Zip is free software that opens tar.gz files on Windows 10 and extracts them in one step directly to your final files.
- If you already have WinRAR installed, you can right-click the tar.gz file and select Extract to open it without installing anything new.
- Windows Subsystem for Linux (WSL) can extract tar.gz files using command-line tools, but only if you have already installed WSL on your computer.
- Online converters work for small files under 100 MB, but uploading files to a website carries privacy and security risks you should consider first.
Extract a tar.gz file using 7-Zip
7-Zip is the simplest method for most Windows 10 users. Download it from the official 7-zip.org website (the green download button on the homepage), run the installer, and accept the default settings. Once installed, right-click your tar.gz file, hover over "7-Zip", and select "Extract Here". The software will create a folder in the same location containing all the files that were inside the archive. This is a one-step process — unlike some other tools, you do not extract to an intermediate .tar file first.
If you want the extracted files in a specific folder instead of the current location, right-click the tar.gz file, select "7-Zip", then choose "Extract to [filename]/" instead. This creates a new folder with the archive's name and puts everything inside it. The extraction usually takes a few seconds, depending on the file size and your disk speed. You can then delete the original tar.gz file if you no longer need it.
Use WinRAR if you already have it installed
WinRAR is paid software, but if you already own a license, it handles tar.gz files without any extra steps. Right-click the tar.gz file, select "Extract Here" or "Extract to [filename]/", and WinRAR will unpack it immediately. WinRAR also extracts in one step, so you get the final files directly without intermediate formats. The process is identical to extracting a zip file, which makes it convenient if you are already familiar with WinRAR.
If you do not have WinRAR and do not want to purchase it, skip this method and use 7-Zip instead — both do the same job, but 7-Zip is free and works just as well. There is no advantage to buying WinRAR solely for tar.gz extraction.
Extract using Windows Subsystem for Linux
If you have already installed Windows Subsystem for Linux (WSL) on your computer, you can extract tar.gz files from the command line. Open PowerShell or Command Prompt and navigate to the folder containing your tar.gz file using the cd command. Then type: tar -xzf filename.tar.gz (replace "filename" with your actual file name) and press Enter. The tar command will extract all files to the current directory, and you will see them appear in the same folder.
This method is only practical if you already use WSL for other work. If you do not have WSL installed and do not use command-line tools regularly, installing it just to extract one file is unnecessary — use 7-Zip instead. Setting up WSL takes 10 to 15 minutes and requires a system restart, which makes it overkill for a single extraction task.
Convert online for small files
Websites like CloudConvert, Online-Convert, and AnyConv let you upload a tar.gz file and download the extracted contents without installing software. These tools work quickly for files under 100 MB and require no setup on your computer. You simply visit the website, select your tar.gz file, and download the results within seconds.
However, uploading files to a website means the file passes through someone else's server, which is a privacy concern if the archive contains sensitive information like passwords, financial documents, or personal data. Online converters are most useful when you need to extract a tar.gz file on a computer where you cannot install software — for example, a work computer with restricted permissions. For files you own and control, local software like 7-Zip is safer and faster.
Troubleshooting common problems
If you extract a tar.gz file and see a .tar file instead of your actual files, you used software that only removed the gzip compression layer, not the tar archive itself. This happens with some older or less common tools. The solution is simple: right-click the .tar file that was created, use 7-Zip to extract it again, and you will get your final files. Alternatively, delete the .tar file and re-extract the original tar.gz using 7-Zip, which handles both layers at once.
If Windows says the file is corrupted or the extraction fails partway through, the tar.gz file itself may be damaged. Try downloading it again from wherever you got it — network interruptions sometimes corrupt files during transfer. If the file consistently fails to extract with 7-Zip, contact whoever provided it and ask for a fresh copy. You can also try a different extraction tool to rule out a software problem, but a damaged download is the most common cause.
Frequently Asked Questions
Can I open a tar.gz file without extracting it?
Yes. 7-Zip and WinRAR both let you browse inside a tar.gz file without extracting it — right-click the file, select "Open with 7-Zip" (or WinRAR), and you will see a file browser showing what is inside. This is useful if you only need one or two files from a large archive and do not want to extract everything to disk.
What is the difference between tar.gz and zip?
Both are compressed archives, but tar.gz is more common on Linux and Mac, while zip is standard on Windows. Windows 10 opens zip files natively but not tar.gz files. The extraction process is identical from a user perspective — right-click and extract — but you need different software for each format.
Will extracting a tar.gz file delete the original?
No. Extraction creates a new folder or files without removing the tar.gz file. The original archive stays on your disk. You can delete it manually once you confirm the extracted files are what you needed.
Why does my tar.gz file extract to a .tar file first?
Some older software removes only the gzip compression, leaving the tar archive behind. This is a two-step process instead of one. Use 7-Zip instead, which extracts both layers in a single action and leaves you with your final files directly.
Is it safe to extract tar.gz files from the internet?
Extraction itself is safe — it just unpacks files. However, you should only extract archives from sources you trust, just as you would with any downloaded file. Malicious code can be hidden inside any archive format, so download from official websites or trusted sources.