Skip to content
Follow
Windows

How to Extract tar.gz Files in Windows 11

Richard
Written by
Richard
Jul 7, 2023 Updated Jun 19, 2026 2 min read
How to Control Windows Copilot Startup Settings
How to Control Windows Copilot Startup Settings

This article explains how to extract .tar.gz, .tgz, or .gz files on Windows 11.

⚡ Quick Answer

Open Command Prompt or Windows Terminal and use the command tar -xvzf followed by the file path and destination. This extracts tar.gz files directly in Windows 11 without needing extra software.

Why You Might Need This

You might need to extract tar.gz files in Windows 11 because these archives, common on Linux, used to require special software to open, but Windows 11 now handles them easily.

A tarball is a file created using the Unix-based tar application and then compressed using gzip compression. It was originally made for Linux systems.

The good news? Windows 11 now has built-in support for .tar.gz, .tgz, and .gz files. You don’t need extra tools anymore.

In addition, Windows devices with WSL can use the virtual Linux environment to extract tarballs content.

How to Extract Tarball Files in 🪟 Windows 11

What You’ll Need

Windows 11 now includes native support for these file types. Follow the steps below to extract your tarball files.

Steps to Extract Your Files

  1. First, open the Command Prompt app or use the Windows Terminal app and select the Command Prompt tab.
  2. Next, run the command below to extract a tarball file:

    To extract your tar.gz files in Windows 11 using the built-in tools, open Command Prompt or Windows Terminal and use the tar command.


This command tells Windows where to find the file and where to save the extracted content.

In this example, the command extracts the tar file (FileName.tar.gz) from your Downloads folder (C:\Users\User\Downloads), which is the source. It saves the extracted files to your Documents folder (C:\Users\User\Documents), which is the destination.

Understanding Tar Command Options

Understanding tar command options helps you manage your archives in Windows 11, letting you easily extract files, list contents, or create new tarballs.

  • tar -tf – List all files inside a tarball.
  • tar -xf – Extract tarball files.
  • tar -cf [filenames…] – Create tarball files.
  • tar -zf – Tells tar to uncompress the content of a .tar.gz file with gzip.

That’s all you need to do!

Summary

Windows 11 now lets you extract tar.gz files without extra software, thanks to built-in support for the tar command.





Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically
How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically
How to Change Windows Terminal Language in Windows 11
Windows How to Change Windows Terminal Language in Windows 11
How to Uninstall Windows Subsystem for Linux (WSL) in Windows 11
Ubuntu Linux How to Uninstall Windows Subsystem for Linux (WSL) in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *