Compare two JSON documents online and identify added, removed, changed, and type-changed values. This browser-based JSON compare tool performs a structural comparison of objects and arrays, highlights differences by category, lets you ignore key order or specific fields, and helps you inspect changes by JSON path.
Compare the original and modified JSON next to each other, with added, removed, and changed values highlighted line by line in both editors.
Separate differences into added, removed, and changed values, and detect type changes such as a number becoming a string or an object becoming an array.
Show where each difference occurs within the JSON structure, such as $.users[0].profile.name, and copy its JSONPath with one click.
Normalize object key order before comparison so a different property order is not reported as a data change. Array element order is preserved.
Treat array position as insignificant for unordered collections, so reordering items does not produce spurious changes.
Exclude noisy fields such as updatedAt or requestId by name or path, so they are skipped during comparison.
Copy every changed path, copy the full diff result, or export it as a text report for issues, code review, or documentation.
Swap JSON A and JSON B to reverse the comparison direction and view additions and removals from the opposite side.
JSON parsing and comparison happen in your browser. No account is required and your documents are not uploaded to a server.
Paste the baseline or original document into JSON A. This version is used as the starting point for classifying added, removed, and changed values.
Paste the newer or comparison document into JSON B. The tool compares this document against JSON A.
Enable Sort object keys when key order should not matter, enable Ignore array order for unordered collections, and list fields to skip in the Ignore fields box.
Click Compare to parse both documents. Differences are highlighted in both editors and listed with their path, type, and old or new value.
Filter the result by type, copy changed paths, copy the full result, or export a report. Use Swap to reverse the comparison direction.
A JSON compare tool examines two JSON documents and reports how their structure and values differ. It is useful when you need to compare API responses, configuration files, test fixtures, exported data, or two versions of a payload.
A structural JSON comparison parses the documents before comparing them. This means formatting, indentation, and whitespace do not normally count as changes. The result can focus on meaningful data differences such as added properties, removed properties, changed values, and type changes.
Nested objects and arrays are compared recursively, so differences deep in the structure are also detected and shown with their full path.
This JSON compare tool processes input in your browser and does not require uploading your documents to a server. For development data and configuration snippets this local processing is convenient. Still, avoid entering passwords, API keys, access tokens, or other highly sensitive information into any browser tool.