JSON Diff Tool
Compare two JSON documents and highlight differences.
Compare two JSON documents and see the differences in the data itself: values added, removed and changed, listed by their path (such as $.user.address.city or $.items[2].price). Key order and formatting are ignored, so two files that mean the same thing show no differences, unlike a plain text diff. Useful for API responses, config files and test snapshots.
Common use cases
- Compare two API responses
- See what changed in a config file between versions
- Check a test snapshot against expected output
How to use
- Paste the original JSON on the left and the new JSON on the right.
- Read the list of added, removed and changed values with their paths.
FAQ
Why use this instead of a text diff?
A text diff flags reordered keys and indentation changes. A JSON diff compares the data, so only real changes show.
How are arrays compared?
Item by item, by position. An item inserted near the start makes later items show as changed.
Related tools
- JSON ValidatorValidate JSON syntax and structure.
- JSON FormatterFormat, validate, and beautify JSON data with syntax highlighting.
- Text Diff CheckerCompare two texts and highlight differences between them.
- JSON MinifierMinify JSON by removing whitespace and formatting.
- YAML ValidatorValidate YAML syntax and structure for configuration files.
- CSS FormatterFormat and beautify CSS code with proper indentation.