YAML to JSON Converter Online
Paste a YAML document and get a compact or pretty-printed JSON version. Handy when an API or tool only accepts JSON but your source config is written in YAML.
Runs in your browser — your text is never uploaded or stored.
YAML input
JSON output
How to Use
- 1.Paste your YAML document.
- 2.The JSON equivalent appears below.
- 3.Copy the JSON into your code or request body.
Advertisement
FAQ
Does it support multi-document YAML?
Only the first document is converted. Split multi-document files and convert each one separately.
Are comments preserved?
No. JSON has no comment syntax, so YAML comments are dropped during conversion.
Need more options?
JSON ↔ YAML ↔ TOML Converter
Free online JSON to YAML converter. Convert JSON, YAML and TOML config in any direction with instant validation — everything runs in your browser.