About Sort JSON
Sort JSON helps you sort object keys recursively directly in your browser with no backend dependency.
sort
sort object keys recursively
Example output:
{
"a": [
{
"a": 1,
"b": 2
}
],
"m": 3,
"z": {
"a": 1,
"d": 4
}
}
Sort JSON helps you sort object keys recursively directly in your browser with no backend dependency.
Sample Sort JSON transformation output.
Input
{"z":{"d":4,"a":1},"a":[{"b":2,"a":1}],"m":3}
Output
{
"a": [
{
"a": 1,
"b": 2
}
],
"m": 3,
"z": {
"a": 1,
"d": 4
}
}
Idempotent rerun example for Sort JSON when applicable.
Input
{
"a": [
{
"a": 1,
"b": 2
}
],
"m": 3,
"z": {
"a": 1,
"d": 4
}
}
Output
{
"a": [
{
"a": 1,
"b": 2
}
],
"m": 3,
"z": {
"a": 1,
"d": 4
}
}
Does Sort JSON send my data to a server?
No. Execution happens in your browser tab.
Can I share a direct URL for Sort JSON?
Yes. Every tool has its own indexable route under /tools/<slug>.