Convert LZ4 to XZ

Turn LZ4 archives into XZ. The bytes inside the LZ4 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 .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 recompressed as XZ.The data inside stays the same. Only the compression around it changes.

  1. What you get

    One XZ file. The bytes inside the LZ4 layer are compressed again as a single xz stream, and the file keeps its name with .xz in place of .lz4.

  2. Compression level

    The conversion uses level 6 unless you set Compression level. The range is 1 to 9. A higher level makes a smaller file and takes longer. The content is the same at every level.

  3. Going back

    To return to LZ4, use XZ to LZ4. For other LZ4 conversions, see every LZ4 conversion.

LZ4 and XZ.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 · XZ

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 LZ4 to XZ conversion through the API, for your app or your agent.

terminal
$ cv convert archive.lz4 archive.xz
$ cv convert archive.lz4 archive.xz

Questions.What people ask about LZ4 to XZ.

01OF 04

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

No. The bytes inside the LZ4 layer are compressed again as they are. The content is the same at every level.

It keeps the name of the LZ4 file, with .xz in place of .lz4.

No. A higher level makes a smaller file and takes longer, but the content is the same.

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