Paste both documents
The original on the left, the new one on the right.
Paste two JSON documents and get the list of what was added, removed or changed, each with its path. Key order does not matter, and you can ignore the order of items in lists.
100% private — the calculation is done in your browser and nothing is sent to any server.
Keep going with your result in another tool. Nothing is uploaded.
The original on the left, the new one on the right.
Added, removed and changed values, each with its path.
For a bug report, a review or a changelog.
JSON is everywhere: API responses, configuration files, exported data, package manifests. Sooner or later you need to know what differs between two versions of one: a response before and after a change, the config of two environments or a file that a colleague edited. A normal text comparison is a poor fit because JSON can be formatted in many ways, and the same content can appear with different spacing or with the keys in another order. This tool compares the data, not the text.
Both documents are parsed and their structures are compared, walking through every object and list. For each difference you get the
path in a form such as $.address.city or $.tags[1], and its kind:
The order of the keys in an object never matters, because in JSON an object is an unordered set of pairs. Spacing and line breaks are ignored, and the numbers 1 and 1.0 are treated as equal. For lists you choose: by default items are compared by position, so inserting an item at the start shifts everything after it. If the order of the items is not meaningful, choose to ignore it and the tool matches equal items wherever they are.
If one of the documents is not valid JSON, the tool says which one, and shows the line and column of the problem so you can fix it, with an explanation such as a missing comma or an unclosed quote.
It shows up to 500 differences. Very large numbers are compared by their written value, so they are not rounded. It does not merge the two documents or produce a patch. Both texts stay in your browser. To tidy a document before comparing it, use the JSON formatter.
More utilities that also run without leaving your browser.