YAML Key Sorter
Sort YAML mapping keys while preserving the order of sequence items.
yaml-sorterLOCAL WORKSPACE
Your document is processed in this browser. Up to 256 KiB.
Sorted output
How to use this tool
Paste a YAML document and compare the sorted mappings with the source.
When not to use it
The order of array items carries meaning and stays intact.