Skip to the converter

GZ to XZ converter, without the upload.

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

Drop 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 GZ to XZ

  1. Add your GZ compressed files

    Drop GZ (gzip) 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. XZ is already chosen

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

  3. Download

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

Why ToAny

  • Private by construction

    The GZ to XZ converter is part of this page and runs inside your browser. Your compressed files 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.

GZ to XZ: what to expect

GZ holds one file only, and Windows has long needed extra software to open it. XZ makes smaller files than gzip. GZ is at home in compressing one file or stream, such as a log or a web response; XZ is the usual choice for software distribution where download size matters.

A password-protected archive is refused, since its contents cannot be read without the password. A .gz file holds one file and no folders; that file is unpacked as it is and then repacked in the new format.

GZ vs XZ

GZ

Gzip file

A .gz file is a single file squeezed with gzip. Unlike ZIP it holds exactly one file and no folder structure, which is why it is usually paired with TAR to make a .tar.gz. Web servers use the same compression for pages, and logs and database dumps are routinely gzipped.

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

GZ converter
XZ

XZ file

XZ squeezes a single file with the LZMA2 algorithm, producing noticeably smaller files than gzip at the cost of more time and memory when compressing. Linux kernel sources and many distribution packages are shipped as .tar.xz.

Opens in Linux, 7-Zip and most archive utilities

XZ converter
GZ compared with XZ
GZGzip fileXZXZ file
Stands forgzipXZ
TypeCompressed fileCompressed file
CompressionLossless (Deflate)Lossless (LZMA2)
Introduced1992, by Jean-loup Gailly and Mark Adler2009, by Lasse Collin (XZ Utils)
Opens inmacOS, Linux and 7-Zip; recent versions of WindowsLinux, 7-Zip and most archive utilities
Best forCompressing one file or stream, such as a log or a web responseSoftware distribution where download size matters
File extension.gz, .gzip.xz

Questions

Are my compressed files uploaded anywhere?

No. The GZ to 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 GZ to XZ?

No. The files inside are repackaged unchanged.

Can I convert several 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 GZ to 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 GZ file, press Convert and save the 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.

Convert to XZ from…