JSON formatter
Validate and pretty-print JSON, or compress it onto one line.
DeveloperSort object keys recursively while preserving array order.
Your result will appear here
Set JSON. Select Run tool, then review the result. Use the download or copy controls to keep it. Reset restores the starting settings and clears the result.
JavaScript serializes integer-like object keys in numeric order. Other keys are sorted lexicographically.
Inputs are processed in your browser and are not uploaded to an Everytool server. Results last until you reset or leave this page. Favorites and recently used tool names are saved only in this browser.