Convert JSON data into readable YAML.
The JSON to YAML converter turns JSON data into YAML, the format used by Kubernetes, Docker Compose, GitHub Actions, Ansible and many config files. Objects become indented keys, arrays become dash lists, and strings are quoted only when YAML needs it.
Values such as yes, no, on, off or 1.0 are quoted so they stay strings, avoiding the classic YAML type surprises.
Block style YAML, no unnecessary quotes.
Quotes values that YAML would read as booleans, numbers or null.
Any depth of objects and arrays.
The YAML updates while you type.
YAML 1.2 is, so JSON is valid YAML, but block style YAML is much easier to read and edit.
Without quotes, YAML would read values like yes, on or 1.10 as booleans or numbers.
JSON has no comments, so there are none to keep.
2 spaces is the most common style for YAML files.