Skip to main content
DevToys
Converters

YAML ↔ JSON

Convert between YAML and JSON

Conversion workspace

YAML JSON

Input
YAML
Output
JSON
How to use / Notes

How to use

  1. Paste YAML or JSON into the input.
  2. Pick the direction to convert instantly to the other format.
  3. Copy the formatted result.

Notes

  • YAML comments and anchors are lost when converting to JSON.
  • Tab indentation is invalid in YAML—use spaces.