YAML to JSON

Parse YAML (including multi-document files) and emit valid JSON you can copy or download.

How it works

  • YAML anchors and aliases are expanded, so the JSON is always self-contained.
  • A file with multiple --- documents becomes a JSON array of documents.
  • Parse errors are reported with the line and column from js-yaml so you can fix them quickly.
  • Your YAML never leaves the browser.