Updated
JSON diff explained
Compare parsed JSON values while ignoring object-key order and insignificant whitespace. Each addition, removal or changed value includes a JSON Pointer path. Arrays are compared by index, so reordered array values are changes.
A worked example
Comparing {"score":8} with {"score":9} reports one changed value at /score, with 8 before and 9 after.
Before you use the result
Duplicate keys and unsafe large integers are rejected. This is a value comparison, not a line diff or a move detector. Numbers use JavaScript decimal precision; quote exact financial decimals.
Cite this page
ToolOctopus. “JSON diff.” Updated 2026-09-20. https://tooloctopus.com/json-diff.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
