JSON Diff
Paste two JSON documents and compare them. Your JSON is processed locally in your browser.
Nothing you paste is sent to Docspira.
How the comparison works
Object property order and formatting (spaces, indentation) never count as a difference; a value's type does — 1, "1", true, and "true" are always different from each other, and null is a real value, different from a missing key. Arrays stay ordered: array items are compared by position, not by guessing an identity field like id or name — inserting or removing an item in the middle of a large array of objects can show many entries changing below that point, since Docspira never assumes which field makes two objects "the same" for arbitrary JSON. A plain value moving to a different position in an array of otherwise-unchanged items is shown as "Moved" rather than a removal plus an addition.