JSON Key Sorter

Recursively sort object keys without reordering arrays.

How to use this tool

Object keys are sorted at every nesting level; array ordering is meaningful and is preserved. Standard JavaScript JSON numbers can round integers beyond 2^53-1, so encode large identifiers as strings.

Worked example

{"z":1,"a":2} becomes {"a":2,"z":1}.

Privacy and limits

Inputs are processed in your browser. Local processing is limited by device memory and browser features. These tools are provided as-is. Finance, tax and health calculations are estimates, not professional advice.

Privacy policy · Contact and support · Practical guides