Practical guide
How to inspect HTTP headers
Use this page to see the status, redirect path, and response headers a server sends before a browser renders the page.
What this tool checks
The HTTP header inspector requests a URL and reports the final status code, the full redirect chain, and the response headers the server sends before a browser renders the page. Headers reveal caching rules, content type, compression, cookies, CDN behavior, and the browser security policies that matter most for site hygiene — HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and the Cross-Origin isolation headers.
When to use it
Use it after deploying a site, changing redirect rules, moving behind a CDN, or tightening browser security headers. It is especially helpful when a page works in one browser but fails in another, when SEO tools report redirect, canonical, or mixed-content warnings, or when you need to confirm an HSTS or CSP change actually reached production rather than being cached at an old value.
How to read the result
Start with the status code. A 200 means the final URL returned content, 3xx responses show redirects, 4xx responses usually indicate a client or permission problem, and 5xx responses usually indicate a server-side failure. Then walk the redirect chain to confirm the final URL is intentional, and check that the security headers appear on that final response — not just the first hop. Headers like HSTS only take effect over HTTPS.
Common security headers and a sensible baseline
These are the response headers most worth checking. "Baseline" is a safe starting point, not a mandate — tune each to your application before enforcing it.
| Header | What it controls | Sensible baseline |
|---|---|---|
| Strict-Transport-Security | Forces browsers to reuse HTTPS | max-age=31536000; includeSubDomains (once every subdomain is HTTPS) |
| Content-Security-Policy | Restricts where scripts, styles, and frames load from | Start in Report-Only, then enforce default-src 'self' |
| X-Frame-Options | Clickjacking / framing protection | DENY or SAMEORIGIN (or frame-ancestors in CSP) |
| X-Content-Type-Options | Stops MIME-type sniffing | nosniff |
| Referrer-Policy | Controls referrer leakage to other sites | strict-origin-when-cross-origin |
| Permissions-Policy | Gates powerful browser features (camera, geolocation, etc.) | Disable features you do not use |
| Cross-Origin-Opener-Policy | Isolates your window from cross-origin openers | same-origin for isolated apps |
Common findings and what they mean
Missing HSTS means browsers can be downgraded to HTTP on the first request — add it once HTTPS is solid. No CSP removes a major defense against injected scripts; a CSP that includes unsafe-inline or * is weak and worth tightening. Missing X-Frame-Options / frame-ancestors leaves the page open to clickjacking. A mixed redirect chain (http → https → www → apex) wastes round trips and can drop headers along the way. The most common real-world gap is security headers present on the homepage but missing on asset, API, or error routes — always test more than the front page.
Example HTTP header check
- Example input
https://example.com- Example result
status: 200 content-type: text/html; charset=UTF-8 strict-transport-security: max-age=31536000 cache-control: max-age=604800
Security and caching headers are only useful when they are present on the final response users actually receive.
Related tools
Related guides
FAQ
What HTTP security headers should every site have?
Is a missing Content-Security-Policy always a vulnerability?
What is HSTS and should I enable preload?
Why do the headers change after a redirect?
Why does this tool show different headers than my browser?
Does hiding the Server header make my site more secure?
Can I check headers for a specific path, not just the homepage?
Last reviewed: 2026-06-22.