Выберите вариант загрузки:
- скачать с сервера SoftPortal (установочный exe-файл)
- скачать с официального сайта (установочный exe-файл)
PowerArchiver — мощный архиватор, имеющий полную поддержку архивов форматов ZIP, CAB, LHA (LZH), TAR, TAR.GZ, TAR.BZ2, BH (BlakHole), RAR, RAR v.3.0, ARJ, ARC, ACE, ZOO, GZ и BZIP2, умеет работать с файлами UUE и XXE и расширениями электронной почты MIME (полное описание…)
Рекомендуем популярное
WinRAR 7.11
WinRAR — мега популярный архиватор, умеющий обрабатывать практически любые форматы архивов…
7-Zip 24.09
7-Zip — абсолютно бесплатный функциональный архиватор с высокой степенью сжатия и…
WinZip 27.0 build 15240
WinZip — мощная программа для работы как с Zip-файлами, так и с архивами других форматов….
PeaZip 10.4.0
PeaZip — бесплатный архиватор поддерживающий самые распространенные форматы архивов: 7Z, ACE,…
Bandizip 7.37
Bandizip — это быстрый и мощный архиватор, поддерживающий работу со многими форматами архивов, такими как WinZip, 7-Zip, WinRAR и другими…
A .tar.gz file, also known as a tarball, is a compressed archive used in UNIX and Linux systems. This format involves multiple files bundled into a single archive and compressed using gzip compression.
Although .tar.gz is commonly associated with UNIX and Linux distributions, you can also extract these files in Windows using various third-party tools.
This tutorial will show you how to extract .tar.gz files in a Windows environment.
Requirements
- A Windows system (this tutorial uses Windows 11).
- WinRAR, WinZip, and 7-Zip installed (for specific examples).
- The tar tool (for some examples).
- Access to Command Prompt.
How to Extract .tar.gz File in Windows
Since Windows doesn’t natively support .tar.gz files, extracting involves third-party tools or non-native commands. The following text outlines the process of extracting a .tar.gz file in a Windows environment.
Extract .tar.gz File in Windows Using tar Command
The tar (tape archive) command is a command-line utility for archiving files.
The command bundles multiple files and directories into a single file archive but doesn’t compress data on its own. Therefore, it is often used with compression tools, such as gzip (tar.gz files) or bzip2 (tar.bz2 files), to reduce the overall archive size.
The tar command is not a native Windows command. It usually doesn’t come preinstalled in older Windows systems. However, newer versions (starting from Windows 10) have it preinstalled.
The following example shows how to extract a .tar.gzip file called archive_1 using the tar command. The archive_1 consists of three files: sample_file1, sample_file2, and sample_file3.
To extract the files using tar:
1. Open the Command Prompt.
2. Use the cd command to navigate to the directory the archive is in. In this case:
cd C:\files
3. Use the following syntax to extract files:
tar -zxvf [archive_name.tar.gz]
This command consists of:
-z.Specifies the input is compressed withgzip.-x. Stands for extract.-v. Enables verbose mode to provide detailed output during extraction.-f. Specifies the filename to be extracted.
For instance, in our case:
tar -zxvf archive.tar.gz
The output lists extracted files.
Note: Master the Command Prompt with our cmd commands guide which features a free downloadable cheat sheet.
Extract .tar.gz File in Windows Using 7-Zip
For a more GUI-friendly approach to extracting .tar.gz files, use 7-Zip.
Follow these steps to extract files from a .tar.gz archive:
1. Right-click the archive.
2. Find and hover over 7-Zip.
3. Choose Extract Here to extract files to the archive folder.
4. Alternatively, select Extract files to pick where to extract the files.
A new window opens to manage where and how to extract files.
Extract .tar.gz File in Windows Using WinRAR
Another way to access archive files is to extract them via WinRar. To accomplish this, follow these steps:
1. Right-click the archive.
2. Hover over the WinRar icon.
3. Choose Extract Here to extract the file to your current location.
Alternatively, select one of the offered locations or set one up by clicking the Extract files… option.
Extract .tar.gz File in Windows Using WinZip
Extracting .tar.gz files using WinZip is also quite straightforward.
To get the files, follow these steps:
1. Right-click the archive file and hover over WinZip.
2. Choose whether to unzip to one of the offered locations or define one with the Unzip to… option.
The Unzip to…option opens up another window with extra settings.
3. Select Unzip to start the process.
Conclusion
After reading this article, you know how to extract .tar.gz files in Windows using the tar command, 7-Zip, WinZip, or WinRAR.
Next, learn how to extract .tar.gz files in Linux.
Was this article helpful?
YesNo
0
28.07.201822:1028.07.2018 22:10:56
Архивы tar.gz легко распаковываются с помощью WinRAR или 7zip.
Сложность в windows представляют многотомные архивы tar.gz
Выгрузив резервную копию сайта на битрикс распаковывается только первая часть архива, для того чтобы распаковались все части нужно переименовать файлы.
Первую часть архива нужно переименовать в .tar.gz.001, т.е:
.tar.gz в .tar.gz.001
а в последующих частях переименовать и увеличить номер части на один:
.tar.gz.1 в .tar.gz.002
.tar.gz.2 в .tar.gz.003
.tar.gz.3 в .tar.gz.004
………………….. и т.д.
Теперь после переименования многотомные архивы tar.gz распаковываются полностью WinRAR или 7zip.
To clear things up, the .tar extension is a file format that archive multiple files into a single file without compression. The .gz (Gzip) is a compression method in which the logical size of the files is reduced to save disk space. The .tar and .gz are usually used together to archive multiple files into a single file that is also compressed significantly, thus, with the combined extension of .tar.gz.
To open or extract a .tar, .tar.gz or .gz file in Windows operating system, the most common approach is to simply use a compression software that supports both Tar and Gzip such as 7zip and WinRAR.
You can also quickly extract a .tar or .tar.gz file in Windows 11/10 using command line in CMD without the need to install any software.
Open .gz, tar.gz or .tar file using file archiver tool
7-Zip – supports both .gz and .tar
7-Zip is one of the most popular file compression software widely used by majority of users around the globe due to its simplicity and user-friendly GUI. It is also free to download and use.
7-Zip can work with most compression methods and extensions including .gz, tar.gz and .tar. You can use it to archive and compress files using any supported methods you prefer, or to open and extract any compressed file.
To open and extract a .gz, tar.gz or .tar file using 7-Zip in Windows 11 or 10:
- Download and install 7-Zip from https://www.7-zip.org/.
- Once installed, right-click on the tar or gz file that you want to open.
- In the context menu, select 7-Zip, then “Open archive“.
- In the 7-Zip window, select the file you want to extract and then click on “Extract“.
- Enter the location or browse to the destination where you want the files to be extracted to.
- Click OK to begin the extraction.
If it’s a .tar.gz that you’re opening, you may need to double-click the .tar file when it’s opened in 7-Zip in order to browse and extract the archived files.
WinRAR – supports both Tar and Gzip
WinRAR is yet another popular file archiver tool widely used by users around the world to compress and uncompress files. WinRAR also supports both tar and gz extensions. You can use it to easily open, view and extract any .gz, tar.gz or .tar file.
To open and extract a tar.gz, .tar or .gz file using WinRAR in Windows 10 or 11, follow the steps below.
Download and install WinRAR from https://www.win-rar.com/download.html.
Once installed, right-click on the .gz or .tar file you want to open and extract. Select “Open with WinRAR” from the context menu.
Doing so will open the compressed file in WinRAR. To extract any or all files, select the files you want to extract, then click on the “Extract to” button.
Enter or browse to the extraction destination path (the location where you want to extract the files to), then click OK to begin the extraction.
Extract tar.gz, .gz or .tar using CMD in Windows 11/10
If you don’t want to install any file compression software, you can quickly extract .gz, tar.gz or .tar files using the Tar command in command prompt on Windows 11 or 10.
To extract tar.gz or tar file using command in Windows, follow the steps below.
Firstly, open an elevated command prompt by search for “cmd” on the Windows 11 or 10 search bar. Right-click “Command Prompt” from the search result and select “Run as administrator“.
In the command prompt window, enter the following command.
tar -xvzf "Path to the archived file" -C "Path to the extract destination"
For example:
tar -xvzf C:\Folder\Sample.tar.gz -C C:\Anywhere\
The example above will extract the sample.tar.gz file from C:\Folder\ to C:\Anywhere\ folder. Note: Make sure the -C parameter before the path to destination is uppercase letter.
The parameters used are explained as below.
- x — to tell the tar command to extract the archive file.
- v — Optional: to show the progress of the extraction by showing the list of files as they are extracted. Otherwise, you will see nothing except a blinking cursor until the extraction is completed.
- z — to tell tar to extract through gzip.
- f — to tell tar that the next argument is the file name of the archive.
TAR or Tape Archive file is an archive created by a Unix-based utility tar. These files are saved in an uncompressed format and include information about the files. However, mostly we see this file with the .gz extension, which is the GNU zip compression. GNU zip compression reduces the size of the archive to save disk space.
Which tools are recommended to extract a tar.gz file?
7Zip and WinRAR are both excellent tools for extracting TAR.GZ files. We recommend using 7Zip as it is a free and open-source file archiver software for compressing and decompressing files. If 7Zip doesn’t work for you, you can use WinRAR.
How to extract tar.gz files using 7Zip?
To extract TAR.GZ files using 7Zip, follow these simple steps:
- Go to the 7Zip official site and download the setup file.
Downloading the 7-Zip - Install 7Zip by following the installation steps.
- Go to your .tar.gz file location, right-click on it, and choose the Extract files option.
Note: You can also set another location for extracting the files.Extracting the file through 7-Zip - Click the OK button to extract the files in the same location.
How to extract tar.gz files using WinRAR?
To extract TAR.GZ files using WinRAR, follow these simple steps:
- Go to the WinRAR official site and download the setup file.
Downloading WinRAR - Install WinRAR by following the installation steps.
- Open the File Explorer and go to the location where your .tar.gz file is located.
Extracting file through WinRAR - Right-click on it and choose the Extract Files or Extract Here option.
In addition to 7Zip and WinRAR, there are other tools and methods available for extracting TAR.GZ files in Windows. However, these two applications are user-friendly and efficient. By following the steps provided in this article, you can easily extract TAR.GZ files and access their contents on your Windows machine.
Muhammad Zubyan
Muhammad Zubyan is a certified Google IT Support Professional with over 7 years of extensive experience. He has worked on more than 1500 computers, gaining valuable insights that enable him to detect and troubleshoot any complicated root cause of Windows-related issues and errors. In addition to managing Appuals as a Senior Editor, he is currently developing his own Game Optimization program that caters to both gamers and casual users alike.
