Convert XZ to LZ4

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

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An XZ file recompressed as LZ4.One file in, one file out, with the same content inside.

  1. What you get

    A single LZ4 file. The bytes inside the XZ layer are compressed again as one LZ4 stream, so the content you extract from the result is the same as the content in the XZ file.

    The output keeps the name of your file, with .lz4 in place of .xz.

  2. Compression level

    The conversion runs at level 1 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.

    If you want the reverse, LZ4 to XZ converts an LZ4 file back to XZ.

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

XZ

A single file compressed with xz, the LZMA format of most Linux distributions.

Extensions
.xz
MIME type
application/x-xz
Kind
Archives
To · LZ4

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

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

Questions.What people ask about XZ to LZ4.

01OF 04

No. Only the compression around the content changes. The bytes inside are the same.

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

It has the same name as your file, with .lz4 in place of .xz.

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

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