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
- Paste original JSON on the left.
- Paste the updated JSON on the right.
- 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.