Convert LZ4 to ZST

Turn LZ4 archives into Zstandard. The bytes inside the LZ4 layer are compressed again as one Zstandard stream at level 3 unless level is given, under this file's name with .zst 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

Your LZ4 file as a Zstandard file.The same content, compressed again with Zstandard.

  1. What you get

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

    The content is the same as in the LZ4 file. Only the compression around it changes.

  2. Compression level

    The conversion uses level 3 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, so the level only changes how hard the compressor works.

    To go the other way, use ZST to LZ4.

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

Zstandard

A single file compressed with Zstandard, fast to compress and to decompress.

Extensions
.zst
MIME type
application/zstd
Kind
Archives

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

terminal
$ cv convert archive.lz4 archive.zst
$ cv convert archive.lz4 archive.zst

Questions.What people ask about LZ4 to ZST.

01OF 04

No. The bytes inside the LZ4 layer are the same. They are compressed again with Zstandard.

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

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

Yes. ZST to LZ4 does that.

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