YAML Formatter

Validate, beautify, sort keys and convert YAML to JSON — with error-line location and local memory

Input

Output

How to use

Format & Validate: parse and re-indent YAML to canonical form, pinpointing the failing line.

Sort keys: recursively sort mapping keys ascending / descending.

To JSON: parse YAML into the equivalent JSON.

Memory: when on, your last input is saved to local storage.