HTTP Header Formatter
Paste raw HTTP headers from DevTools, cURL or logs — get clean JSON. Or convert JSON back to header lines.
Parsing rules
Header lines are split on the first colon: the name is trimmed, the value keeps its inner spacing.
Leading request lines (e.g. GET / HTTP/1.1) are ignored automatically. When the same
header appears multiple times — common with Set-Cookie or Accept — it becomes
a JSON array, or a comma-joined value if you prefer. Whitespace-only continuations of folded
headers are joined to the previous value.
FAQ
Does it handle cURL -v output?
Lines prefixed with >, < or >> are cleaned automatically, so pasting verbose cURL output works.
Is my data uploaded?
No. Parsing runs in your browser — safe for headers containing authorization tokens.