# google/brotli

Brotli compression format

Repository: https://github.com/google/brotli
Canonical: https://ross.abutalabs.com/products/brotli
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-18T08:18:29+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 22, longevity 100
- inputs: {"age_days": 4346, "days_push": 15, "days_rel": 310, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14853, forks 1350 (observed 2026-08-28T04:11:07.809978+00:00)

## What it is
Google's reference implementation of the Brotli lossless compression algorithm and format (RFC 7932), offering compression ratios comparable to the best general-purpose methods at speeds similar to deflate. It provides C/C++ libraries, a CLI tool, and language bindings such as Python.

## Use cases
- compress HTTP responses with brotli encoding
- compress files with better ratio than gzip
- embed a compression library in a C/C++ application
- compress and decompress data from Python
- reduce size of static assets for web serving

## When to choose
- you need dense lossless compression with deflate-like speed
- you serve web content and want brotli Content-Encoding support
- you need a well-tested, RFC-standardized compression format with bindings

## When to avoid
- you need built-in checksums or uncompressed-length metadata in the format
- you need maximum compression speed over ratio (deflate/zstd may be faster)
- you need long-range deduplication of very large files (zstd may fit better)

## Facets
- artifact type: library
- maturity: stable
- function: compression, serialization
- domain: developer-tools, web-development, performance
- platform: cross-platform, windows, python, cpp, cli
- tags: lossless-compression, brotli-format, rfc-7932, http-compression, lz77, huffman-coding, algorithms, linux, macos

## Member repositories
- google/brotli (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.809978+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:07:07.571440+00:00, confidence not recorded.
  - readme: https://github.com/google/brotli (fetched 2026-08-28T04:11:07.809978+00:00, sha e1644fa3445f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
