All tools
JSON ↔ YAML /json-yaml
Data formats / json-yaml

JSON ↔ YAML

Convert between JSON and YAML in either direction. Edit on either side and the other updates live.

01

JSON → YAML

input.json ·
output.yaml
02

YAML → JSON

input.yaml ·
output.json
How it works

Uses the browser's native JSON parser and the js-yaml library to round-trip data structures between formats. Both panes update live as you type.

Privacy

Everything runs locally in your browser. Your data never leaves the page.

Tips
  • ·format rewrites your input as canonical JSON or YAML.
  • ·Two-space indentation, no anchors, key order preserved.
  • ·Errors include the parser's line and column.