HTTP Headers Checker

See the real response headers of any public URL, follow its redirects and find missing security and caching headers.

Try:

The URL is fetched by StackUtils' server (hosted on Vercel) with a HEAD request — or GET if HEAD is not allowed — so the target sees our server's IP, not yours. Only headers are read; the body is discarded and nothing is stored or logged. Private and internal addresses are blocked.

What this checker does

Every HTTP response starts with a status line and a block of headers that tell the browser how to treat the content: whether it may be cached, which sites may frame it, whether the connection must always use HTTPS and where the page redirects. They are invisible on the page, which is why misconfigurations — a missing Strict-Transport-Security, a redirect chain with three hops, a Cache-Control: no-store on static files — go unnoticed for months.

This tool asks our server to request the URL and shows you exactly what came back. It is useful for developers checking a deployment, SEO specialists verifying that an old URL returns a single 301 to the right place, and anyone preparing for a security review.

How to use it

  1. Type or paste a public URL into the field. If you leave out the scheme, https:// is added.
  2. Press Inspect Headers (or Enter). You can also click one of the Try examples.
  3. Read the status line: status code, final URL, HTTP version, method used and response time.
  4. If the URL redirected, open each step of the Redirect chain to see its headers.
  5. Review the Security headers and Caching panels, then use Copy raw to paste the headers into a ticket.

Worked example

Entering http://github.com produces a two-step chain. The first response is a permanent redirect to HTTPS, and the second is the real page:

1. HEAD http://github.com/   → 301  Location: https://github.com/
2. HEAD https://github.com/  → 200

The analysis then runs on the second response. A single 301 from HTTP to HTTPS is the ideal pattern; if you see http → https → www → trailing slash, every extra hop adds a round trip and should be collapsed into one redirect.

What the results mean

  • Present / Weak / Missing — each security header is checked for presence and a few obvious weaknesses: a CSP that allows 'unsafe-inline' without nonces or hashes, an HSTS max-age under six months, or Referrer-Policy: unsafe-url.
  • Content-Security-Policy limits where scripts and other resources can load from and is the strongest defence against cross-site scripting.
  • Strict-Transport-Security makes browsers use HTTPS for the host for max-age seconds. It is only honoured on HTTPS responses.
  • X-Frame-Options or CSP frame-ancestors prevents clickjacking by controlling who can embed the page.
  • COOP / CORP isolate your window and resources from other origins. They are optional hardening, so a "Missing" there is not urgent.
  • The Caching panel translates Cache-Control directives, ETag, Last-Modified, Expires, Age (time spent in a CDN cache) and Vary into plain sentences.

Limitations

  • The request comes from a Vercel data centre with no cookies, so pages behind a login, geo-blocking or bot protection may return a 403 or a challenge page instead of what you see.
  • Some servers answer HEAD differently from GET. The tool only falls back to GET when HEAD returns 405 or 501.
  • Only public hosts on ports 80 and 443 are allowed, at most 5 redirects are followed and the whole check times out after 8 seconds.
  • A green list does not make a site secure — headers are one layer. A CSP, for example, can be present but too permissive in ways only a manual review will catch.

Tips

  • Check both the bare domain and the www version, over http and https — redirects are often configured for only one of them.
  • Hashed static files (e.g. app.3f9a1c.js) should use Cache-Control: public, max-age=31536000, immutable; HTML usually needs revalidation.
  • Roll out a CSP with Content-Security-Policy-Report-Only first so you can fix violations before enforcing it.
  • If the domain does not resolve at all, look at its records with the DNS Lookup tool, and preview how the page appears in search results with the Meta Tag & SERP Preview.

Frequently Asked Questions

How does the HTTP headers checker fetch a URL?

The URL is requested by StackUtils' own server (a serverless function on Vercel), not by your browser, because browsers hide most cross-origin response headers. It sends a HEAD request, retries with GET only if the server answers 405 or 501, and reads nothing but the status line and headers.

Is the URL I check stored or logged?

No. The URL is sent to our server only to make the request, and neither the URL nor the response is stored. The target site sees a request from our server's IP address with a StackUtils user agent, never your IP.

Why can't I check localhost or a private IP address?

For security the inspector refuses loopback, private, link-local and other reserved addresses (for example 127.0.0.1, 10.0.0.0/8, 192.168.0.0/16 and fc00::/7), checking every DNS answer and every redirect hop. To inspect a local server use curl -I on your own machine.

Does it follow redirects?

Yes, up to 5. Each hop is listed with its status code, Location header and full headers, and the security and caching analysis is based on the final response.

Why are the headers different from what I see in my browser's DevTools?

Servers and CDNs can vary headers by user agent, cookies, region or HTTP method. Our request is anonymous (no cookies), comes from a Vercel data centre and usually uses HEAD, so logged-in or geo-specific responses can differ.

Which security headers are checked?

Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, clickjacking protection (X-Frame-Options or CSP frame-ancestors), Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy. The deprecated X-XSS-Protection header is not required.