
This free converter works in both directions on one page. Everything is processed in your browser with the open-source js-yaml library, so your data never leaves your device.
output.yaml.output.json.&base, *base) are expanded in the JSON output.--- becomes a JSON array."true" or "123" are quoted in YAML so their type is preserved.Is YAML a superset of JSON? Practically yes: almost every JSON document is valid YAML 1.2, but YAML adds comments, anchors and a more readable indentation-based syntax.
Are comments kept? No. JSON has no comments, so YAML comments are dropped when converting to JSON.
Is my data uploaded? No. The conversion runs 100% in your browser; nothing is sent to a server.