HTTP Header Analyzer

Paste a set of HTTP response headers and get each one explained in plain English — caching, compression, content negotiation, cookies, CORS, and server hints — plus a checklist of the recommended security headers (HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy) that are missing. Runs in your browser; nothing is uploaded.

Header analysis

About this tool

HTTP Header Analyzer takes a block of HTTP response headers — the kind you copy out of curl -I, your browser's DevTools Network tab, or a proxy log — and explains what each one does, then tells you which recommended security headers are missing.

What it explains

Security grade & value quality

It assigns an overall A+ → F security grade based on how many of the recommended security headers are present, and — like a security-headers scanner — it also grades the quality of the values you did send: it flags a CSP that allows unsafe-inline or unsafe-eval, an HSTS max-age too short to preload, a weak Referrer-Policy, an obsolete X-Frame-Options value, the deprecated X-XSS-Protection header, and information-disclosure headers (Server, X-Powered-By, X-AspNet-Version) you should trim.

Missing security headers

It checks for the six commonly-recommended response security headers and lists each one that is absent, with a concrete fix:

Example

HTTP/2 200
content-type: text/html; charset=utf-8
cache-control: public, max-age=3600
content-encoding: gzip
strict-transport-security: max-age=31536000; includeSubDomains
server: nginx/1.25.0

is explained header-by-header, and the analysis flags that CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and Permissions-Policy are still missing.

Common uses

A leading status line (e.g. HTTP/2 200) is optional, and both CRLF and bare-LF line endings are accepted, so you can paste headers straight from a log or a terminal.

FAQ

Do I have to strip the "HTTP/2 200" line before pasting?

No — a leading status line is detected and reported separately, and both CRLF and bare-LF line endings work, so curl -I output or a DevTools copy pastes straight in unchanged.

How is the A+–F security grade calculated?

It starts from how many of the six recommended security headers (HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy) are present, then deducts for weak values — a CSP with unsafe-inline/unsafe-eval, an HSTS max-age too short to preload, a weak Referrer-Policy, or the deprecated X-XSS-Protection header.

Can I analyze request headers with it?

The explanations target response headers — what a server sends back. Request headers will mostly parse but get generic or no commentary, and the security checklist only makes sense for responses.

Does the tool contact the website being analyzed?

No. It never fetches the URL — you paste headers you already have, and the analysis runs entirely in your browser via WebAssembly. That also means it can't check things only observable live, like certificate details.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool http-header-analyzer "HTTP/2 200
content-type: text/html; charset=utf-8
cache-control: public, max-age=3600
content-encoding: gzip
strict-transport-security: max-age=31536000; includeSubDomains
"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/http-header-analyzer/?headers=HTTP%2F2%20200%0Acontent-type%3A%20text%2Fhtml%3B%20charset%3Dutf-8%0Acache-control%3A%20public%2C%20max-age%3D3600%0Acontent-encoding%3A%20gzip%0Astrict-transport-security%3A%20max-age%3D31536000%3B%20includeSubDomains%0A

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.