Toolmanor

JSON Sorter

Sort JSON field names alphabetically and optionally the items inside arrays too — tidy JSON that is easy to scan and to compare between versions.

How to sort JSON

  1. Paste your JSON on the left and the sorted result appears on the right.
  2. Pick A → Z or Z → A. Field names are sorted by default, and you can turn that off.
  3. To sort arrays as well, turn on "Sort items inside arrays". For arrays of objects, type the field to compare by, for example name.

Frequently asked questions

More JSON tools