JSON Diff Tool
Compare two JSON objects side by side. See additions, deletions, and changes highlighted clearly.
Original (Left)
Modified (Right)
Differences
Enter JSON in both panels above, then differences will appear here.
How to Use the JSON Diff Tool
Paste or drop JSON into both panels. The original (baseline) goes on the left, and the modified version goes on the right. The tool compares them and displays all differences, organized by path.
Understanding the Diff Output
- + Added -- keys or values present in the modified JSON but not in the original.
- − Removed -- keys or values present in the original JSON but not in the modified.
- ~ Changed -- values that exist in both but have different values.
Features
- Deep comparison -- compares nested objects and arrays recursively to any depth.
- Collapsible sections -- click on any node to expand or collapse its children.
- Filter by type -- show only additions, deletions, or changes using the filter buttons.
- Swap inputs -- quickly reverse the comparison direction.
- Array comparison -- arrays are compared element by element by index.
Use Cases
- Comparing API responses between environments (staging vs production)
- Reviewing configuration changes before deployment
- Finding differences in database exports
- Verifying data migration results
- Code review of JSON-based configuration files
Tips
- Use the JSON Formatter first if your JSON is minified -- it is easier to understand diffs of formatted JSON.
- The diff tool normalizes formatting, so whitespace differences are ignored.