Create TAR.GZ: The Ultimate Guide to Creating a TAR.GZ File


TAR.GZ files are the most popular compressed archive file format today, and it's no wonder why. They offer a great balance of size and compression ratio, making them perfect for sending over email or storing on your hard drive.

While there is plenty of information about creating these wonderful archives, most people don't know where to look for this info.

We've created a step-by-step guide that will walk you through each process involved with creating TAR.GZ files from start to finish, so you can be sure that every one of your compressed archives was created correctly the first time around!

What is a TAR.GZ file?

A TAR.GZ file is an archive file format that uses the TAR ( Tape ARchive ) and GZIP ( gZip) compression methods to shrink down files to be stored or transferred more quickly and easily. TAR.GZ files are common in UNIX based operating systems, including Linux. However, they can be used with Windows as well.

How to create a TAR.GZ file

To create a TAR.GZ file, you need a file archiver that supports GZIP compression, such as WinZip. A TAR.GZ file should use either "tar" or "tgz." Here is a step-by-step outline for creating a TAR.GZ archive using WinZip:

Step 1: Download and install WinZip by visiting www.winzip.com and choosing the download option for your operating system. If you already have WinZip installed, make sure to check for updates.

Step 2: Create a new archive folder on your hard drive that will contain the TAR.GZ file once it has been successfully created. The best place to do this is either in "My Documents" or on a secondary hard drive such as an external USB storage device.

Step 3: Open WinZip and click "Create Archive."  A window will pop up where you should choose the type of files you want to compress into the TAR archive - including individual files, folders, and whole drives.

Step 4: Choose the "Archive Format" pulldown menu and select "Tar (gzip)" or "tar.gz." This will create a single compressed file instead of separate folders inside of a compressed TAR archive. You can choose to compress individual files and folders separately.

Step 5: Click OK when you're done selecting your source files so you can move on to compression options. Here is where WinZip gives you the ability to set the level of compression used to create your TAR.GZ file. The larger the compression level, the smaller your archive will be and vice versa.

Step 6: Set a password for your archive by clicking the "More Options" button. This is optional, but it's good practice to encrypt passwords so they cannot be read if someone ends up stealing the data from your drive in some way. You can always leave this field blank if you don't want to set a password at all.

Step 7: Name your archive by entering a title into the text box provided in Step 5. You can also choose the destination folder here if your archive file was created in a different destination.

Step 8: Click "OK" to create your TAR.GZ file! WinZip will run through its compression process and finish by displaying a message that says, "Your archive was successfully created." You can now access it by choosing "Open Archive..." or by right-clicking on your TAR.GZ file and selecting "Extract Here." Congratulations! You've just created your very own TAR.GZ file.

In summary

The TAR.GZ format is a convenient, reliable way to store and transfer large files without using too much space on your hard disk or other devices. You can create these archives with the click of a button using  WinZip, so there's no need for any confusing instructions or command line input! Get started by downloading a free trial here.

Need to Download WinZip?

TRY NOW Learn More