HTTP Header to JSON
Parse HTTP header fields and preserve repeated fields as arrays.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
HTTP Header
JSON result
Repeated fields stay arrays.
Enter headers to see the result
What this tool does
- Inspect request header text
- Convert captured or curl request headers
Example
Input
Content-Type: application/json
Output
{
"content-type": "application/json"
}Frequently asked questions
How are repeats handled?
Repeated fields become arrays.
Are field names lowercased by default?
Yes; disable lowercase to preserve the original field names.
Can a header value contain a colon?
Yes, only the first colon separates the field name from its value.
Keywords:HTTPHeaderJSON