Brotli works in Chrome 50+, Firefox 44+, Edge 15+, Safari 11+ on macOS and iOS, Opera 38+, and Samsung Internet 5+. Learn Brotli browser support and quirks.

Prince Dewani
May 2, 2026
Brotli is a lossless compression algorithm that Google engineers developed and the IETF standardized as RFC 7932 for HTTP encoding. It works in Chrome 50+, Firefox 44+, Opera 38+, Edge 15+, Safari 11+ on macOS and iOS, and Samsung Internet 5+, while Internet Explorer never added support.
This guide covers what Brotli is, the browsers that support it, how the algorithm works, how it compares to Gzip, how to enable it on a server, and the known issues.
Brotli is a general-purpose, lossless data compression algorithm that combines LZ77, Huffman coding, and second-order context modeling with a built-in static dictionary of around 13,000 web-friendly substrings. The IETF published it as RFC 7932, and browsers and servers use it for the Accept-Encoding: br HTTP content negotiation.
Brotli is supported by every modern desktop and mobile browser through the Accept-Encoding: br HTTP header, with Chrome, Firefox, Opera, and Edge among the first to add it and Safari following on macOS and iOS.
Chrome supports Brotli from Chrome 50 on Windows, macOS, Linux, ChromeOS, and Android. Chrome 49 had Brotli shipped but disabled by default, and Chrome 4 to 48 did not support it. Chrome only sends the Accept-Encoding: br header on HTTPS connections, so plain HTTP responses fall back to Gzip.
Microsoft Edge supports Brotli from Edge 15 on Windows. The legacy EdgeHTML browser added it in version 15, and Chromium Edge from Edge 79 onward inherits Chrome's behavior, including the HTTPS-only Accept-Encoding restriction. Edge 12 to 14 did not support Brotli.
Firefox supports Brotli from Firefox 44 on Windows, macOS, Linux, and Android. Firefox only advertises br in the Accept-Encoding header over HTTPS, matching Chrome's behavior. Firefox 1 to 43 did not support Brotli, and Firefox for Android also gained support in version 44.
Safari supports Brotli from Safari 11 on macOS High Sierra 10.13 and from Safari 11 on iOS 11 and iPadOS. Earlier Safari builds on macOS and iOS did not advertise br in the Accept-Encoding header, so older iPhones, iPads, and Macs fall back to Gzip on every request.
Opera supports Brotli from Opera 38 on Windows, macOS, and Linux. Opera 36 and 37 had Brotli disabled by default, and earlier Opera versions did not support it at all. Opera Mobile supports Brotli from Opera Mobile 80 on Android, and Opera Mini does not support it in any version.
Samsung Internet supports Brotli from Samsung Internet 5 on Galaxy phones and tablets. It is built on Chromium, so it follows the same HTTPS-only Accept-Encoding rules as Chrome for Android. Samsung Internet 4 did not support Brotli.
Chrome for Android, the modern default browser on Android phones, supports Brotli from Chrome 50. The legacy stock Android Browser (AOSP) on Android 4.4 KitKat and earlier did not support Brotli. On modern Android phones, use Chrome for Android, Firefox for Android, or Samsung Internet for Brotli over HTTPS.
Internet Explorer does not support Brotli in any version. IE 5.5 through IE 11 only accept gzip and deflate in the Accept-Encoding header. Microsoft has retired Internet Explorer, so production traffic from IE should fall back to Gzip or be redirected to Edge.
Note: Brotli falls back to Gzip silently across older Safari, iOS, and HTTP-only origins. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!
Brotli combines three techniques to squeeze more out of web text than older compression formats. The result is roughly 15 to 20% smaller files than Gzip on JavaScript, HTML, and CSS at the same fidelity. Three building blocks drive the savings:
Brotli also exposes 12 compression levels, from 0 (fastest) to 11 (smallest output). Servers usually run levels 4 to 6 on dynamic responses and level 11 on cached static assets that are compressed once at build time.
Brotli and Gzip are both HTTP compression formats, but they differ on compression ratio, CPU cost, and tooling support. Gzip is the older default that every browser supports; Brotli is the newer, denser option for HTTPS traffic.
| Dimension | Brotli | Gzip |
|---|---|---|
| Algorithm | LZ77, Huffman coding, second-order context modeling, 120 KiB static dictionary | DEFLATE (LZ77 plus Huffman coding), no static dictionary |
| Specification | RFC 7932 | RFC 1952 |
| Compression levels | 0 to 11 (12 levels) | 1 to 9 (9 levels) |
| File size at top level | About 15 to 20% smaller than Gzip on JavaScript, HTML, and CSS | Baseline for the comparison |
| Encoding speed | Slow at level 11; comparable to Gzip at levels 4 to 6 | Fast at every level, faster than Brotli on hot dynamic responses |
| Browser reach | Chrome 50+, Firefox 44+, Edge 15+, Safari 11+, Opera 38+, Samsung Internet 5+. Not in IE. | Every browser ever shipped, including IE 5.5+ |
| Connection requirement | HTTPS only in mainstream browsers | HTTP and HTTPS |
| Best fit | Static assets compressed at build time, HTTPS-only sites, modern CDNs | Universal fallback, dynamic responses, legacy origin servers |
Brotli is on by default in Cloudflare, Fastly, Akamai, and most major CDNs, but you may need to turn it on yourself for Nginx, Apache, or a custom origin. Follow these steps for the Nginx setup:
If the response still comes back as content-encoding: gzip, the Brotli module did not load or the request URL is on plain HTTP. Re-check the load_module lines and confirm the request used HTTPS.
Brotli ships in every modern browser, but a few real edge cases still bite in production. The biggest hits are HTTPS-only behavior, slow encoding at the top compression level, and uneven origin-server defaults.
In my experience, the most surprising failure is a CDN silently downgrading to level 4 on the edge while the origin pre-built level-11 files. The fix is to serve the precompressed .br files directly with brotli_static on; in Nginx so the CDN passes them through without re-encoding.
All Brotli version numbers and platform notes in this guide come from these primary sources:
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance