developer

JSON Diff Checker

JSON Diff Checker

Compare two JSON objects and highlight the differences between them.

Differences

Configure inputs and run the tool

Results will appear here

About this JSON Diff Checker

The JSON Diff Checker is a free online tool for comparing two JSON objects and highlighting their differences. Developers and QA engineers use JSON diff tools to compare API responses, verify configuration changes, debug data transformations, and track differences between JSON exports. This tool performs a deep recursive comparison and shows exactly what changed — keys added, removed, or modified — making it easy to spot differences at a glance.

How to use the JSON Diff Checker

  1. 1 Paste the first JSON object into the "Original JSON" input field.
  2. 2 Paste the second JSON object into the "Modified JSON" input field.
  3. 3 Click the Run button to compare the two JSON objects.
  4. 4 Review the output showing added, removed, and modified keys with their values highlighted.

Frequently Asked Questions

What does the JSON diff checker show?
The output shows a structured comparison with markers for each type of change: "[+]" marks keys that were added in the second JSON, "[-]" marks keys that were removed from the first JSON, and "[~]" marks keys where the value changed. Each difference shows the key path and both values.
Can it handle nested JSON objects?
Yes, the diff checker performs a deep recursive comparison that traverses nested objects and arrays. It shows the full key path for differences in nested structures, like "address.city" for a city change within an address object.
What happens if one JSON is invalid?
If either input contains invalid JSON, the tool will show an error message indicating the JSON syntax error and its position. Both inputs must be valid JSON for the comparison to work.
Does this tool handle JSON arrays?
Yes, arrays are compared by index. If the arrays have different lengths or different values at any index, those differences are reported. The output shows exactly which array elements differ.