Skip to main content
DevTools24

JSON Diff

Compare two JSON objects semantically. See exactly what was added, removed, or changed between versions.

Click "Compare JSON" to see differences
Added
Removed
Changed

JSON Diff - Technical Details

JSON diff performs a deep comparison of two JSON structures, checking each property recursively. Unlike text diff, it understands JSON semantics - property order doesn't matter, and nested objects are compared properly. Useful for API response comparison and configuration changes.

Command-line Alternative

# JSON diff with jq\njq -n --slurpfile a old.json --slurpfile b new.json '$a[0] != $b[0]'\n\n# With Python\nimport json\njson.load(open('a.json')) == json.load(open('b.json'))