How to use the YAML to JSON
- Paste your YAML into the input box.
- Click Run to convert it to JSON.
- Click Copy output, or fix any reported error and run again.
Turn YAML into clean, formatted JSON. Anchors and aliases are resolved, and errors point to the exact line. Nothing leaves your browser.
Yes. Documents separated by --- are returned as a JSON array.
Yes. They are resolved in the JSON output.
The error message and its position are shown, and the cursor jumps to the problem.
Beautify minified JSON and make it easy to read.
Check whether your input is valid JSON and locate syntax errors.
Remove unnecessary whitespace to reduce JSON size.
Explore nested objects and arrays in an expandable tree.
Compare two JSON documents and inspect what changed.
Convert JSON objects and arrays into readable YAML.
Convert an array of JSON objects into a CSV file.
Validate JSON data against a JSON Schema (common keywords supported).