How to Extract a.tar.gz,.tgz, or.gz File in Windows 11

Diposting pada

This article explains how to extract the files .tar. gz, .tgzor .gz (tarballs) in Windows 11.

Windows originally had no built-in or native support for files created with commands tar and compressed with gzip”.tar. gz“(tarballs). If one needs to extract archives compressed using any of these formats one needs a third party tool such as 7-Zip, PeaZip, or other open tools.-source software.

Tarball files created using a Unix-based archive application tar then compressed using compression gzip . This file was developed for Linux-type operating systems.

Recent versions of Windows 11 have built-in or built-in support for.tar. gz, .tgzor file formats .gz. No need for extra tools when you want to extract content from ini file.

Additionally, Windows devices with WSL can use a virtual Linux environment to extract the contents of the tarball.

Below is the command to extract tarball format in Windows 11 natively and without additional software.

Extract the tarballs.tar.gz,.tgz, and.gz

As mentioned above, you don’t need any additional tools to extract the files created with tar and compressed with gzip in Windows 11 at the moment.

Now Windows has built-in support for this file type, and below is how to use it to extract your tarball file.

First, open the Command Prompt application or use the Windows Terminal application and select the Command Prompt tab.

Next, run the command below to extract the tarball file.

tar-xvzf C:\Users\GeekRewind\Downloads\FileName.tar.gz-C C:\Users\GeekRewind\ Documents

The above command specifies the source path, filename and destination of the extracted content.

In my case the command extracted the tar file (FileName. tar. gz) in my Downloads folder (C:\Users\GeekRewind\Downloads\), which is the source, and saves it in my Documents folder (C:\Users\GeekRewind\Documents), which is the goal.

Here is a description of the tar command options:

tar-tf – List of tarball files. tar-xf – Extracts tarball files. tar-cf [nama file…] – Create tarball files. tar-zf – tells tar to compress “.tar.gz” content with gzip.

It should be!


This post shows how to extract a file created with tar and compressed with gzip in Windows 11. If you encounter any of the above errors or want to add something, use the comment form below.


Thus the article about How to Extract a.tar.gz,.tgz, or.gz File in Windows 11
I hope the information in the article is useful to you. Thank you for taking the time to visit this blog. If there are suggestions and criticisms, please contact us :