HTTP Header Parser
Parse raw HTTP request or response headers into JSON. Repeated headers such as Set-Cookie become arrays.
Runs in your browserHTTP headers → JSON
Loading tool…
Example
HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Set-Cookie: a=1 Set-Cookie: b=2
{
"startLine": "HTTP/1.1 200 OK",
"headers": {
"Content-Type": "text/html; charset=utf-8",
"Set-Cookie": [
"a=1",
"b=2"
]
}
}How to use the HTTP Header Parser
- Paste or type your HTTP headers into the input area, or open a file from your device.
- Adjust the options above the editor if the tool offers any.
- Review the JSON result, then copy it or download it as a file.
Privacy and limitations
- Your data is processed on your device and is not uploaded to any server.
Related converters
Cookie ParserParse a Cookie request header or Set-Cookie response headers into JSON, including Expires, Max-Age, SameSite and flags.HTTP Headers CheckerFetch a URL from our server and list its response status, redirect chain and HTTP response headers.JSONPath TesterEvaluate JSONPath expressions such as $..price or $.items[?(@.qty > 1)] against JSON and see the matched values or paths.Regex TesterTest JavaScript regular expressions live with highlighted matches, a capture group table and a replace preview.Query String to JSON ConverterConvert a URL query string to JSON. Repeated keys become arrays and bracket keys like user[name] become nested objects.User Agent ParserIdentify the browser, rendering engine, operating system and device type from a User-Agent string.JWT DecoderDecode a JSON Web Token to read its header and payload, with exp, iat and nbf shown as dates. The signature is not verified.URL ParserSplit a URL into protocol, host, port, path, query parameters and fragment, with percent-encoding decoded.