JSON Diff

Compare two JSON documents and see what was added, removed or changed, laid out as a tree. Objects are matched by key, so key order does not matter, and the comparison runs in your browser.

Add to Chrome Free: formats JSON pages right in the tab.

How to compare JSON

  1. Paste the original document on the left and the modified one on the right, or open a file into each side.
  2. Read the tree below: added, removed and changed values are marked, with the old and new value side by side.
  3. Filter by type of change or hide unchanged keys to focus on what differs.

How values are compared

More JSON tools

Frequently asked questions

Does key order matter?

No. Objects are compared by key name, so reordering keys is not reported as a change. To make two files look alike in text as well, run Sort Keys on both.

Can I compare WebSocket messages?

Yes, in the Chrome extension: pin one message in the WebSocket tab, select another and open them side by side in Diff.

Are the documents uploaded?

No. Both documents stay in your browser, and there is no backend. See the privacy policy.