Convert XZ to GZ

Turn XZ archives into Gzip. The bytes inside the xz layer are compressed again as one gzip stream at level 6 unless level is given, under this file's name with .gz in place of .xz.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XZ files on the dialor turn it to pick what to do

The same file in a gzip wrapper.The content inside the XZ file is packed again as GZ. You get one file.

  1. What you get

    A single GZ file. The bytes inside the XZ layer are compressed again as one gzip stream. The output keeps the name of the XZ file, with .gz in place of .xz.

    The content is the same as before. Only the compression around it changes.

  2. Compression level

    The conversion uses level 6 unless you say otherwise. Set Compression level to a number from 1 to 9 to change how hard the compressor works.

    A higher level makes a smaller file and takes longer. The content is the same at every level.

  3. Going the other way

    To pack a GZ file as XZ, use GZ to XZ. For other XZ conversions, see every XZ conversion.

XZ and GZ.What each format is, and the options this conversion takes.

  1. 01 · level

    Compression level

    How hard the compressor works. Higher makes a smaller file and takes longer. The content is the same at every level.

    1 to 9

The formats

From · XZ

XZ

A single file compressed with xz, the LZMA format of most Linux distributions.

Extensions
.xz
MIME type
application/x-xz
Kind
Archives
To · GZ

Gzip

A single file compressed with gzip, such as a log or a CSV.

Extensions
.gz
MIME type
application/gzip
Kind
Archives

In your code.The same XZ to GZ conversion through the API, for your app or your agent.

terminal
$ cv convert archive.xz archive.gz
$ cv convert archive.xz archive.gz

Questions.What people ask about XZ to GZ.

01OF 04

Level 6, unless you set Compression level. The option accepts 1 to 9.

It has the name of your XZ file with .gz in place of .xz.

No. The content is the same at every level. Only the compression around it is different.

One file. It holds a single gzip stream.

More conversions.Other ways in and out of XZ and GZ.