JSON Sorter

Sort JSON object keys alphabetically while preserving array order.

Your data is processed locally in your browser and is never uploaded.

Sort JSON keys predictably

JSON object member order is generally not semantically significant, but a consistent order makes data easier to review and compare. JSONPlease uses case-sensitive Unicode code-unit ordering, so A and Z sort before a and z.

Nested objects, not arrays

Recursive sorting applies to object keys at every depth, including objects inside arrays. Array elements stay in their original order because arrays are ordered JSON values.

Private local sorting

Your JSON is sorted locally in your browser and is never uploaded. Numeric-looking property names are written explicitly in the selected lexical order.

Related JSON tools