Skip to content
Toolbento

JSON key sorter

Sort the keys of a JSON document in alphabetical order, at every level.

Everything stays on this device

JSON key sorter runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Output style

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

  1. Paste your JSON in the input pane.
  2. Read the result with every object sorted by key.
  3. 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.

Esc

Loading tools