What types of differences are detected?
The tool detects three types: Added (new keys in the modified JSON), Removed (keys that no longer exist), and Changed (same key but different value).
Compare two JSON objects side by side and see all differences highlighted.
Decode and view multiple level JSON strings with ease
Convert any JSON string to one line without spaces or indentation
Generate a JSON schema from a JSON string
Convert a JSON schema to a JSON string
Convert JSON to TOON format for LLM-optimized token efficiency
Convert TOON format back to standard JSON
See how NextJSON can compare two JSON objects and highlight all differences including added, removed, and changed values.
Track changes in your adorable pet's profile, including new skills learned and updated favorite things!
{
"pet": "Mochi",
"species": "Cat",
"age": 2,
"mood": "sleepy",
"favoriteFoods": ["tuna", "chicken"],
"skills": {
"napping": "expert",
"purring": "master"
},
"toys": ["feather wand", "cardboard box"]
}{
"pet": "Mochi",
"species": "Cat",
"age": 3,
"mood": "playful",
"favoriteFoods": ["tuna", "salmon"],
"skills": {
"napping": "expert",
"purring": "master",
"zoomies": "professional"
},
"bestFriend": "Biscuit the Dog"
}~ age: 2 → 3~ mood: "sleepy" → "playful"~ favoriteFoods: ["tuna","chicken"] → ["tuna","salmon"]+ skills.zoomies: "professional"- toys: ["feather wand","cardboard box"]+ bestFriend: "Biscuit the Dog"
Compare seasonal menu updates at your favorite cafe with new treats and price adjustments.
{
"cafe": "Sunny Bean",
"menu": {
"drinks": [
{"name": "Honey Latte", "price": 5.50},
{"name": "Matcha Cloud", "price": 6.00}
],
"snacks": ["croissant", "muffin"]
},
"openHours": "8am-6pm"
}{
"cafe": "Sunny Bean",
"menu": {
"drinks": [
{"name": "Honey Latte", "price": 5.99},
{"name": "Lavender Dream", "price": 6.50}
],
"snacks": ["croissant", "cookie"],
"special": "Rainbow Cake"
},
"openHours": "7am-8pm",
"wifi": true
}~ menu.drinks[0].price: 5.50 → 5.99~ menu.drinks[1].name: "Matcha Cloud" → "Lavender Dream"~ menu.drinks[1].price: 6.00 → 6.50~ menu.snacks: ["croissant","muffin"] → ["croissant","cookie"]+ menu.special: "Rainbow Cake"~ openHours: "8am-6pm" → "7am-8pm"+ wifi: true
The tool detects three types: Added (new keys in the modified JSON), Removed (keys that no longer exist), and Changed (same key but different value).
Yes! Click any difference to select it, or use Select All. Selected items are highlighted in the JSON view—green for added, red for removed, yellow for changed values.
Yes, the diff works recursively through nested structures. Array elements are compared by index, and object properties are compared at any depth.
No, this site does not store or share your data in the cloud. Your data remains private and is kept locally on your broswer.
Yes, we welcome all suggestions! Please feel free to share your feedback using the link at the bottom of the page.