JSON key sorter

Sort object keys recursively for readable JSON.

Ready when you are On-device processing
YOUR RESULT

Enter your details to get a result.

Your input stays in this browser. No account needed.
THE QUICK GUIDE

How to use json key sorter

Enter your text, then process it. Copy or download the result.

How it works

Sorts object keys recursively while preserving array order; numeric-looking keys follow JavaScript ordering.

A useful example

{"z":1,"a":2} → { "a": 2, "z": 1 }

Good to know

Input stays in your browser. Text input is limited to 200,000 characters. CSV cells containing formulas should be reviewed before opening in spreadsheet software.