A generic-purpose lossless compression algorithm offering dense compression at speeds comparable to deflate.
Brotli is a lossless compression algorithm developed by Google that compresses data using a combination of LZ77, Huffman coding, and context modeling. It solves the problem of reducing data size for transmission and storage while maintaining fast decompression speeds, making it ideal for web content and general-purpose compression needs.
Developers and system administrators working on web performance optimization, data transmission, or storage efficiency, particularly those implementing content compression for HTTP servers or applications.
Developers choose Brotli for its superior compression ratio compared to deflate (gzip) at similar speeds, its standardization as RFC 7932 ensuring reliability, and its broad support across platforms and programming languages.
Brotli compression format
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers compression ratios comparable to the best general-purpose methods, significantly reducing file sizes for web assets like HTML and CSS.
Operates at speeds similar to deflate (gzip), ensuring minimal performance overhead during content delivery, as noted in the README.
Defined in RFC 7932, providing a stable specification for interoperability and reliability across implementations.
Available through package managers like apt and Homebrew, with language bindings for Python, JavaScript, and more, as highlighted in the installation section.
As a stream format, Brotli lacks checksums or uncompressed data length metadata, making errors during decompression undetectable without external validation.
Effective use depends on client support, which may not be available in older browsers or systems, limiting adoption in mixed or legacy environments.
At higher compression levels (e.g., level 11), Brotli requires more CPU resources than gzip, which can impact server performance under high load, though this is a trade-off for better ratios.