JSON Key Sorter

Sort JSON keys ascending / descending, recursively, with duplicate-key de-dup and error location

Input

Output

How to use

• Sort: order object keys alphabetically ascending / descending; array order is preserved.

• Recurse nested: when on, nested objects are sorted too; when off, only the top level.

• De-dup: duplicate keys are removed on parse (the later one wins).

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

Related tools