Check whether a server ships compressed responses — and how much the page would shrink with gzip: live header check plus a real compression measurement.
How to use the gzip compression test
Enter the page URL and press Test compression.
Read the header verdict: does the server report gzip, Brotli, or nothing?
See the original size, the size after a real gzip pass in your browser, and the potential saving percentage.
If compression is off, enable mod_deflate (Apache) or gzip on (nginx) and test again.
About this tool
Text assets — HTML, CSS, JavaScript, SVG, JSON — compress 60–85%. Serving them uncompressed wastes most of your bandwidth budget. Servers advertise their encoding in the Content-Encoding response header; this tool checks it live and, additionally, compresses the fetched body in your browser to show the achievable ratio.
Note the two layers: what the server sends to the relay it fetched through, and what it would send to a real browser. Use the numbers together — a missing Content-Encoding header with a 75% compressibility estimate is a strong cue to turn gzip on.
Frequently asked questions
Gzip or Brotli?
Brotli compresses 15–20% better and is supported everywhere modern. If your CDN or server offers it, prefer it; gzip remains the universal fallback.
Should I compress images?
No — PNG/JPEG/WebP are already compressed. Gzip targets text: HTML, CSS, JS, SVG, JSON.
The header says gzip but savings show 0%?
Some assets (small files, or already-compressed formats) gain little. That is normal — focus on the big text files.