HTTP Headers Parser
Runs in browserParse raw HTTP headers into a key/value table.
Parse raw HTTP response or request headers into a clean key/value table. Copy as JSON. No uploads — everything runs in your browser.
HTTP Headers Parser tool
Paste raw HTTP response or request headers — one per line.
| Header | Value |
|---|---|
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 1024 |
| Cache-Control | no-cache, no-store, must-revalidate |
| X-Request-ID | a1b2c3d4-e5f6-7890-abcd-ef1234567890 |
| Access-Control-Allow-Origin | * |
| Strict-Transport-Security | max-age=31536000; includeSubDomains |
🔒 Runs in your browser · No uploads · Your data never leaves your device
How to use
Paste headers
Paste raw HTTP headers from a response or request — one per line.
View table
Each header is parsed into a key/value row instantly.
Copy as JSON
Click 'Copy as JSON' to get all headers as a JSON object.
Common use cases
- Converting curl -I output to JSON — Paste raw HTTP response headers from a curl command to get a clean JSON object for use in tests or scripts.
- Inspecting headers from a debugging session — Take raw headers copied from browser DevTools or a proxy tool and parse them into a readable key/value table.
Examples
Parse response headers
Parse typical HTTP response headers.
InputContent-Type: application/json X-Request-ID: abc-123Output{"Content-Type": "application/json", "X-Request-ID": "abc-123"}
Frequently asked questions
- What format should the input be in?
- One header per line in 'Key: Value' format. HTTP status lines (like 'HTTP/1.1 200 OK') are automatically skipped.
- Is my data uploaded?
- No. Everything runs in your browser — no server, no uploads.
Key concepts
- HTTP header
- A name-value pair sent at the start of an HTTP request or response, providing metadata like Content-Type, Authorization, or Cache-Control.
- Key:Value format
- The standard HTTP header format where each line contains a field name followed by a colon and value — e.g., 'Content-Type: application/json'.
Related tools
You might find these useful too.
- HTTP Request Builder
Build HTTP requests visually and copy as cURL or fetch().
Open - cURL Generator
Generate cURL commands from method, URL, headers, and body instantly.
Open - API Response Formatter
Format API responses with JSON, headers, and raw tabs.
Open - MIME Type Lookup
Search MIME types and file extensions instantly in your browser.
Open