Convert GZ to LZ

Turn GZ archives into Lzip. The bytes inside the gzip layer are compressed again as one lzip stream at level 6 unless level is given, under this file's name with .lz 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 lzip.The content is the same. It is stored as one lzip stream.

  1. What you get

    One LZ file with the same content as the GZ file. The bytes inside the gzip layer are compressed again as a single lzip stream. Lzip is an LZMA format built for long-term archiving.

    The output is named after the input, with .lz in place of .gz.

  2. What it leaves behind

    A gzip header may store a file name and a time. Neither is kept in the LZ file, so the name comes only from the name of the file you convert.

  3. Compression level

    Set Compression level to a number from 1 to 9. A higher level makes a smaller file and takes longer. The content is the same at every level.

    If you do not set it, the conversion uses level 6.

GZ and LZ.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 · GZ

Gzip

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

Extensions
.gz
MIME type
application/gzip
Kind
Archives
To · LZ

Lzip

A single file compressed with lzip, an LZMA format built for long-term archiving.

Extensions
.lz
MIME type
application/x-lzip
Kind
Archives

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

terminal
$ cv convert archive.gz archive.lz
$ cv convert archive.gz archive.lz

Questions.What people ask about GZ to LZ.

01OF 04

No. The bytes inside the gzip layer are the same bytes that go into the lzip stream. Only the compression around them changes.

No. The name and time a gzip header may store are not kept.

Level 6, unless you set Compression level. You can choose any level from 1 to 9.

Yes. LZ to GZ goes the other way.

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