UTILS.
Private by default
A↓}

JSON Key Sorter

Recursively sort the keys of a JSON object, ascending or descending.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Sort object keys recursively in ascending or descending character order. Array order and exact JSON values are preserved. Choose indentation, then run Sort & Format.

Large numbers are preserved exactly. Duplicate object keys are rejected to avoid ambiguous results.

Input or settings changed. Run the tool again to create a current result.

Your text and files stay on this device. Nothing is uploaded or saved by this tool.

Frequently asked questions

How do I use this tool?
Sort object keys recursively in ascending or descending character order. Array order and exact JSON values are preserved. Choose indentation, then run Sort & Format.
How does it handle my data?
Large numbers are preserved exactly. Duplicate object keys are rejected to avoid ambiguous results. Your text and files stay on this device. Nothing is uploaded or saved by this tool.

More tools