YAML to JSON Converter
Convert config files between YAML and JSON. Useful for Kubernetes manifests, GitHub Actions and API specs.
Runs in your browser. Nothing you enter is uploaded or stored.
How to use YAML to JSON Converter
- Paste YAML or JSON.
- Choose the direction.
- Copy or download the converted file.
Questions
Are comments kept?
No. JSON has no comments, so YAML comments are dropped when converting to JSON.
Does it support multiple YAML documents?
Files with several documents separated by --- are converted to a JSON array.