[JSONZen]

JSON ↔ YAML.

Toggle the direction. Sort keys if you want a canonical form. Runs entirely in your browser.

JSON ↔ YAML

Ready
JSON input
Loading editor…
YAML output
Loading editor…

Frequently asked questions.

Which YAML version is this?
YAML 1.2 via the `yaml` npm package — strict, round-trip-safe, no `Norway problem` (bare `no` stays a string).
Does my data leave my browser?
No. Parsing and serialization run in your browser. There is no server.
Can I round-trip safely?
Most documents survive a JSON → YAML → JSON round-trip. Anchors and tags in handwritten YAML are simplified.
Does it preserve comments?
No. JSON has no concept of comments, so comments in handwritten YAML are dropped when going YAML → JSON.

More JSON tools.

    JSON ↔ YAML Converter — Free, Client-Side | JSONZen