Skip to content
Takikit

JSON Key Sorter

Sort key names alphabetically at every level, handy for comparing two JSON files or keeping configs tidy.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this when two config files or API responses list their keys in different orders: sort both alphabetically, then paste them into a text diff so only the real differences remain.

Arrays keep their element order; only the keys inside each object are reordered. Turn off the nested option if you only want the top-level keys sorted.

How to use

  1. Paste JSON.
  2. Choose whether to sort nested levels or only the top level.
  3. Click Copy or Download.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Related tools

More Developer tools

See all developer tools