JSON Sorter
Sort JSON object keys recursively for stable, readable output.
0 chars | 1 lines
0 chars | 0 lines
All conversions happen in your browser. No data is sent to our servers. Press Cmd/Ctrl + Enter to convert.
How to Sort JSON Keys
Paste JSON and click Convert. The sorter parses the document, sorts every object key alphabetically, and prints stable formatted JSON.
Frequently Asked Questions
Does it sort nested objects?
Yes. Object keys are sorted recursively at every level, including objects inside arrays.
Are arrays reordered?
No. Array item order is preserved because array order is meaningful in JSON.