FREE ONLINE TOOL

JSON Diff / Compare

Find added, removed and modified paths in two JSON documents.

Jump to tool ↓

Loading tool…

NEXT ACTION

Keep working with another tool

Finished this task? Open a useful follow-on tool in one click.

About the JSON Diff / Compare

Compare Two JSON Documents for Differences — Paste two JSON objects or arrays to find added, removed or modified values by property path. Key order differences are ignored for objects.

Formula or method

Both documents are parsed to JavaScript JSON values. Recursive comparison traverses matching keys and array indices, reporting differences by JSONPath-like locations.

Worked example

Comparing {"active":true,"count":1} to {"active":true,"count":2} reports one changed property at $.count.

How to use the tool

  1. Paste original JSON on the left.
  2. Paste the updated JSON on the right.
  3. Review added, removed and changed paths.

Common uses

API responses, config reviews, data migrations.

Assumptions and limitations

Arrays are order-sensitive and the view shows at most 300 differences. Duplicate keys are not detected and large values may be truncated in the display.

Frequently asked questions

Does the JSON comparison ignore object key order?

Yes. Object property order does not change the resulting JSON values; arrays retain their order.

Privacy and support

Your inputs are processed locally in your browser. ToolMosaic does not upload or store the values you enter in this tool. Our tools are free, and we appreciate your support.