T-70 · Developer tools
Compare two JSON documents structurally and list added, removed and changed values by JSON path. Key order is ignored; arrays can be compared as sets.
~ $.customer.name: "Ada" → "Ada Lovelace"~ $.items[2].price: 9.99 → 10.49- $.coupon: "SPRING"+ $.shipping: "express"
About this instrument
Paste two JSON documents to see exactly what differs, as a list of paths such as $.items[2].price: 9.99 → 10.49. The comparison is structural, not line by line, so reordered object keys or different indentation do not count as changes. A summary shows how many values were added, removed and changed, and invalid JSON is reported with its line and column.
FAQ
No. {"a":1,"b":2} and {"b":2,"a":1} are equal, as JSON objects are unordered.
It is JSONPath-style notation: $ is the document root, .items is a key and [2] is the third array element (counting from zero). Keys that are not plain identifiers are written in brackets, such as $["first name"].
No. Both documents are parsed and compared in your browser.
Related instruments