YAML and JSON converter
Convert YAML to JSON or JSON to YAML.
Runs on this device
Input
Ctrl ↵ Add to workflow
More in Developer
About YAML ⇄ JSON
Paste YAML to get JSON, or paste JSON to get YAML. It suits config files for tools such as CI pipelines and Kubernetes manifests. The conversion runs on your device.
How to use YAML ⇄ JSON
- Paste your YAML or JSON into the input.
- Choose YAML to JSON or JSON to YAML.
- Check the converted result.
- Copy or download it.
Questions and answers
Are YAML comments kept?
No. JSON has no comments, so they are lost when converting to JSON.
Does it work with multi-document YAML?
It converts a single document. Split multi-document files first.
Is my config uploaded?
No.