Developer Tools
JSON ↔ YAML
Convert between JSON and YAML in either direction.
Loading interactive tool...
About this tool
Round-trip JSON ↔ YAML with adjustable indent. YAML output uses block style by default for readability; switch to flow style for compactness.
Frequently asked questions
Are anchors and aliases supported?
Yes — js-yaml resolves anchors when parsing YAML and emits them when round-tripping shared references.