How to Parse HTTP Headers
HTTP Headers
When to Parse Raw Headers
Inspect copied header blocks from browser DevTools, proxy logs, or email trace tools. Lists each Name: Value pair with numbering for documentation and diff-friendly reviews.
Input Format
One header per line using Name: Value syntax. Blank lines are skipped. This does not parse full HTTP request lines or chunked encodings — paste header sections only.
Developer Tips
- Header names are case-insensitive but case-preserving in HTTP/1.1
- Remove cookies and auth tokens before sharing parsed output
- Combine with curl Builder to rebuild requests from parsed parts
Frequently asked questions
Can this validate security headers?
It lists headers only — it does not judge whether values are secure or production-ready.
Does it parse HTTP/2 pseudo-headers?
Paste them as normal lines if copied from tools that expose :authority style headers.