Input

Action
Indentation

Result

Run the tool to see the result.

How to use

Convert one JSON-compatible YAML document to JSON, JSON to YAML, or format YAML. String keys, duplicate-key checks and bounded aliases protect data integrity. Custom tags, cycles and non-JSON numbers are rejected. Comments are not retained.