How to use the JSON to YAML Converter
- Type or paste your text into the box on the left.
- Adjust the options above if you need to. The result updates as you type.
- Click Copy result or Download to use your result.
What you can use it for
- Write Kubernetes and Docker Compose files
- Convert API JSON into readable YAML
- Turn YAML configs into JSON for code
Private by design
The JSON to YAML Converter runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.
Frequently asked questions
Are YAML comments kept?
No. JSON has no comments, so they are dropped when converting.
Does it support multiple YAML documents?
It converts the first document. Split multi-document files on --- first.