Skip to content

Free tool

HTTP headers checker

See every response header a URL sends, for each hop of its redirects: caching, compression, cookies, CORS, security and the server software.

Try

What the headers tell you

Response headers are the instructions a server sends with every page. A few to look for first:

  • Cache-Control, ETag, Age: whether browsers and CDNs may cache the response and for how long. no-store on static files makes every visit slower; max-age on personalised pages can leak one user's page to another.
  • Content-Type: what the body is. Wrong types break scripts and styles, especially with X-Content-Type-Options: nosniff.
  • Set-Cookie: cookies and their flags. Session cookies should be Secure; HttpOnly; SameSite.
  • Access-Control-Allow-Origin: CORS. If a browser call fails with a CORS error, the answer is here; see the CORS error guide.
  • Server, X-Powered-By, Via, CF-Ray: what is answering: the web server, framework, CDN and cache status.

Debugging with headers

Headers explain many problems that look mysterious from the browser. A page that will not update usually has a long max-age or a CDN cache hit (Age, CF-Cache-Status: HIT, X-Cache). A login that does not stick often has a cookie without Secure on HTTPS, or with the wrong Domain. A slow page with Vary: * or Vary: Cookie may be bypassing the CDN entirely.

The checker shows headers per redirect hop, because a redirect response has its own headers, including its own caching and HSTS.

Headers and security

Six headers do most of the security work in a browser: Strict-Transport-Security, Content-Security-Policy, X-Frame-Options (or frame-ancestors), X-Content-Type-Options, Referrer-Policy and Permissions-Policy. The security headers checker grades them and shows the exact header to add for each gap.

Frequently asked questions

How do I see HTTP headers in my browser?

Open developer tools (F12), go to the Network tab, reload, click the first request and open Headers. This tool shows the same response headers without a browser, as our server receives them.

Why are my headers different here than in my browser?

Servers can answer differently by user agent, cookies, country or accepted encodings, and a CDN may serve a cached copy with other headers. This checker sends no cookies.

What request does the checker send?

A GET with a normal browser Accept header, no cookies and no compression, following up to ten redirects.

Can I check headers of an API endpoint?

Yes, any public http or https URL works, as long as it answers a plain GET.

More free tools

All tools