HTTP Headers Parser

Runs in browser

Parse 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.

Parsed Headers (6)
HeaderValue
Content-Typeapplication/json; charset=utf-8
Content-Length1024
Cache-Controlno-cache, no-store, must-revalidate
X-Request-IDa1b2c3d4-e5f6-7890-abcd-ef1234567890
Access-Control-Allow-Origin*
Strict-Transport-Securitymax-age=31536000; includeSubDomains

🔒 Runs in your browser · No uploads · Your data never leaves your device

How to use

  1. Paste headers

    Paste raw HTTP headers from a response or request — one per line.

  2. View table

    Each header is parsed into a key/value row instantly.

  3. Copy as JSON

    Click 'Copy as JSON' to get all headers as a JSON object.

Common use cases

  • Converting curl -I output to JSONPaste 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 sessionTake 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.

    Input
    Content-Type: application/json
    X-Request-ID: abc-123
    Output
    {"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'.

You might find these useful too.

More api tools