Converters tool
✦ Browser-firstJSON ⇄ YAML Converter
Convert between JSON and YAML in either direction.
About this tool
Paste JSON to get YAML, or YAML to get JSON. Supports nested maps, lists, multi-line strings, comments and anchors-free YAML as used in most config files.
How to use the JSON ⇄ YAML Converter
- Paste JSON or YAML.
- Pick the direction of conversion.
- Copy or download the converted result.
Common uses
- Kubernetes and CI config
- OpenAPI files
- Moving between config formats
JSON ⇄ YAML Converter questions
Are comments kept when converting YAML to JSON?
No. JSON has no comments, so they are dropped.
Does it handle nested data?
Yes, objects, arrays and scalars convert in both directions.
Is my data uploaded?
No, conversion happens in your browser.