Convert YAML to JSON or JSON to YAML instantly, with anchors, multi-document YAML and safe quoting of yes/no values. Free online converter.
Convert YAML to JSON and JSON to YAML. Anchors and aliases are resolved, multi-document YAML becomes an array, and ambiguous strings are quoted in the YAML output.
YAML 1.1 parsers such as PyYAML read unquoted yes/no/on/off as booleans. Quoting keeps them strings for every parser.
No. JSON has no comments, so comments are dropped when converting YAML to JSON.
Documents separated by --- are returned as a JSON array.