JSON Key Sorter

Sort JSON object keys alphabetically (recursively) for clean diffs.

About this tool

Keys are sorted at every nesting level; array order is preserved. Sorting makes config files and API fixtures easy to compare in version control.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter