YAML to JSON

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

Pastes a YamL 1.2 document, selects the JSON indentation and converts.

Result

  

Loading the tool…

How to use YAML to JSON

How do I use it?

  1. Pastes a YamL 1.2 document, selects the JSON indentation and converts.
  2. Copy or download JSON after checking the results. Reverse conversion can be done with the JSON workstation.

How it works and example

The map and sequence of YAML are changed to JSON objects and arrays, respectively. The comment does not enter JSON, with a large integer number to output the full JSON digital volume.

a: [1, true] converted to {"a":[1,true]}, with the blanks changing with indentation settings.

Input limits

Related tools

Search tools