How do I compare two JSON objects online?
Paste the original JSON on the left and the modified JSON on the right, then click Compare JSON. The JSON compare tool lists every difference and highlights it in both JSONs.
Compare two JSON objects online side by side. This JSON compare tool works as a JSON diff online, highlighting every added, removed and changed value.
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
Paste two JSON objects and compare them: the JSON diff below shows how added, removed and changed values are highlighted.
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
Paste the original JSON on the left and the modified JSON on the right, then click Compare JSON. The JSON compare tool lists every difference and highlights it in both JSONs.
No. Object properties are matched by key name, so two JSONs with the same keys in a different order are treated as identical. Array elements are compared by index.
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 browser.
Yes, we welcome all suggestions! Please feel free to share your feedback using the link at the bottom of the page.