JSON to YAML
Convert JSON to clean YAML, with a choice of indentation and optional key sorting.
Runs entirely in your browser. Nothing you type is uploaded, stored or sent to analytics.
Limit reached: only the first 1,000,000 characters are kept. Split the data into smaller parts.
About this tool
- Strings that YAML would read as another type (such as "true" or "123") are quoted so the data round-trips correctly.
- Choose 2 or 4 spaces of indentation and optionally sort keys alphabetically.
- Anchors and aliases are never emitted, so the output is plain, self-contained YAML.
Limits
To keep your browser responsive, input is limited to 1,000,000 characters, 200 levels of nesting and 300,000 values.