Your files stay on your device

Brotli compress and decompress

Compress a file to .br or open a .br file.

Text or file

Loading editor…
Pasted text is compressed as pasted.txt

A stream, not an archive

Brotli wraps one stream of data, as RFC 7932 defines it. A gzip header can carry the original file name, but a Brotli stream has no field for one, so the name is not stored. The format also ships a built-in dictionary of common web text, which helps on short web-style content.

Quality as a time trade

  • Quality 0 does the least searching for repeats, so it runs fastest and compresses least.
  • Each step up searches more and spends more time on each stretch of input.
  • Quality 11 searches the most, which is why big files take a long time at that setting.

Already compressed input

JPEG, PNG, and .zip files are already compressed, so they have little redundancy left. Brotli will shrink them only slightly, so a higher quality setting rarely pays off for them.

Was this tool useful?