HTTP Headers Parser

Parse raw HTTP headers, explain each one and audit security headers

Paste raw HTTP request or response headers (from browser dev tools or curl -I) to see them as a table with a plain-English explanation of each, as JSON, and with a security audit: missing security headers, weak values, cookie flags and server version leaks.
Try an example:

Output will appear here...

About HTTP Headers Parser

How it works

  1. Each "Name: value" line is read as a header; a status line (HTTP/1.1 200 OK) or request line (GET / HTTP/1.1) is recognised too.
  2. Folded lines are joined, HTTP/2 pseudo-headers (:status) are supported, and repeated headers such as Set-Cookie are kept as a list in the JSON.
  3. If you paste several responses (curl -IL follows redirects), the last - the final response - is used.
  4. The security audit checks seven key headers (HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, COOP), cookie flags and version leaks.

What you need

  • Raw headers copied from your browser (Dev Tools → Network → a request → Headers → "Raw") or from curl -I https://example.com.
  • Nothing to install - parsing happens in your browser.

Tips

  • Switch "Show" to Security audit for a checklist, plus copy-ready header lines for everything missing or weak.
  • Cookies with login sessions should have Secure, HttpOnly and SameSite set.
  • Server: nginx/1.18.0 or X-Powered-By: PHP/8.1 reveal versions to attackers - hide them.
  • Use the Website Status Checker or curl -I to fetch a live site's headers, then paste them here.

Limitations

  • Headers are only parsed, not fetched - paste them from your browser or curl.
  • The audit checks that headers exist with sensible values; it does not prove a Content-Security-Policy actually protects the site.

Runs in your browser. Your headers never leave your browser. Request headers can contain cookies and tokens, so this matters.

Frequently asked questions

Where do I find the raw headers?+

In Chrome, Edge or Firefox open Dev Tools (F12) → Network, reload, click the first request and look under Headers (tick "Raw"). On the command line, run curl -I https://example.com.

Which security headers matter most?+

Strict-Transport-Security (forces HTTPS), Content-Security-Policy (limits scripts, the main defence against XSS), X-Content-Type-Options: nosniff and frame protection (X-Frame-Options or CSP frame-ancestors).

Is X-XSS-Protection still needed?+

No. Modern browsers removed the XSS filter it controlled. Use a Content-Security-Policy instead.

What do the cookie flags mean?+

Secure sends the cookie only over HTTPS, HttpOnly hides it from JavaScript (blocks theft through XSS), and SameSite limits sending it on cross-site requests (protects against CSRF).