Data
Sort JSON keys
Arrays keep their order. Only object keys move.
No file requiredDrop several to batch them into one zip. Paste works too. Nothing is uploaded.
R runs. Esc cancels. D downloads.
0%
Ready when you are.
- Before
- —
- After
- —
How Sort JSON keys works
- Paste JSON or drop a file.
- Choose an indent.
- Run and download the sorted document.
Sorting is by Unicode code point via the locale-aware compare used for English labels. Numbers inside keys sort as text, so key 10 comes before key 2.
Questions
Does Sort JSON keys upload the file?
No. Sort JSON keys runs in this browser. Nothing is uploaded.
What does Sort JSON keys produce?
Sorting is by Unicode code point via the locale-aware compare used for English labels. Numbers inside keys sort as text, so key 10 comes before key 2.
How is Sort JSON keys ahead of the usual version?
2 options are on the page before you run, and Run is the R key.