Developer toolLiveRuns on your device
YAML to JSON Converter
Convert between YAML and JSON in your browser. Errors point to the exact line and column, multi-document YAML is supported, and the output is formatted and ready to copy or download.
How to use
YAML to JSON Converter in three steps
- 01
Paste YAML or JSON, or drop a file.
- 02
Pick the direction.
- 03
Copy or download the result.
FAQ
Good to know
No — JSON has no comments, so YAML comments are dropped when converting to JSON.
Yes. A file with several documents separated by --- becomes a JSON array.
No. The tool runs inside this browser tab. Your input is processed in memory on your device and is gone when you close the tab.
Related
More developer tools
- Live
JSON Formatter
Format, validate and minify JSON — with exact error positions.
Developer - Live
Base64 Encode / Decode
Encode text or files to Base64, and decode it back.
Developer - Live
URL Encode / Decode
Percent-encode text for URLs, or decode it back.
Developer - Live
UUID Generator
Generate random v4 UUIDs — one or a hundred at a time.
Developer