Skip to content

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.

Result

Add your input or load an example, then run the tool. Your result will appear here.

How to use

  1. Choose the options, then run the tool.
  2. Check the result, then copy or download it.

Example

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

Details and limitations

Processing stays in your browser.

Format references

Tool page updated: