HTTP Headers Inspector

HTTP Headers Inspector

Fetch and inspect HTTP response headers for any URL. The request is made server-side to avoid CORS restrictions.

About the HTTP Headers Inspector

HTTP response headers are the metadata a server sends before the body: the status code, content type, caching rules, cookies, redirects, compression, and security policies such as Strict-Transport-Security and Content-Security-Policy. They decide how browsers, CDNs and proxies treat a page, yet they are invisible unless you open DevTools.

The HTTP Headers Inspector sends a HEAD request to the URL you enter — from our server, so browser CORS rules do not get in the way — follows up to five redirects, and lists every response header with the final status code.

Common uses

  • Checking that security headers (HSTS, CSP, X-Content-Type-Options, X-Frame-Options) are set on your site.
  • Debugging caching problems by reading Cache-Control, ETag, Age and CDN headers.
  • Seeing which server, framework or CDN a site uses.
  • Verifying that redirects end at the right URL with the right status code.

How to use it

  1. Enter a full URL including https://, or pick one of the quick examples.
  2. Press Inspect.
  3. Review the status line and headers, then use Copy all to share them.

Example

Typical headers from a modern website:

Input
https://example.com
Output
200 OK
Content-Type: text/html; charset=UTF-8
Cache-Control: max-age=604800
ETag: "3147526947"
Strict-Transport-Security: max-age=31536000

Tips and common pitfalls

  • Strict-Transport-Security tells browsers to always use HTTPS for your domain; add includeSubDomains only when every subdomain supports HTTPS.
  • Cache-Control: no-cache does not mean "do not cache" — it means "revalidate before reuse". Use no-store to prevent caching.
  • Remove or minimise headers such as Server and X-Powered-By that reveal software versions to attackers.
  • Some servers answer HEAD differently from GET or reject it with 405 Method Not Allowed.

Frequently asked questions

Why can't my browser fetch these headers directly?

Browsers enforce CORS, which hides most response headers from other sites' scripts. Making the request from the server avoids this restriction.

Does the inspector download the page body?

No. A HEAD request asks the server for headers only, so it is fast and light on the target site.

Can I inspect sites on my local network?

No. The request is made from our server, which can only reach publicly accessible URLs.

Which headers matter most for security?

Start with Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options: nosniff, Referrer-Policy and cookie attributes like Secure, HttpOnly and SameSite.

Related