JSON Diff
Compare two JSON documents and visualise the differences. Added, removed, and modified values are highlighted. Runs entirely in your browser — nothing is uploaded.
Frequently Asked Questions
What does the diff output show?
Added properties are shown in green, removed properties in red, and modified values show the old value struck through and the new value in yellow. Unchanged properties are collapsed by default.
Does the diff handle nested objects and arrays?
Yes. jsondiffpatch diffs recursively — nested objects are compared property by property and array changes are shown with index-level precision.
What happens if one of the inputs is invalid JSON?
An error is shown for the invalid panel. The diff runs as soon as both panels contain valid JSON.
Is my data private?
Yes — completely. Everything runs locally in your browser. Nothing is sent to any server, and nothing is retained after you close the tab.
Related Tools
Text Diff
Compare two blocks of text and view the differences in unified or side-by-side format. Runs entirely in your browser — nothing is uploaded or stored.
Compare JSON Files Online
Compare two JSON files directly in your browser. See rows only in file A, only in file B, and rows common to both — no upload required.
JSONPath Tester
Test JSONPath expressions against JSON data. Paste your JSON, enter a path query, and see all matching values instantly. Uses jsonpath-plus. Runs in your browser.