YAML to JSON
Convert YAML config files, workflows or manifests to JSON as you type, with clear errors for invalid YAML.
Set up for this job. It runs on JSON, YAML, TOML and XML converter, where every option is there to change.
Questions
What happens to comments and anchors?
JSON has no comments, so they are dropped. Anchors and aliases are resolved, so each alias becomes a full copy of the value it points to.
How are dates converted?
A YAML date such as 2026-12-04 becomes a JSON string in ISO format, since JSON has no date type.
Can it read a file with several documents?
No. It reads one YAML document. Split a file with several --- separated documents and convert them one at a time.
Is my data uploaded?
No. It is converted in this tab. Nothing leaves your device.