JSON Diff
Compare two JSON documents by structure. Find added, removed and changed values at their exact paths, even when object keys are reordered.
Object keys can appear in any order. Arrays are compared by index.
About JSON Diff
Compare two versions of an API response, configuration file or test fixture. Each difference includes a JSON Pointer and the original or updated value. The comparison runs locally in your browser.
How to use JSON Diff
Enter both documents
Paste the earlier JSON into Original JSON and the newer version into Updated JSON. Any JSON value is supported, including arrays and null.
Compare the structure
Select Compare JSON. Formatting and object key order are ignored. Array items are matched by index.
Inspect the changes
Follow each path to see the affected value. Added and removed objects are shown as a single change, and longer values can be expanded.
Frequently asked questions
Related developer tools
JSON Formatter · Beautifier · Validator
Format, minify, sort keys, and validate JSON/JSONC/JSON5 with optional JSON Schema validation. Supports comments and trailing commas.
YAML ⇄ JSON Converter
Instantly convert data between YAML and JSON formats with real-time updates and syntax highlighting.
Text Diff Checker
Compare two texts side-by-side and highlight the differences between them.