How to use the YAML to JSON converter
- Paste YAML or drop a .yaml file.
- Click Convert.
- Copy or download the JSON.
What to know
- A YAML list becomes a JSON array. A single YAML mapping becomes one object.
- Errors in the YAML, such as bad indentation, are reported with the line that failed.
Questions
Does it support anchors and aliases?
Yes. They are expanded when the YAML is read.