Free JSON Key Sorter
Sort JSON object keys alphabetically (A-Z or Z-A) for consistent, readable output. Perfect for comparing JSON files, maintaining consistent config formats, and cleaning up API responses.
Features
- Recursive Sorting: Sorts keys in nested objects too
- Ascending/Descending: Choose A-Z or Z-A order
- Sort Mode: Sort by keys only, values, or both
- Array Support: Recursively processes arrays
- Custom Indentation: 2 spaces, 4 spaces, or tabs
Use Cases
Consistent package.json formatting, comparing config files, cleaning up API responses, code review preparation, and maintaining coding standards.