Convert LZ4 to BZ2

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

One LZ4 file, recompressed as BZ2.The contents stay the same. Only the compression around them changes.

  1. What you get

    One BZ2 file. The bytes inside the LZ4 layer are compressed again as a single bzip2 stream. The output keeps the name of your file, with .bz2 in place of .lz4.

  2. Compression level

    Set Compression level to a number from 1 to 9. Higher makes a smaller file and takes longer. The content is the same at every level.

    Without it, the conversion uses level 9.

  3. Going back

    To return to LZ4, use BZ2 to LZ4. For other conversions with this format, see every BZ2 conversion.

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

Bzip2

A single file compressed with bzip2.

Extensions
.bz2
MIME type
application/x-bzip2
Kind
Archives

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

terminal
$ cv convert archive.lz4 archive.bz2
$ cv convert archive.lz4 archive.bz2

Questions.What people ask about LZ4 to BZ2.

01OF 04

No. The bytes inside the LZ4 layer are compressed again with bzip2. Only the compression around them is different.

Level 9, unless you set Compression level to another value.

It takes the name of your file, with .bz2 in place of .lz4.

No. A higher 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 LZ4 and BZ2.