How to use this tool
- Paste JSON, upload a local file, or load a CORS-enabled public URL.
- Optionally choose indentation in Advanced, then run Sort object keys.
- Review the result, then copy it or download it with the correct file type.
Normalize object-key order for review, fixtures, and stable diffs.
Sort object keys recursively while preserving array order and JSON value types.
Normalize object-key order for review, fixtures, and stable diffs.
{
"project": "jsonformatters.org",
"status": "ready",
"features": [
"format",
"validate",
"convert"
],
"settings": {
"indent": 2,
"sortKeys": false,
"localOnly": true
},
"documents": [
{
"id": 101,
"name": "launch-config.json",
"valid": true
},
{
"id": 102,
"name": "sample-data.json",
"valid": true
}
],
"lastError": null
}{
"documents": [
{
"id": 101,
"name": "launch-config.json",
"valid": true
},
{
"id": 102,
"name": "sample-data.json",
"valid": true
}
],
"features": [
"format",
"validate",
"convert"
],
"lastError": null,
"project": "jsonformatters.org",
"settings": {
"indent": 2,
"localOnly": true,
"sortKeys": false
},
"status": "ready"
}No. The transformation runs in your browser. URL import contacts only the address you explicitly enter.
The editor marks the likely location and keeps stale output out of the result pane.
It alphabetizes every object while leaving array positions unchanged.
Sorting changes textual key order, which may create a larger diff even though JSON object meaning is unchanged.