GenerateIt

Check GZIP Compression

This online web tool allows you to quickly check whether GZIP compression is enabled on your website. GZIP compression is a widely used method that reduces the size of files sent from your web server to visitors’ browsers, which can significantly improve loading times and overall website performance.

When GZIP is enabled, files such as HTML, CSS, and JavaScript are compressed on the server before being sent over the internet. Once the compressed files reach the visitor’s browser, they are automatically decompressed, allowing the page to display normally. This entire process happens almost instantly and is completely transparent to the end user.

Enabling GZIP compression can reduce the size of transmitted files by 50% to 80%, which not only speeds up page load times but also reduces bandwidth usage and server load. Faster websites improve user experience, enhance SEO rankings, and can even lower hosting costs for high-traffic sites.

Simply enter your website’s URL into this tool to find out if GZIP compression is active and ensure your site is delivering content as efficiently as possible.

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong.

Buy me a coffee

Enter Website URL

You can leave off http:// or https://. We use https:// if it is missing.

We ask your website for its page twice, once with compression and once without, and compare the sizes. Only the sizes are kept, nothing from the page is shown or stored.

How to use it

The online GZIP compression checker is a great tool to let you know if a particular website has enabled GZIP or not.

  1. Enter the websiteEnter your website into the text field above and click on ‘Check Site’.
  2. Read the resultsYou will then be presented with the results of the analysis.
  3. If GZIP is onIf your site has GZIP enabled, the results will show you what the compressed and uncompressed file size is.
  4. If GZIP is offIf your site comes back with GZIP not enabled, we recommend that you enable it to make the site load faster.
  5. The savingGZIP compression can save a site between 50% and 80% bandwidth.

How to turn GZIP on

Apache (.htaccess)

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/plain text/css
  AddOutputFilterByType DEFLATE text/javascript application/javascript application/json
  AddOutputFilterByType DEFLATE application/xml image/svg+xml
</IfModule>

Nginx

gzip on;
gzip_vary on;
gzip_comp_level 5;
gzip_min_length 256;
gzip_types text/css text/plain text/javascript
  application/javascript application/json
  application/xml image/svg+xml;

Reload the server after the change, then check your site again. Many hosting control panels and services such as Cloudflare also have a compression switch, so ask your host if you cannot edit these files.

Good to know

Text compresses well

HTML, CSS, JavaScript and JSON shrink a lot. Images, video and zip files are already compressed.

Brotli is even better

Brotli (br) usually makes files smaller than GZIP. Most modern browsers use it when the server offers it.

Check your pages, not just the home page

Enter the address of a busy page or a large CSS or JavaScript file to see whether it is compressed too.

Frequently asked questions

What is GZIP compression?

The server packs the page into a smaller file before it sends it, and the browser unpacks it. The visitor sees the same page, but it downloads faster.

Does it matter for SEO?

Page speed is part of the experience search engines look at, and compression is one of the simplest ways to speed up a site.

My site uses compression but the tool says it does not. Why?

Some servers only compress certain file types or files above a minimum size. Very small pages are often left alone. Try a larger page, and check that your server settings include the HTML type.

What does “Vary: Accept-Encoding” mean?

It tells caches that the page comes in more than one form (compressed and not), so they keep both. Without it a cache could send a compressed copy to something that cannot read it.

Why can’t I check some addresses?

Only public web addresses on ports 80, 443, 8080 and 8443 can be checked. Private network addresses are refused, and the site’s security certificate must be valid.

Why is a large page cut off at 5 MB?

To keep the check quick and fair for everyone, we stop reading after 5 MB. The tool tells you when that happens.

Related tools

HTTP Headers

View the headers of the site of your choice, exactly what your browser reads.

Redirect Checker

Seamlessly analyze and track the complete path of URL redirects.

Whois Lookup

Find out who registered a website and check a domain name with our Whois lookup tool.

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong.

Buy me a coffee