Skip to main content

JSON Diff / Compare

JSON Diff / Compare puts two JSON documents side by side and reports how they differ in structure, not in text.

Processing limit: 2 MB input, 100,000 items, 64 nesting levels.
Processed locally in your browser

How to use it

  1. Paste the first document into Original JSON and the second into Modified JSON
  2. Select Compare — invalid JSON on either side is reported before the comparison runs
  3. Read the summary counts, then the Added, Removed and Changed lists with their paths
  4. Use Copy result for a text version, Swap sides to reverse the comparison, or Clear to start over

It parses both with the browser's JSON engine, so indentation, whitespace and the order of object keys are never treated as differences — only values are. The result groups every change into Added, Removed and Changed, each with a readable path such as user.address.city or items[2].price, plus a count of how many of each. Array items are compared by position, so a reordered array shows as changed items rather than a move. A value that switches JSON type — a number becoming a string, an object becoming an array — is flagged as a type change. If either side is not valid JSON, the tool says which side and why. Everything runs in your browser; nothing you paste is uploaded. This is a comparison tool: use JSON Formatter to make one document readable, or JSON Minifier to shrink it.

FAQ

We use cookies to run this site and, with your consent, to understand usage and personalize ads. You can change your choice at any time.