HTTP Headers Parser
Parse raw HTTP request or response headers into clean JSON.
Three steps, no reading required.
Paste your input
Drop text, code, or data into the input pane — from an API response, a file, anywhere.
See it process
The result updates instantly as you type.
Copy the result
Grab the output with Copy or Download, or fix the error shown if the input is invalid.
Try it with a sample.
HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-cache Set-Cookie: a=1 Set-Cookie: b=2
Raw headers pasted into a server
- Headers can carry cookies and tokens
- Drops the request or status line
- Overwrites repeated headers
Headers to clean JSON
- Request or status line kept under _startLine
- Repeated headers like Set-Cookie collapse into an array in order
- Parsed locally in your tab
Questions worth answering upfront.
No. Parsing runs entirely in your browser. Your headers — which may contain tokens or cookies — never leave your device.
Yes. A request line (GET /path HTTP/1.1) or status line (HTTP/1.1 200 OK), if present, is kept under the _startLine key, and the rest are parsed as headers.
Repeated headers with the same name, like Set-Cookie, are collapsed into a JSON array in the order they appeared.
Yes. Every tool on DevUtilsNow is free to use with no account required.
No. Browsers block reading most response headers from other sites, and fetching them for you would mean routing your request through a server. Copy the headers from your browser's DevTools Network tab, or run curl -I https://example.com, and paste them here.
People who use this also reach for
Look it up
Guides that pair with this tool
Handy reference
Need another tool?
36+ browser-based utilities — all free, all private, nothing to install.