In 2026, Zstd wins for general-purpose file compression (fast + strong), Brotli wins for static web assets served by a CDN (best ratio for HTML/JS/CSS), and Gzip survives only for universal compatibility. Zro7 File Compressor writes all three in the browser so you can pick per file.
The short table
Numbers below are typical for text-heavy input at each codec's default level; your mileage varies with content.
- Gzip -6 — ratio 3.1×, compress 90 MB/s, decompress 400 MB/s. Universal.
- Brotli -6 — ratio 3.7×, compress 30 MB/s, decompress 350 MB/s. Best for text served over HTTPS.
- Brotli -11 — ratio 4.1×, compress 0.5 MB/s (offline only), decompress 350 MB/s.
- Zstd -3 — ratio 3.3×, compress 500 MB/s, decompress 1500 MB/s. Best all-rounder.
- Zstd -19 — ratio 4.0×, compress 5 MB/s, decompress 1500 MB/s. Rivals Brotli-11, decompresses 4× faster.
When to use each
Web assets (HTML, JS, CSS, JSON)
Use Brotli if your CDN supports it (Cloudflare, Fastly, CloudFront, Vercel — all do). Fall back to Gzip via Accept-Encoding negotiation. Brotli's static dictionary is tuned for HTML/JS and beats Gzip by ~20% on those inputs.
Logs, backups, database dumps, ML checkpoints
Use Zstd. It matches Brotli-11 at level 19 while decompressing 4× faster, and its fast levels (1–3) compress at 500+ MB/s — fast enough to enable on every write. Meta uses Zstd in RocksDB, Facebook binaries, and Zstandard file-system for exactly this reason.
Anything that must open on a legacy machine
Use Gzip. Every UNIX shipped since 1992 has it. Brotli requires a modern browser or brotli CLI; Zstd requires zstd CLI (available since ~2016 but not always installed).
Browser support
Accept-Encoding: gzip, deflate, br, zstdis emitted by Chrome 123+, Edge 123+, Firefox 126+, and Safari 17.4+. All support Zstd decoding.- Compression Streams API supports
gzipanddeflatenatively; Brotli and Zstd still ship as WASM libraries in the browser.
Steps
- Open File Compressor.
- Drop a file, pick Gzip / Brotli / Zstd, pick a level.
- Download the compressed output plus a size / ratio report.
Zro7