Convert BZ2 to LZ4
Turn BZ2 archives into LZ4. The bytes inside the bzip2 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 .bz2.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop BZ2 files on the dialor turn it to pick what to do
A bzip2 file recompressed as LZ4.The content stays the same. Only the compression around it changes.
What you get
One LZ4 file. The bytes inside the bzip2 layer are compressed again as a single LZ4 stream. The file keeps its name, with .lz4 in place of .bz2.
LZ4 is built for speed over ratio, and bzip2 is the format you start from. The file inside is the same one you had.
Choosing a level
Set Compression level to a number from 1 to 9. Higher levels make a smaller file and take longer. The content is the same at every level.
If you leave it out, the conversion uses level 1.
Going the other way
To return to bzip2, use LZ4 to BZ2. You can also browse every LZ4 conversion.
BZ2 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
Bzip2
A single file compressed with bzip2.
- Extensions
- .bz2
- MIME type
- application
/x -bzip2 - 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 BZ2 to LZ4 conversion through the API, for your app or your agent.
$ cv convert archive.bz2 archive.lz4$ cv convert archive.bz2 archive.lz4Questions.What people ask about BZ2 to LZ4.
No. The bytes inside the bzip2 layer are the same bytes that end up in the LZ4 stream. Only the compression around them changes.
It takes the name of your file with .lz4 in place of .bz2.
Level 1. Set Compression level to use any level from 1 to 9.
No. A higher level makes a smaller file and takes longer, but the content is the same at every level.