YAML to JSON converter (and JSON to YAML)

Paste YAML or JSON, then choose the direction.

Good to know

  • YAML is read with the YAML 1.2 core schema. Dates and words such as yes or on stay as text, and merge keys (<<) are applied.
  • Custom tags (!name) and several documents separated by --- are not supported and show an error.
  • Comments are not kept. Whole numbers larger than 9007199254740991 in JSON may lose precision.

This tool does not send the text or files you enter.

Ads may be shown on this page. Privacy