Software & Apps File Types 21 21 people found this article helpful What Are TGZ, GZ, & TAR.GZ Files? How to open, edit, and convert TGZ, GZ, and TAR.GZ files by Tim Fisher General Manager, VP, Lifewire.com Tim Fisher has 30+ years' professional technology support experience. He writes troubleshooting content and is the General Manager of Lifewire. our editorial process Facebook Twitter LinkedIn Tim Fisher Updated on February 19, 2020 File Types Design Cryptocurrency MS Office Windows Linux Google Drive Apps File Types Backup & Utilities View More Tweet Share Email A file with the TGZ or GZ file extension is a GZIP Compressed Tar Archive file. They're made up of files that have been placed in a TAR archive and then compressed using Gzip. These types of compressed TAR files are called tarballs and sometimes use a "double" extension like .TAR.GZ but are usually shortened to .TGZ or .GZ. Files of this type are typically only seen with software installers on Unix-based operating systems like macOS, but they're also sometimes used for regular data archiving purposes. This means that, even if you're a Windows user, you may encounter and want to extract data from these kinds of files. How to Open TGZ and GZ Files TGZ and GZ files can be opened with most popular zip/unzip programs, like 7-Zip or PeaZip. Best Free Zip & Unzip Programs Since TAR files don't have native compression capabilities, you'll sometimes see them compressed with archive formats that do support compression, which is how they end up with the .TAR.GZ, GZ, or .TGZ file extension. Some compressed TAR files may look something like Data.tar.gz, with another extension or two in addition to TAR. This is because, as we described above, the files/folders were first archived using TAR (creating Data.tar) and then compressed with GNU Zip compression. A similar naming structure would happen if the TAR file were compressed with BZIP2 compression, creating Data.tar.bz2. In these types of cases, extracting the GZ, TGZ, or BZ2 file will show the TAR file. This means after opening the initial archive, you have to then open the TAR file. The same process takes place no matter how many archive files are stored in other archive files—just keep extracting them until you get to the actual file contents. For example, in a program like 7-Zip or PeaZip, when you open the Data.tar.gz (or .TGZ) file, you'll see something like Data.tar. Inside the Data.tar file is where the actual files that make up the TAR are located (like music files, documents, software, etc.). TAR files compressed with GNU Zip compression can be opened in Unix systems without 7-Zip or any other software, simply by using the command as shown below. In this example, file.tar.gz is the compressed TAR file name. This command performs both the decompression and then the expansion of the TAR archive. gunzip -c file.tar.gz | tar -xvf - TAR files that have been compressed with the Unix compress command can be opened by replacing the "gunzip" command from above with the "uncompress" command. How to Convert TGZ and GZ Files You're probably not after an actual TGZ or GZ archive converter, but instead, are probably wanting a way to convert one or more files from inside the archive into a new format. For example, if your TGZ or GZ file has a PNG image file inside, you may want to convert it to a new image format. The way to do this is to use the information from above to extract the file out of the TGZ/GZ/TAR.GZ file and then use a free file converter on whatever data inside you want in another format. However, if you do want to convert your GZ or TGZ file to another archive format, like ZIP, RAR, or CPIO, you should be able to use the free online Convertio file converter. You have to upload the compressed TAR file (e.g., whatever.tgz) to that website and then download the converted archive file before you can use it. ArcConvert is like Convertio but is better if you have a large archive because you don't have to wait for it to upload before the conversion starts—the program is installable like a regular application. TAR.GZ files can also be converted to ISO using the AnyToISO software. GZIP compression is also used on CPIO files to create CPGZ files.