JSON Sorter

Sort JSON keys alphabetically, sort arrays, or sort by a specific key

Shortcuts: Ctrl+Enter run · Ctrl+L clear · Ctrl+D download

Mode:

About JSON Sorter

JSON Sorter organizes your JSON data in a predictable order. You can sort all keys alphabetically throughout a document, sort arrays of primitives by value, or sort arrays of objects by a specific key. Sorted JSON is easier to diff, review, and maintain — especially useful for configuration files and data that is compared over time.

  • ✓Sort all object keys alphabetically throughout the entire document
  • ✓Sort arrays of strings or numbers by value (ascending or descending)
  • ✓Sort arrays of objects by a specified key
  • ✓Recursive — sorts nested objects and arrays at every level

Frequently Asked Questions

Ad