GZIP/Brotli Compression Checker

Paste HTTP response headers to check gzip, Brotli, deflate, or zstd compression. Analyze compressibility, estimated savings, and get server config guides.

Updated

Share:
Home/Website Tools/GZIP/Brotli Compression Checker

GZIP/Brotli Compression Checker

Paste your HTTP response headers to check whether compression (gzip, Brotli, deflate, zstd) is enabled. Get compression type, estimated savings, content-type analysis, and server configuration guidance.

Paste HTTP Response Headers

This tool runs entirely in your browser. No data is sent to any server. Headers are parsed and analyzed client-side for educational purposes.

Brotli vs Gzip Comparison

FeatureGzipBrotliDeflateZstandard
Compression RatioGood (~70%)
Best (~78%)
Fair (~65%)Very Good (~75%)
Compression Speed
Fast
Slower (at high levels)Fast
Very Fast
Decompression SpeedFastFastFast
Fastest
Browser Support
Universal
All modern (97%+)UniversalLimited (Chrome 123+)
HTTPS RequiredNoYes (browsers only)NoYes (browsers only)
Best ForDynamic content, broad compatStatic assets, max savingsLegacy systemsReal-time / streaming

Recommendation: Use Brotli for static assets (pre-compressed at build time) and gzip as a fallback for dynamic responses. Most CDNs and modern servers support both with automatic content negotiation via the Accept-Encoding header.

Frequently Asked Questions

What is the GZIP/Brotli Compression Checker?

The GZIP/Brotli Compression Checker is a free online tool that paste http response headers to check gzip, brotli, deflate, or zstd compression. analyze compressibility, estimated savings, and get server config guides.. It runs entirely in your browser with no installation or sign-up needed.

What compression types?

Detects gzip, Brotli (br), deflate, zstd, and identity from Content-Encoding. Also checks Transfer-Encoding for transport-level compression.

How are savings estimated?

When Content-Length is present, uses average ratios (gzip ~70%, Brotli ~78%, deflate ~65%, zstd ~75%) to estimate original or compressed size.

Is it safe?

Yes. All analysis runs in your browser. No data sent to any server.

Is the GZIP/Brotli Compression Checker free to use?

Yes, the GZIP/Brotli Compression Checker is 100% free with no registration, no hidden fees, and no usage limits. All processing happens locally in your browser, ensuring complete privacy.

Does the GZIP/Brotli Compression Checker work on mobile devices?

Yes, the GZIP/Brotli Compression Checker is fully responsive and works on smartphones and tablets. You can use it on any device with a modern web browser -- no app download required.

Do I need to create an account to use this tool?

No account or registration is needed. Simply open the GZIP/Brotli Compression Checker in your browser and start using it immediately. There are no sign-up walls or usage restrictions.

How do I use the GZIP/Brotli Compression Checker?

Simply enter your input in the provided field, adjust any settings to your preference, and the tool will process it instantly. You can then copy the result to your clipboard or download it.

Which browsers are supported?

The GZIP/Brotli Compression Checker works in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. For the best experience, use the latest version of your preferred browser.

What is the difference between gzip and Brotli compression?

Gzip and Brotli are both lossless algorithms that shrink text-based responses before they travel to the browser, but Brotli is newer and more efficient. On typical text assets like HTML, CSS, and JavaScript, Brotli usually compresses 15-20% smaller than gzip, which means faster transfers and a better Largest Contentful Paint, especially on slow mobile connections. Gzip has the edge in near-universal support and slightly faster compression at lower settings, so many servers fall back to it when a client does not advertise Brotli. The browser signals which it accepts through the Accept-Encoding request header, and the server replies with Content-Encoding: gzip or br. If you paste your response headers here, the checker identifies exactly which encoding is active and nudges gzip-only sites to add Brotli.

How do I get the HTTP response headers to paste into the checker?

You only need the raw response headers for a single URL, and there are three easy ways to grab them. In Chrome or Firefox DevTools, open the Network tab, reload the page, click the main document request, and copy the Response Headers block. From a terminal, curl -I https://example.com prints the headers without downloading the body, and curl -sI -H "Accept-Encoding: br,gzip" https://example.com tells the server you accept compression so it actually returns an encoded response. The tool parses any list of Header: value lines, so a plain copy-paste works fine. Pay attention to Content-Encoding, Content-Type, Content-Length, and Vary, since those drive the verdict. Paste the headers above and the checker breaks down each relevant line in plain language.

Why does my compressed page show a Partial result instead of Enabled?

A Partial verdict means compression is technically working but something in the configuration could cause problems. The most common trigger is a missing or incomplete Vary header. If Content-Encoding shows br or gzip but there is no Vary: Accept-Encoding, a shared proxy or CDN can cache the compressed copy and later serve it to a client that never asked for it, producing garbled pages. The checker downgrades this to Partial on purpose and recommends adding the header. It also flags a Vary header that exists but omits Accept-Encoding, and transport-level oddities in Transfer-Encoding. So Partial is not a false alarm; it points to a real caching risk that a simple is-it-gzipped check would miss. Paste your headers above to see exactly which signal triggered the downgrade and how to fix it.

Which content types actually benefit from compression?

Compression only helps when there is redundancy left to remove, so it pays off on text-based formats and wastes effort on already-compressed binaries. Highly compressible types include HTML, CSS, JavaScript, JSON, XML, and SVG, where gzip or Brotli can cut payloads by roughly 65-78%. The checker flags these as Highly Compressible and recommends enabling encoding if it is missing. Files that are already compressed at the format level, such as JPEG, PNG, WebP, MP4, PDF, WOFF2 fonts, and ZIP archives, get almost no further reduction, so re-compressing them only burns CPU; the tool marks these Already Compressed and does not push you to encode them. Knowing the difference helps you target compression where it improves load time instead of slowing the server. Paste your headers above and the checker grades your Content-Type automatically.

How accurate is the estimated savings figure?

The savings number is a planning estimate, not a measured value for your exact file. When a Content-Length header is present, the checker applies typical real-world ratios for text assets: about 70% reduction for gzip, 78% for Brotli, 65% for deflate, and 75% for zstd. On an already-compressed response it works backward from those ratios to approximate the original uncompressed size, and on an uncompressed response it projects how much gzip would likely save. Because actual compression depends heavily on the specific content, repetitive markup compresses far better than dense, unique text, you should treat the figure as a directional guide for prioritizing fixes rather than an exact byte count. For precise numbers, compare the real Content-Length before and after enabling compression. Paste your headers above to see the estimate alongside the full verdict.

Embed This Tool

Add a free, live version of this widget to your own website or blog post — it runs entirely in your visitors' browsers, with a credit link back to The Toolbox.

Copy & paste this HTML
<iframe src="https://getthetoolbox.com/embed/compression-checker" title="GZIP/Brotli Compression Checker — The Toolbox" width="100%" height="250" style="max-width:480px;border:1px solid #e2e8f0;border-radius:12px" loading="lazy"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://getthetoolbox.com/website-tools/compression-checker?utm_source=embed&utm_medium=widget" target="_blank" rel="noopener">Free GZIP/Brotli Compression Checker</a> by The Toolbox</p>

About the GZIP/Brotli Compression Checker

The GZIP/Brotli Compression Checker reads the raw HTTP response headers from any URL and tells you whether the server is actually compressing what it sends. Paste the headers, and the tool reports which encoding is in use, how compressible the content type is, an estimate of the bytes you are saving (or could save), and the exact server configuration needed to fix gaps. It is built for web developers, site owners, and performance and SEO specialists who want a fast, definitive answer to one question: is compression working here?

Everything runs in your browser. The headers you paste are parsed and analyzed locally with JavaScript, never uploaded to a server, so you can safely check internal staging environments or pre-launch sites. There is no sign-up, no rate limit, and nothing to install.

How to read your compression status

Grab the response headers for a page (your browser's DevTools Network tab, curl -I, or curl -sI -H "Accept-Encoding: br,gzip" all work) and paste them in. The checker parses each Header: value line and inspects the ones that matter:

  • Content-Encoding is the primary signal. The tool recognizes gzip, br (Brotli), deflate, zstd (Zstandard), and identity (explicitly no compression).
  • Transfer-Encoding is checked for chunked streaming and for rare transport-level compression.
  • Content-Type decides whether compression even helps, and Vary is checked to confirm caches will serve the right version.

You get one of three verdicts — Enabled, Partial, or Not Detected — plus a plain-language breakdown of every relevant header. A built-in sample (one compressed response, one uncompressed) lets you see how a healthy result looks before testing your own.

Why a missing Vary header still counts as a problem

A response can be compressed and still be misconfigured. If Content-Encoding: br is present but there is no Vary: Accept-Encoding header, the checker downgrades the result to Partial. That is deliberate: without Vary: Accept-Encoding, a shared proxy or CDN can cache a Brotli-encoded copy and later hand it to a client that never asked for it, producing garbled pages. The tool flags this, flags a Vary header that omits Accept-Encoding, and recommends the fix — small details that a simple "is it gzipped?" check misses.

What the savings estimate means

When a Content-Length is present, the checker estimates the impact using typical real-world ratios for text assets: roughly 70% reduction for gzip, 78% for Brotli, 65% for deflate, and 75% for zstd. On a compressed response it works backward to approximate the original uncompressed size; on an uncompressed one it projects how much gzip would likely save. These are averages, not measured values for your specific file, so treat them as a planning guide rather than an exact figure — actual results depend on the content.

The tool also grades the content type itself. Text-based formats (HTML, CSS, JavaScript, JSON, XML, SVG) are flagged Highly Compressible. Already-compressed binaries — JPEG, PNG, WebP, MP4, PDF, WOFF2 fonts, ZIP archives — are marked Already Compressed, because re-compressing them wastes CPU for almost no gain.

From diagnosis to fix

Compression is one of the highest-leverage performance wins available: shrinking text payloads cuts transfer time, which improves Largest Contentful Paint and the experience on slow mobile connections. Because Brotli typically beats gzip by 15–20% on text, the checker nudges gzip-only sites to upgrade.

To close the loop, ready-to-paste configuration snippets cover Nginx, Apache (.htaccess / mod_deflate), Cloudflare, Vercel, Netlify, and Node/Express. Paste your headers above, read the verdict, copy the report or export it as CSV, then apply the matching config and re-check.