EN
PortuguêsEnglishEspañolDeutschFrançaisItaliano日本語Русский中文
Home Favorites
Voltar

GZIP Compression Test

See whether a website serves its pages compressed with GZIP or Brotli, the original HTML size, the compressed size and how much data and loading time compression saves.

How to use

Does the site use GZIP?

Available in: PortuguêsEspañolEnglishDeutschFrançaisItaliano日本語Русский中文

Next toolOpen Port Checker→
Advertisement

GZIP Compression Test: what it is for

Enter a page address and see whether the server delivers the HTML compressed with GZIP, Brotli or Zstandard, the original HTML size, the GZIP size and the savings as a percentage. The chart compares both sizes and the table estimates download time on 3G, 4G and fiber, with and without compression.

If compression is off, the tool tells you how to turn it on.

How to use

  1. Enter the page address.
  2. Tap Test compression.
  3. See the savings and the download time.

When to use it

  • Check whether GZIP is on after editing .htaccess.
  • Find a cause of a slow site.
  • Compare compression across hosts.

Frequently asked questions

What is GZIP compression?

A way to pack HTML, CSS and JavaScript before sending them to the browser, which unpacks them instantly. Text compresses very well: a 100 KB page usually arrives as 20 to 30 KB, which makes the site faster.

GZIP or Brotli, which is better?

Brotli is newer and compresses on average 15% to 20% more than GZIP, and every current browser supports it. If your server has Brotli, use it; GZIP stays as a fallback.

How do I enable GZIP on my site?

On Apache, enable mod_deflate in .htaccess; on Nginx, use gzip on; with the text/html, text/css and application/javascript types. Hosts and CDNs like Cloudflare usually do this automatically.

Do images need GZIP too?

No. JPG, PNG, WebP, videos and WOFF2 fonts are already compressed. Running GZIP on them barely shrinks them and wastes CPU. Compression is for text: HTML, CSS, JS, JSON, SVG and XML.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 are free.

Similar tools

Thank you so much for helping!

Every donation helps keep the site online. The tools were made to help you, but we have server costs. If you can chip in, it helps a lot! Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.