All tools

JSON Key Sorter

Recursively sort the keys of a JSON object alphabetically, ascending or descending, then re-format.

Object keys are sorted recursively; array order is preserved. Handy for producing stable diffs. Runs locally.