Skip to content

HTTP Header Checker Online Free

Browser-side · queries to public APIs
Last verified June 2026 — runs in your browser

HTTP Header Checker — Security Headers, OWASP Baseline & Protocol Detection

HTTP response headers carry metadata about the server's response: content type, caching rules, security policies, and protocol negotiation. The current core HTTP semantics specification is RFC 9110 (Fielding, Nottingham & Reschke, June 2022), an Internet Standard (STD 97) that obsoletes RFC 7231-7235 and updates portions of RFC 7230 (HTTP/1.1 messaging is split into RFC 9112). Caching is governed by RFC 9111. Security headers form a defence-in-depth layer: Strict-Transport-Security (HSTS) per RFC 6797 (Hodges, Jackson & Barth, 19 November 2012) forces HTTPS and prevents downgrade attacks; Content-Security-Policy Level 3 (W3C Working Draft, latest revision April 2026) restricts what scripts, styles, frames, and connections the page may load; Permissions-Policy (W3C Working Draft) controls access to sensitive browser APIs like camera, microphone, and geolocation, replacing the deprecated Feature-Policy after the 2020 split into Permissions-Policy and Document-Policy; X-Frame-Options (RFC 7034 Ross & Gondrom, October 2013) is obsoleted in favour of CSP frame-ancestors. The OWASP Secure Headers Project recommends a baseline including HSTS with includeSubDomains + preload, CSP with no unsafe-inline, X-Content-Type-Options: nosniff, and Referrer-Policy: strict-origin-when-cross-origin. This tool fetches the URL, displays every response header, and flags missing security headers against that baseline.

How to inspect HTTP headers

  1. Enter a URL. The tool issues a HEAD request (or falls back to GET with Range: bytes=0-0 if HEAD is rejected with 405).
  2. All response headers are displayed with parsed values; security headers are scored against the OWASP Secure Headers baseline.
  3. Missing security headers (CSP, HSTS, X-Content-Type-Options, Permissions-Policy) are flagged with the recommended directive value.
  4. Redirects are traced — every hop shows status code, Location target, and its own response headers per RFC 9110.

Common use cases

  • Auditing security headers (HSTS, CSP, Permissions-Policy) before a production release — catches regressions when nginx/CDN config drifts.
  • Verifying Cloudflare or another CDN actually serves your content (cf-ray, server, x-cache headers visible).
  • Debugging caching issues by inspecting Cache-Control, Age, ETag, and Vary on a production response.
  • Confirming a server uses HTTP/2 or HTTP/3 — alt-svc header signals upgrade availability; ALPN negotiation completes during the TLS handshake.

Frequently asked questions

Why does HEAD sometimes return different headers than GET?

Per RFC 9110 §9.3.2, HEAD returns the same headers as GET would, but with no body. In practice some servers skip Set-Cookie/Content-Length on HEAD; some CDNs cache HEAD differently. When HEAD returns 405, the tool falls back to GET with Range: bytes=0-0 — same headers, no full body download.

Which security headers are critical, and what should they be set to?

OWASP baseline: HSTS (RFC 6797, max-age=31536000 + includeSubDomains + preload), CSP Level 3 (default-src 'self' + nonce-based 'strict-dynamic'), X-Content-Type-Options: nosniff, Referrer-Policy: strict-origin-when-cross-origin, Permissions-Policy disabling unused APIs. X-Frame-Options is obsoleted by CSP frame-ancestors.

Should I still set X-Frame-Options if I have CSP frame-ancestors?

Modern browsers prioritise CSP frame-ancestors and ignore X-Frame-Options when both are present (per W3C spec). frame-ancestors is more flexible (multiple domains, schemes, ports). Keep X-Frame-Options: DENY only as legacy fallback for browsers older than ~2015.

How do CSP nonces work, and why are they preferred over 'unsafe-inline'?

CSP Level 3: server generates fresh per-request random nonce (≥128 bits, base64), emits in CSP header (script-src 'nonce-X') + on each <script nonce='X'> tag. Browser only runs scripts with matching nonce. Adding 'strict-dynamic' extends trust to scripts loaded by nonced scripts. Modern best-practice CSP.

How can I verify HTTP/2 or HTTP/3 is actually being used?

Negotiated via ALPN during TLS handshake; protocol not in response headers directly. Signals: curl -v shows ALPN result; alt-svc header advertises HTTP/3 (h3) availability for future requests; browser DevTools Network panel shows protocol per request. RFC 9114 = HTTP/3 over QUIC; RFC 9113 = HTTP/2 over TCP.

Anatomy of HTTP response headers — and why security headers matter

Server responses carry dozens of headers that browsers, CDNs, and intermediaries inspect to render content correctly and enforce security boundaries. Core semantics live in RFC 9110 (June 2022), which restructured RFC 7231-7235 into a single document defining methods, status codes, and field semantics independent of any specific HTTP version (1.1, 2, or 3). Headers split into four functional groups: representation (Content-Type, Content-Encoding, Content-Length), validation/conditional (ETag, Last-Modified, If-None-Match per RFC 9110 §13), caching (Cache-Control, Age, Vary per RFC 9111), and security policy. The security stack matters because browser default behaviour is permissive: without explicit policy, scripts execute from any origin, frames embed freely, and sensitive APIs are available to any document. Strict-Transport-Security (RFC 6797, November 2012) forces HTTPS for a configurable duration; the preload list at hstspreload.org gives apex protection for new visitors before any HTTP request happens. Content-Security-Policy Level 3 (W3C Working Draft, April 2026 revision) replaces 'unsafe-inline' vulnerabilities with nonce/hash workflows and the strict-dynamic source. The frame-ancestors directive within CSP supersedes X-Frame-Options (RFC 7034 Ross & Gondrom, October 2013, now obsoleted) — modern browsers prioritise frame-ancestors when both are present, per the W3C spec. Permissions-Policy (W3C Working Draft, replacing Feature-Policy after the 2020 split into Permissions-Policy + Document-Policy) restricts access to camera, microphone, geolocation and other sensitive APIs at the document level. The OWASP Secure Headers Project synthesises these into an audit baseline: HSTS preload, CSP nonce-based, X-Content-Type-Options: nosniff, Referrer-Policy: strict-origin-when-cross-origin, Permissions-Policy disabling unused APIs. This tool reads every response header, parses values, and flags missing items against that baseline.

  • All response headers displayed with parsed values
  • Security audit against OWASP baseline (HSTS, CSP, X-Content-Type-Options, Referrer-Policy, Permissions-Policy)
  • HSTS preload eligibility check (max-age ≥ 1 year, includeSubDomains, preload directive)
  • CSP Level 3 directive parser with deprecation warnings (frame-ancestors > X-Frame-Options)
  • Cache-Control / Age / Vary parsing per RFC 9111; ETag / Last-Modified per RFC 9110 §8.8
  • Protocol detection for HTTP/1.1, HTTP/2 (RFC 9113), HTTP/3 (RFC 9114) via alt-svc + ALPN signals

Free. No signup. Browser tools (subnet, JWT, password strength) run locally; lookup tools query public APIs (Cloudflare DoH, RDAP, certificate logs). Full per-tool breakdown at /methodology/.

Sources (7)
  • Fielding, R., Nottingham, M., & Reschke, J. (Eds.) (2022). HTTP Semantics. RFC 9110, IETF (June 2022 — Internet Standard STD 97; obsoletes RFC 2818 + 7231-7233 + 7235 + 7538/7615/7694 + portions of 7230; RFC 7234 → RFC 9111; RFC 7230 messaging → RFC 9112).
  • Fielding, R., Nottingham, M., & Reschke, J. (Eds.) (2022). HTTP Caching. RFC 9111, IETF (June 2022 — obsoletes RFC 7234).
  • Hodges, J., Jackson, C., & Barth, A. (2012). HTTP Strict Transport Security (HSTS). RFC 6797, IETF (19 November 2012 — Strict-Transport-Security header field).
  • West, M. (Ed.) (2026). Content Security Policy Level 3. W3C Working Draft (latest revision April 2026; supersedes CSP Level 2; frame-ancestors directive — introduced in CSP Level 2 (W3C Recommendation December 2016) and carried forward in Level 3 — supersedes X-Frame-Options RFC 7034).
  • W3C Web Application Security WG (2025). Permissions Policy. W3C Working Draft (replaces deprecated Feature-Policy after 2020 split into Permissions-Policy + Document-Policy).
  • Ross, D., & Gondrom, T. (2013). HTTP Header Field X-Frame-Options. RFC 7034, IETF (October 2013, Informational; obsoleted by CSP frame-ancestors directive introduced in CSP Level 2).
  • OWASP (2025). OWASP Secure Headers Project. owasp.org/www-project-secure-headers — recommended baseline: HSTS preload + CSP + X-Content-Type-Options nosniff + Referrer-Policy strict-origin-when-cross-origin + Permissions-Policy.

These are the IETF RFCs, NIST publications, and W3C standards the tool implements or queries. Locate them on the IETF Datatracker (datatracker.ietf.org) or the official standards body.

Related guides

By ·