JSON key sorter
Sort the keys of a JSON document in alphabetical order, at every level.
Missing a feature or found a bug in JSON key sorter? Tell me on X (@_andrewtran) or by email.
How to use JSON key sorter
- Paste your JSON in the input pane.
- Read the result with every object sorted by key.
- Copy it or download it as a file.
Questions and answers
Is my data sent anywhere?
No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.
Are lists sorted too?
No. Only the keys of objects are sorted. The order of items in a list carries meaning, so it is kept.
Where are the other options?
This page opens Format JSON with one choice already made. Every option of that tool is still here, and its own page says more about it.
Related tools
Format JSON
Pretty-print, minify and validate JSON, with optional key sorting.JSON minifier
Remove every space and line break from JSON to make it as small as it can be.Base64 encode and decode
Convert text to Base64 and back, with full Unicode support.URL encode and decode
Percent-encode text for use in URLs, or decode it back.