JSON Compare
About this tool
Paste two JSON documents to compare their structure and values. The result shows added or removed keys, value changes, and type differences in an expandable view instead of comparing only the raw text.
How to use
- Compare JSON by structure and value
- Show added, removed, and changed keys
- Highlight type changes
- Expand or collapse nested results
- Report syntax errors separately for each side
- Paste left and right JSON: Enter baseline and candidate JSON in both panels.
- Run compare: Click Compare to build the structured comparison.
- Inspect changes: Expand nodes to see exact paths and value differences.
Examples
- Compare two versions of an API response
- Review changes between two configuration files
- Check whether exported data has changed
- Compare expected and actual JSON in a test
Limitations
- Large nested documents may take longer to display a very deep structure
- Array order is significant unless ignore-order mode applies to objects only
- The entered data is processed directly in your browser and is not sent to a server.
FAQ
- How is this different from text compare?
- JSON Compare understands structure—reordered keys or whitespace won't false-positive if ignore-order is enabled.
- Are array element moves detected?
- Arrays are compared by index; reordering appears as multiple edits.
- What if one side is invalid JSON?
- Syntax errors are shown for the failing side before the comparison runs.