Convert YAML to JSON and JSON to YAML
Paste YAML or JSON to get the other format.
Good to know
- YAML comments and anchors have no JSON form and are lost in conversion.
- A YAML stream with several documents is an error here.
- The parser is the yaml package (ISC).
Your input is processed in this browser only and never sent to a server. Results follow the standards and library behavior; check them before you put them in production.