TAR → GZ / online converter

TAR to GZ Converter

Compress a plain TAR archive into TAR.GZ to make it much smaller for transfer and storage.

01 / how to

How to convert TAR to GZ

01

ADD YOUR TAR

Drop the TAR file into the box above or choose it from your device.

02

CONVERT TO GZ

GZ is already selected. Press Convert and wait a few seconds.

03

DOWNLOAD

Save the finished GZ file. The original is deleted from our server.

02 / what you get

What happens to your data

Kept

  • Folders (including empty ones) and file names in any language, such as Cyrillic or Polish, are kept
  • File dates and Unix permissions are kept, so a script that was executable stays executable
  • A standard .tar.gz (tarball) that opens with tar -xzf on Linux and macOS and with 7-Zip or WinRAR on Windows
  • The contents of the TAR are not changed, only compressed

Good to know

  • gzip compresses less tightly than 7Z or XZ, in return it is fast and understood everywhere.
  • Links (shortcuts) and special files inside the archive are left out. Only real files and folders are converted.
  • Archives up to 300 MB are accepted. An archive that unpacks to more than 500 MB or 20,000 files is refused.

03 / formats

TAR vs GZ

TAR

A TAR file bundles multiple files into one archive without compressing them (the name stands for Tape Archive). It's the standard way to package files on Linux/Unix systems, often combined with gzip compression afterward.

Used in: Linux/Unix file packaging · Docker build contexts · Backup tools

GZ

A .tar.gz file (sometimes called a tarball) is a TAR archive that's been compressed with gzip — the most common archive format on Linux and for open-source software downloads.

Used in: Linux software downloads · Open-source releases · Server backups

04 / more

More conversions

Have a different file? Open the main converter — it detects the format for you.