JSON comparison guide: structure, paths and exact numbers
Object order, array order and missing values
Object key order and formatting do not change equality. Arrays are compared by index, so inserting an item can change later positions. Types matter: the number 1 differs from the string "1", and a missing field differs from null. Duplicate keys are rejected instead of silently discarding earlier values. String contents are compared exactly, including case and whitespace.
Exact decimal comparison without float rounding
Numbers are compared as normalized decimal coefficients and exponents, not converted to floating-point values. Thus 1, 1.0 and 1e0 are equal, while 9007199254740993 and 9007199254740992 remain different. Negative zero equals zero. This is numeric equality, not a check of the original number spelling. Limits on number length and exponent size keep parsing bounded.
Finding changes with JSON Pointer paths
Paths identify the changed location, such as /users/0/name. A key containing / is escaped as ~1, and ~ is escaped as ~0. A change at the document root uses the root label. Added and removed values are shown separately from changes. Results stop after 1000 differences with a clear notice; they are not a complete report when truncated.
Local processing and related tools
Inputs are processed in your browser, without uploading them for calculation. Copy exports the current result only. Shared website resources may still load. Editing an input clears the previous result to prevent accidental reuse.