JSON key sorter
Paste any JSON and get it back with every object’s keys sorted alphabetically and recursively. Choose ascending (A to Z) or descending (Z to A) order, set your indentation (2 or 4 spaces, a tab, or minified), and optionally sort string-only arrays too.
Array order is preserved by default, so only object keys move. Sorting keys into a stable order makes JSON deterministic and easy to diff. Everything runs in your browser — your JSON never leaves your device.