WebTools

307 Useful Tools & Utilities to make life easier.

GZIP Compression Test

Test if Gzip is working on your website.

Enter the complete URL of the website you want to test for GZIP compression.

Shrink Your Pages, Speed Up Your Site

Compression is one of the simplest, most impactful performance optimisations you can make. Enabling Gzip or Brotli on your web server reduces the size of HTML, CSS, JavaScript, JSON, and font files by 60‑80% before they are sent over the network. This means faster page loads, lower bandwidth costs, and happier visitors—and it’s a direct SEO signal via Core Web Vitals. But how do you know if it’s actually working? The Gzip Test tool fetches any URL, inspects the Content-Encoding response header, calculates the compression ratio, and shows you exactly how many kilobytes were saved. It tests both Gzip and Brotli, and alerts you if compression is missing.

Detailed Metrics from the Gzip Checker

  • Compression status: Green badge if compressed (gzip, deflate, brotli), red if uncompressed. It identifies the exact encoding method.
  • Original size (uncompressed): The tool decompresses the response to determine the original file size, even if the server only serves the compressed version.
  • Compressed size: The size of the data actually transferred over the network.
  • Savings percentage and absolute KB: E.g., “Saved 72% (84.3 KB)”. This gives you a tangible sense of the speed gain.
  • Response headers panel: Full list of response headers, highlighting Content-Encoding, Vary: Accept-Encoding, and Content-Length. It also warns if Vary is missing, which can cause caching issues.
  • Speed comparison: A simulated load time comparison between compressed and uncompressed versions at a slow connection speed (3G), showing the time saved.
  • Bulk test: Paste up to 50 URLs to check compression across your site in one go. The tool lists compression status for each.
  • Cache validation: It also checks Cache-Control and ETag headers to help you tune caching alongside compression.

How to Test Gzip Compression

  1. Enter the full URL of any page or asset (CSS, JS, image, API endpoint) you want to test. For a webpage, use the homepage.
  2. Click “Test Compression.” The tool makes a request with Accept-Encoding: gzip, deflate, br and analyses the response.
  3. Review the summary card. It shows the compression status, original size, compressed size, and savings percentage.
  4. Examine the headers if compression is not working. Common culprits: missing Content-Encoding, or the file type is not in the server’s compression configuration (e.g., image/webp is already compressed; don’t double‑compress).
  5. For a full site audit, switch to “Bulk Test,” paste a list of your site’s important pages and assets, and run. Export the CSV results.
  6. If compression is missing, enable it on your server: for Apache, use .htaccess with AddOutputFilterByType DEFLATE (our Htaccess Generator can add this). For Nginx, use gzip on; and gzip_types.

Why Compression Is a Must for SEO

  • Core Web Vitals: Lower transfer size improves LCP (Largest Contentful Paint) and reduces FID (First Input Delay) indirectly.
  • Mobile rankings: Mobile connections benefit the most from compression. Google’s mobile‑first index cares about speed.
  • Crawl budget: Faster pages allow bots to crawl more pages per day. Compressed pages consume less of your server’s bandwidth budget.

Build a Performance‑First Workflow

After verifying compression, use the Site Crawler to check for other speed‑impacting issues like oversized images and too many redirects. The SEO Analyzer scores your page’s performance and points to uncompressed resources. For server configuration, the Htaccess Generator and Htaccess to Nginx converters can implement compression rules. For PWAs, the PWA Compatibility Check ensures your service worker caches compressed assets correctly. For overall health, the Sitemap Generator helps, and the HTTP Auth Generator can secure your staging environment. Compression is the low‑hanging fruit that yields immediate speed wins—grab it.


Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us