Convert GZ to XZ
Turn GZ archives into XZ. The bytes inside the gzip layer are compressed again as one xz stream at level 6 unless level is given, under this file's name with .xz in place of .gz.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop GZ files on the dialor turn it to pick what to do
A gzip file recompressed as xz.The content stays the same. Only the compression around it changes.
What you get
One XZ file. The bytes inside the gzip layer are compressed again as a single xz stream, so the file you open after unpacking is the same as before.
The output keeps the name of the GZ file, with .xz in place of .gz.
What it leaves behind
A gzip header can store a file name and a time. Neither is kept in the XZ file. The name of the output comes from the GZ file's own name instead.
Compression level
Compression is set to level 6 unless you choose another. Set Compression level to a value from 1 to 9. A higher level makes a smaller file and takes longer.
The content is the same at every level, so the level only changes how hard the compressor works.
GZ and XZ.What each format is, and the options this conversion takes.
- 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
Gzip
A single file compressed with gzip, such as a log or a CSV.
- Extensions
- .gz
- MIME type
- application
/gzip - Kind
- Archives
XZ
A single file compressed with xz, the LZMA format of most Linux distributions.
- Extensions
- .xz
- MIME type
- application
/x -xz - Kind
- Archives
In your code.The same GZ to XZ conversion through the API, for your app or your agent.
$ cv convert archive.gz archive.xz$ cv convert archive.gz archive.xzQuestions.What people ask about GZ to XZ.
The output takes the name of the GZ file with .xz in place of .gz. Any name stored inside the gzip header is not kept.
No. The bytes inside the gzip layer are compressed again, and the content is the same at every level.
Level 6, unless you set Compression level. It accepts 1 to 9.
Yes. XZ to GZ converts an XZ file the other way.