Developer

JSON Key Sorter

Sort every object key in a JSON document alphabetically, at all levels.

Developer

Sort JSON keys

Local only
Everything stays in your browser

Your text is processed on your device — nothing is uploaded to a server.

How it works

Keys are sorted at every nesting level. Array order is kept, because changing it would change the data's meaning.

Good to know

Frequently asked questions

How do I use it?

Paste or type into the box and press “Sort keys”. Then copy or download the result.

What should I know?

Keys are sorted at every nesting level. Array order is kept, because changing it would change the data's meaning.

Is my text uploaded?

No. It is processed in your browser and never sent to a server. No account is needed.