What is the YAML to JSON Converter?
Convert YAML config files into JSON for APIs and code, or simply to check the YAML is correct. Indentation mistakes are reported with their line, which is the quickest way to find a broken YAML file.
Features
YAML to JSON
Pretty-printed output.
Clear errors
Line of the problem shown.
How to use the YAML to JSON Converter
- 1
Paste your YAML.
- 2
Pick the indent.
- 3
Copy the JSON.
Who it is for
Config checks
Find why a YAML file will not load.
Tips for better results
- Never use tabs for indentation in YAML. Use spaces.
Questions people ask
Is my config uploaded?
No. It is converted in your browser.
Why does my YAML fail?
Usually tabs instead of spaces, or uneven indents. The error tells you the line.