YAML to JSON
Convert YAML to JSON or JSON to YAML. Errors show the line where the input breaks.
Frequently asked questions
Which YAML features are supported?
YAML 1.2 as used by Kubernetes, Docker Compose and GitHub Actions: maps, lists, block and flow style, multi-line strings, anchors and aliases, and several documents separated by ---.
Why did “no” or “on” stay a string?
YAML 1.2 only treats true and false as booleans. Older YAML 1.1 parsers also read yes/no/on/off as booleans, which is a common source of bugs; quote such values to be safe.
Is my data uploaded?
No. It is converted in your browser with the open-source “yaml” library and is not put into the page link.