Convert LZ4 to BR

Turn LZ4 archives into Brotli. The bytes inside the LZ4 layer are compressed again as one Brotli stream at level 9 unless level is given, under this file's name with .br 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 Brotli.The contents stay the same. Only the compression around them changes.

  1. What you get

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

  2. Compression 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 unset, the conversion uses level 9.

  3. Going the other way

    To turn a Brotli file back into LZ4, use BR to LZ4. It works on a single compressed file, just as this conversion does.

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

Brotli

A single file compressed with Brotli, the web's compression for static assets.

Extensions
.br
MIME type
application/x-brotli
Kind
Archives

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

terminal
$ cv convert archive.lz4 archive.br
$ cv convert archive.lz4 archive.br

Questions.What people ask about LZ4 to BR.

01OF 04

It has the same name as the LZ4 file, with .br in place of .lz4.

Level 9. Set Compression level to use another value from 1 to 9.

No. The content is the same at every level. The level changes how hard the compressor works, which affects the size of the file and how long it takes.

The output is one file, and the input is a single file compressed with LZ4. Each conversion produces one Brotli file.

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