No data leaves your browser.
SparkJSONJSON Compare / Diff Online
Paste left and right JSON to list every path that was added, removed, or changed. SparkJSON deep-compares after both sides parse — whitespace and key order in objects do not create false diffs.
Free SparkJSON tool — runs 100% in your browser. No signup, no upload, no paywall. This page compares two JSON documents locally.
No data leaves your browser.
A structural JSON compare walks both trees recursively. Object keys are matched by name (order does not matter). Array items are matched by index, so reordering an array shows up as changes at those positions.
If either side is invalid JSON, you get a parse error first. That prevents a misleading partial diff when the document never parsed successfully.
Pretty-printing may reorder keys visually. Object key order is not a semantic difference in JSON compare.
{ "b": 1, "a": 2 } ≈ { "a": 2, "b": 1 }Moving an item from index 0 to index 1 changes both paths. Sort arrays first if order is irrelevant to you.
"1" and 1 are different values. Normalize types before comparing configs.
Yes. After parse, whitespace is irrelevant. Only structure and values are compared.
No. Diffing runs entirely in your browser with no upload endpoint.
The same compare UI lives at /tools/json-compare/ with related-tool links and FAQ schema.