Convert GZ to LZ4
Turn GZ archives into LZ4. The bytes inside the gzip layer are compressed again as one LZ4 stream at level 1 unless level is given, under this file's name with .lz4 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 LZ4.The content stays the same. Only the compression around it changes.
What you get
One LZ4 file with the same content as the gzip file. The bytes inside the gzip layer are compressed again as a single LZ4 stream. The output keeps the file's name, with .lz4 in place of .gz.
Unless you set a level, the conversion uses level 1.
What it leaves behind
A gzip header can store a file name and a time. Neither is kept in the LZ4 file. The name of the output comes from the name of the file you convert.
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.
To go the other way, use LZ4 to GZ.
GZ and LZ4.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
LZ4
A single file compressed with LZ4, built for speed over ratio.
- Extensions
- .lz4
- MIME type
- application
/x -lz4 - Kind
- Archives
In your code.The same GZ to LZ4 conversion through the API, for your app or your agent.
$ cv convert archive.gz archive.lz4$ cv convert archive.gz archive.lz4Questions.What people ask about GZ to LZ4.
No. The bytes inside the gzip layer are compressed again, so the content is the same. Only the compression changes.
Level 1, unless you set Compression level. The option accepts 1 to 9.
No. The name and time a gzip header may store are not kept. The output is named after the file you convert, with .lz4 in place of .gz.
Yes. Use LZ4 to GZ for that.