JSON Sorter
Sort JSON object keys alphabetically and recursively, with an option to leave arrays untouched, and clear position-aware errors for invalid JSON.
Sort JSON object keys recursively with position-aware errors.
Sorted JSON appears here.
Output ready, 24 B
How to use JSON Sorter
- Paste your JSON.
- Choose whether arrays should be left untouched.
- Copy the sorted JSON.
Frequently asked questions
Does it sort nested keys?
Yes. Keys are sorted recursively.
Are arrays reordered?
By default arrays keep their order; an option can sort primitive arrays.
What happens on invalid JSON?
An error message with line and column is shown.
Is my data uploaded?
No. Processing is local.
Related in Data
- Number SorterSort numbers, remove duplicates and choose the output separator.
- Binary Hex ConverterConvert between binary, octal, decimal and hexadecimal bases.
- PDF MergeMerge multiple PDF files into one locally, without uploading anything.
- JSON FormatterFormat, validate and minify JSON instantly in your browser.