# Brotli

> Google's lossless compression format and reference library, with dense compression at deflate-like speed

Source: https://talira.ai/catalog/brotli-1n6pby6e
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [libraries / compression](https://talira.ai/categories/libraries/compression)
- Licence: MIT[^4]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^5]

Brotli is Google's general-purpose lossless compression algorithm and its reference implementation: a modern LZ77 variant with Huffman coding and second-order context modelling, about as fast as deflate but compressing more densely. The format is specified in RFC 7932. The repository provides the C library and command-line tool with bindings, installable from most Linux package managers, Homebrew and vcpkg.

## Links

- Website: https://brotli.org/
- GitHub: https://github.com/google/brotli

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/brotli>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/brotli>[^2]

## Problems it solves

- compress web assets better than gzip
- C library for Brotli compression and decompression
- command-line tool to compress files with Brotli

## Features

- lossless general-purpose compression
- denser than deflate at similar speed
- RFC 7932 format
- C library and brotli CLI
- packages for Linux, Homebrew and vcpkg

## Limitations

- The Brotli stream format has no checksums or length metadata, so a decoder won't notice if raw ranges of the stream are changed.[^3]

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.84, momentum 0.61, community 0.86, backing 0.55, extensibility 0.00.

- last commit 4 days ago
- 77 commits in the last 90 days
- latest release v1.2.1 39 days ago
- 15.2k GitHub stars
- 142 contributors
- 2k Homebrew installs in 30 days
- backed by Google
- funding: public company (NASDAQ:GOOGL)

## Alternatives

- [Zstandard](https://talira.ai/catalog/zstandard-3b91e4t3.md): Real-time data compression algorithm
- [XZ Utils](https://talira.ai/catalog/xz-utils-g2ym9dzd.md): A complete C99 implementation of the .xz file format
- [zlib](https://talira.ai/catalog/zlib-zngpnckr.md): A general-purpose, patent-free lossless data compression library
- [LZ4](https://talira.ai/catalog/lz4-7s0mpjzk.md): Extremely fast lossless compression, with decoding at RAM speed
- [zlib (Haskell)](https://talira.ai/catalog/zlib-haskell-bhb2nw5s.md): Haskell compression and decompression in the gzip and zlib formats over lazy ByteStrings

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 30 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 30 Nov 2026)
[^3]: https://github.com/google/brotli/blob/master/README.md (checked 30 Nov 2026)
[^4]: https://github.com/google/brotli/blob/master/LICENSE (checked 30 Nov 2026)
[^5]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
