About this utility
How to use JSON Sort Keys
Recursively sort object keys while preserving array order.
What to provide
Paste JSON or drop a .json file.
- Paste, type, or drag and drop a supported text file into the input area.
- Choose the options that match your intended result.
- Select “Run tool” or press Ctrl/Command + Enter, then copy, download, or move the result back into the first input for another pass.
What the result means
JSON with object keys sorted using a stable lexical order.
Privacy and safety
This utility is loaded as browser code and processes your input only in this tab. OmniCastConverter has no upload endpoint and never stores your content, filenames, tokens, or secrets. Generated markup and code are shown as inert text and are never executed.
Limitations
- Only object-key order changes; array order is never modified.
Try the included example
Select “Load example” at any time to restore this tested sample.
{"z":1,"a":{"d":4,"b":2}}