HTTP Headers to JSON

Parse HTTP header lines into JSON arrays while preserving repeated header names.

Convert in your browser · No sign-up

Parse HTTP header lines into JSON arrays while preserving repeated header names.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

How to use

  1. Parse HTTP header lines into JSON arrays while preserving repeated header names.
  2. Choose the options, then run the tool.
  3. Check the result, then copy or download it.

Example

Content-Type: text/html → {"content-type":["text/html"]}

Details and limitations

Parse HTTP header lines into JSON arrays while preserving repeated header names.

Processing stays in your browser.

FAQ

Supported inputs and limits

Parse HTTP header lines into JSON arrays while preserving repeated header names.

Format references

Tool page updated: