← All toolsDeveloper tools
JSON to YAML Converter
Turn JSON into YAML, or YAML back into JSON.
JSON and YAML are two ways of writing the same structured data. Apps usually exchange JSON, while settings files for tools such as Docker and Kubernetes are written in YAML. This turns one into the other.
YOUR WORKSPACERuns on your device · No sign-up
A few helpful answers
Is what I type uploaded?
No. This tool runs in your browser, so what you enter stays on your device.
What is the difference between JSON and YAML?
They hold the same kind of data. JSON uses braces, brackets and quotes; YAML uses indentation, which many people find easier to read and edit in config files.
Are comments kept when converting YAML to JSON?
No. JSON has no comments, so they are dropped.