HTTP Header Parser
Paste raw HTTP headers and get each one parsed, validated and explained in plain English.
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.
Paste request or response headers — each one is parsed and explained.
About this tool
Response headers decide caching, security, CORS and content handling — but raw header blocks are dense reading. This parser splits a pasted request or response into a clean table and explains what ~40 common headers actually do, from Cache-Control to Strict-Transport-Security.
Status lines are decoded too, with the status code classified at a glance.
How to use it
- Copy headers from DevTools (Network tab → Raw), curl -i output, or logs.
- Paste them into the input.
- Read the parsed table — name, value, and meaning for each header.
- Malformed lines are flagged separately so you can spot typos.
Useful ways to apply it
- Debugging caching behavior via Cache-Control, ETag and Vary.
- Auditing security headers before a deployment.
- Understanding CORS responses during cross-origin debugging.
- Teaching juniors what each header in a response does.
Worked example
Example input
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
Expected output
Status 200; Content-Type application/json; Cache-Control no-store
Edge cases to check
- Header names are case-insensitive.
- Repeated headers may be combined differently depending on the field.
- Set-Cookie must not be blindly comma-joined like ordinary list headers.
Known limitations
Parsing text is not the same as validating whether a live server or browser actually applies a header.
How this tool was reviewed
Reviewed with status lines, repeated headers, whitespace, mixed casing and malformed lines.
Standards and technical references
See the site-wide testing methodology for fixture categories, privacy checks and correction policy.
Frequently asked questions
Does it accept request and response headers?
What counts as malformed?
Are custom headers supported?
Privacy
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.