Developer tool
JSON to YAML
Paste JSON and copy a YAML version of the same data.
Processed in your browser. The text is not sent to our servers.
How to convert JSON to YAML
- Paste JSON.
- Click Convert to YAML.
- Copy the YAML.
Objects become indented keys and arrays become dash lists. Strings that could be confused with numbers or YAML markers are quoted.
Frequently asked questions
What if the JSON is invalid?
The page reports that it could not be parsed, and nothing is converted.
Is the JSON uploaded?
No. Conversion runs in your browser.