Skip to the converter

TAR.GZ to TAR.XZ converter, without the upload.

Turn TAR.GZ archives into TAR.XZ. It is converted in your browser, so the file never leaves your device.

Drop TAR.GZ files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert TAR.GZ to TAR.XZ

  1. Add your TAR.GZ archives

    Drop TAR.GZ (TGZ, GZ) files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. TAR.XZ is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the TAR.XZ, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The TAR.GZ to TAR.XZ converter is part of this page and runs inside your browser. Your archives are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

TAR.GZ to TAR.XZ: what to expect

TAR.GZ is awkward on older Windows machines and on phones. TAR.XZ is smaller than TAR.GZ for the same files. TAR.GZ is at home in source code and server backups; TAR.XZ is the usual choice for source code and Linux packages.

A password-protected archive is refused, since its contents cannot be read without the password.

TAR.GZ vs TAR.XZ

TAR.GZ

Gzipped TAR archive

A .tar.gz (or .tgz) is a TAR archive compressed with gzip. It is the standard way software source code and Linux backups are distributed.

Opens in macOS, Linux and recent Windows; 7-Zip elsewhere

TAR.GZ converter
TAR.XZ

XZ-compressed TAR archive

A .tar.xz (or .txz) is a TAR archive compressed with XZ. It makes smaller downloads than .tar.gz and is how the Linux kernel and many distribution packages are published.

Opens in Linux, 7-Zip and most archive utilities

TAR.XZ converter
TAR.GZ compared with TAR.XZ
TAR.GZGzipped TAR archiveTAR.XZXZ-compressed TAR archive
Stands forGzip-compressed TARXZ-compressed TAR
TypeCompressed archiveCompressed archive
CompressionLossless (Deflate)Lossless (LZMA2)
Introduced1992, by Jean-loup Gailly and Mark Adler (gzip)2009, by Lasse Collin (XZ Utils)
Opens inmacOS, Linux and recent Windows; 7-Zip elsewhereLinux, 7-Zip and most archive utilities
Best forSource code and server backupsSource code and Linux packages
File extension.tar.gz, .tgz, .tpz.tar.xz, .txz

Questions

Are my archives uploaded anywhere?

No. The TAR.GZ to TAR.XZ conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting TAR.GZ to TAR.XZ?

No. The files inside are repackaged unchanged.

Can I convert several TAR.GZ files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert TAR.GZ to TAR.XZ on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the TAR.GZ file, press Convert and save the TAR.XZ. There is nothing to install.

Is there a file size limit?

Yes. An archive can be up to 500 MB, unpack to at most 1 GB and hold up to 50,000 files; beyond those limits the page says so. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.