Home / Developer Tools / YAML ↔ JSON

YAML ↔ JSON

Convert YAML to JSON and JSON to YAML.

How to use

  1. Pick the direction.
  2. Paste your input.
  3. Convert and copy.

Frequently asked questions

Are data types preserved?

Yes - strings, numbers, booleans, nulls, lists and maps convert cleanly in both directions.

Related tools

  • XML ↔ JSON — Convert XML to JSON and JSON back to XML.
  • CSV ↔ JSON — Convert CSV to a JSON array and JSON back to CSV.
  • CSV ↔ XML — Convert CSV rows to XML elements and back.
  • Markdown Editor — Write Markdown with a live side-by-side preview.
  • Markdown Preview — Paste Markdown, see exactly how it renders.
  • Markdown to HTML — Convert Markdown into clean HTML markup.

See all developer tools