Compression is one of the cheapest speed wins on the web. When it is on, the server squeezes each page before sending it and the browser unpacks it instantly. Visitors get the same page, but the download is often three to five times smaller.
The problem is that you cannot see compression by looking at a page. It looks exactly the same with or without it. This guide shows how to check any URL in under a minute with the free WizBrand URL Compression Check, how to read the result, and what to paste into your server if compression is off.

Step 1: Open the checker and paste a URL
Open the tool and find the box labelled Test a URL for compression. Paste the full address of the page you want to test, including https://. It can be your home page, a blog post, a product page or a CSS or JavaScript file. Then press Check.
The tool requests the page the way a browser does, saying “I can read compressed content”, and then looks at what the server sends back. There is no sign-up and nothing to install.
Step 2: Read the result
If compression is on, you will see which method the server used (gzip, br for Brotli, or deflate), the size before and after, and the percentage saved.
When we tested the WizBrand home page on 5 December 2026, it came back as gzip: 62.11 KB shrunk to 14.25 KB, a 77.06% saving.

If compression is off, the tool says so and gives you an estimate of what you would save. We were honest enough to test our own tutorials front page too, and it was not compressed: 239.62 KB sent as-is, with an estimated 54.32 KB if gzip were switched on (about 77% smaller).

Two things the result also tells you:
- Some files are already compressed. JPG, PNG, WebP, MP4, ZIP and PDF files are packed already, so gzip adds almost nothing. If you test one of those, a low saving is normal.
- Brotli counts. If you see
br, your server (or CDN) is using Brotli, which is usually a little better than gzip. You do not need both.
Step 3: Turn compression on
Compression is switched on at the server or CDN that delivers your page, not inside the page itself. Under the result, the tool shows ready-to-copy settings, each with a Copy button.

Apache (shared hosting, cPanel, most WordPress hosts)
Add this to the .htaccess file in your site’s root folder. Your host must have mod_deflate enabled; most do.
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml \
application/javascript application/json application/xml image/svg+xml
</IfModule>
Nginx
Add this inside the server { } block of your nginx.conf, then reload Nginx.
gzip on;
gzip_comp_level 5;
gzip_min_length 256;
gzip_types text/plain text/css application/json application/javascript application/xml;
Nginx always compresses text/html once gzip is on, so it does not need to be in the list.
Cloudflare or another CDN
If your site sits behind a CDN, compression is usually on by default for HTML, CSS and JavaScript. If the checker still says “not compressed”, look for a page rule or cache setting that bypasses it.
No server access?
The tool also has a Compress & download this page (.gz) button. It gives you a ready gzip copy of the page. That is useful for static hosting that can serve pre-compressed files, but for most sites the server setting above is the real fix.
Step 4: Check again
After you change the setting, clear any cache and run the check again. You should now see gzip or br and a saving percentage. Test a CSS file and a JavaScript file as well, not just the HTML page.
What compression does not fix
Compression shrinks text: HTML, CSS, JavaScript, JSON and SVG. It does nothing for large photos, which are often the heaviest part of a page. For those, use an image compressor or the free photo editor guide to crop and resize before you upload. To see how much of your page is images, scripts and styles, try the free Web Page Size Checker.
Frequently asked questions
How do I know if gzip is enabled on my website?
Paste your page URL into a compression checker. If the response is compressed, it shows the method (gzip, br or deflate) and how much was saved. If not, it shows “not compressed” with an estimated saving.
Is Brotli better than gzip?
Brotli usually makes text files a little smaller than gzip, and all modern browsers support it. Either one is a big improvement over no compression.
Should I gzip images?
No. JPG, PNG and WebP are already compressed, so gzip saves almost nothing. Shrink images with an image compressor instead.
Does gzip compression help SEO?
Indirectly. Smaller pages load faster, especially on mobile data, and page experience is part of how search engines judge pages. It is a quick win, not a ranking trick.