Convert LZ4 to GZ

Turn LZ4 archives into Gzip. The bytes inside the LZ4 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 .lz4.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An LZ4 file as a gzip file.The data inside is compressed again as one gzip stream.

  1. What you get

    One GZ file. The bytes inside the LZ4 layer are compressed again as a single gzip stream, at level 6 unless you choose another level. The output keeps the name of your file, with .gz in place of .lz4.

  2. 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, so the choice only changes how hard the compressor works.

    If you leave it unset, level 6 is used.

  3. Going the other way

    To turn a gzip file back into LZ4, use GZ to LZ4.

LZ4 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 · LZ4

LZ4

A single file compressed with LZ4, built for speed over ratio.

Extensions
.lz4
MIME type
application/x-lz4
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 LZ4 to GZ conversion through the API, for your app or your agent.

terminal
$ cv convert archive.lz4 archive.gz
$ cv convert archive.lz4 archive.gz

Questions.What people ask about LZ4 to GZ.

01OF 04

It has your file's name with .gz in place of .lz4.

Level 6. Set Compression level to a value from 1 to 9 to change it.

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

The conversion gives one file as output, a single GZ file for the LZ4 file you provide.

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