YAML ↔ JSON

Convert between YAML and JSON in both directions.

Convert between YAML and JSON in either direction.

Try

YAML

The document to convert

JSON

Converted result

The converted document will appear here.

About

YAML is parsed to a value and re-serialised as JSON, or the reverse — which means anything JSON cannot represent is dropped.