Compression (gzip/brotli) Check
Check whether the server applies gzip/brotli compression and the savings.
The compression check tool verifies in real time whether a server applies content compression such as gzip or brotli (br) to a given URL. Just like a browser, it sends an Accept-Encoding: gzip, br, deflateheader and then reads the response's Content-Encoding value to show which compression, if any, is in use.
Text-based assets (HTML, CSS, JavaScript, JSON, and so on) shrink dramatically once compression is enabled, improving load times and Core Web Vitals. If compression is missing, you are leaving one of the easiest, highest-impact optimizations on the table. Enter a URL to see the applied encoding alongside the Content-Type and Vary headers. To see how heavy the page is, use the page weight analyzer, and to check whether the server responds quickly, the response time test.
gzip vs brotli
gzip is the standard compression method supported by virtually every server and browser. brotli (br) is a newer algorithm from Google that typically compresses the same text 15-25% smaller than gzip. Most modern browsers support brotli over HTTPS, so a good setup serves brotli for static text assets while keeping gzip enabled for dynamic responses and older clients.
Which assets to compress
- Compress: text-based assets such as HTML, CSS, JavaScript, JSON, SVG and XML
- Skip: already-compressed binaries like JPEG, PNG, WebP and MP4 (recompressing wastes CPU for almost no gain)
- Vary header: compressed responses should send
Vary: Accept-Encodingso caches and proxies keep compressed and uncompressed variants separate.
Differences behind proxies and HTTP/2
Intermediaries such as CDNs, reverse proxies and load balancers may handle compression themselves or decompress and recompress responses, so the origin's configuration can differ from what is actually returned. Header presentation can also vary by tool under HTTP/2 and HTTP/3. This tool reports the Content-Encoding seen on the final response, so for sites behind a CDN you are looking at what the edge returned.