HTTP Header Checker
Read pasted HTTP response headers: count them, name duplicates, and report the five security headers that are present or missing.
What the HTTP Header Checker does
The first line is the status line when it looks like one; otherwise every line is a header. Names are lower-cased for counting, values keep their case, and a repeated name is kept as a list — which is how Set-Cookie and a doubled Cache-Control actually arrive.
The security list is Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy and X-Frame-Options. Present or missing is the whole verdict; the page does not judge whether a policy is strong.
This reads headers as text; it makes no request. It does not evaluate policy content — a CSP of default-src * is reported as present — and it says nothing about what a server will actually send for another URL.
How to use it
Paste the response headers into the Response headers box, or press Run with the example already there.
Read the Header report below: the status line, the header count and any duplicate.
Check the security list in the Header report — a missing header is named, and its absence is the finding.
Worked example
Input:
HTTP/1.1 200 OK
Content-Type: text/html
Cache-Control: no-cache
Cache-Control: no-store
Strict-Transport-Security: max-age=1
Output:
Status line: HTTP/1.1 200 OK
Headers: 3
Duplicates: cache-control
Security headers:
content-security-policy: missing
strict-transport-security: present
x-content-type-options: missing
referrer-policy: missing
x-frame-options: missing
Why it runs in your browser
The result is produced on this page with JavaScript, so it works offline after the page loads and nothing you enter is sent anywhere.
A parsed view of headers you paste: the status line, the distinct header count, any header that appears twice, and the five security headers a response should carry.
A line without a colon is refused by name, because a header the page could not read would silently disappear from the report.
What it does, and what it does not
The first line is the status line when it looks like one; otherwise every line is a header. Names are lower-cased for counting, values keep their case, and a repeated name is kept as a list — which is how `Set-Cookie` and a doubled `Cache-Control` actually arrive.
The security list is Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy and X-Frame-Options. Present or missing is the whole verdict; the page does not judge whether a policy is strong.
This reads headers as text; it makes no request. It does not evaluate policy content — a CSP of `default-src *` is reported as present — and it says nothing about what a server will actually send for another URL.
How to use HTTP Header Checker
Paste the response headers into the Response headers box, or press Run with the example already there.
Read the Header report below: the status line, the header count and any duplicate.
Check the security list in the Header report — a missing header is named, and its absence is the finding.
What to Expect
Best for
- Auditing the headers a response actually returned
- Finding a header that was sent twice
Not ideal for
- Checking a policy's strength, which needs reading it
- Fetching a URL, which this page does not do
What this tool keeps
- Repeated headers as a list
- The status line exactly as pasted
What may need cleanup
- A policy still needs reading by hand
- A header folded across lines needs unfolding first
Common errors
- The page refuses it: is not a header line (no colon)
Example use cases
- Auditing a site's security headers from a captured response
- Debugging a duplicate cache directive
Sample input
Response headers: HTTP/1.1 200 OK …
Sample output
Header report: Status line: HTTP/1.1 200 OK …
Who this is for
- Developers checking a deployment's headers
- Anyone reviewing a security report
Frequently asked questions
Where do I get the headers?
From your browser's network panel, or curl -I https://example.com. Paste the response block; the page reads it as text and makes no request.
Does a present header mean it is configured well?
No. The report says present or missing only. A weak Content-Security-Policy still counts as present, so read the value yourself.
Why is a duplicate header notable?
Two values for one header usually mean two layers set it — a proxy and an application — and the browser's behaviour depends on the header. Naming the duplicate is the fastest way to find that.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.