JSON Diff
Compare two JSON documents structurally — key order and formatting differences are ignored, so only actual value changes are shown. The tool reports added keys, removed keys, and changed values with their old and new values. Nested objects and arrays are compared recursively.

What it does
- ▸Structural comparison that ignores key order and formatting
- ▸Reports added keys, removed keys, and changed values
- ▸Compares nested objects and arrays recursively
- ▸Shows old and new values for changed fields
- ▸Handles arrays by index comparison
Use cases
- ▸Comparing two API responses to see what changed
- ▸Diffing two versions of a JSON configuration file
- ▸Checking what a migration script changed in a JSON data file
- ▸Verifying that a JSON transformation preserved the expected structure
How it works
Paste the original JSON in the left pane and the modified JSON in the right pane
The tool parses both and compares them structurally
Added, removed, and changed fields are listed in the output
Each change shows the path, old value, and new value
Frequently asked questions
1Why does it ignore key order?
In JSON, key order is semantically meaningless — {"a":1,"b":2} and {"b":2,"a":1} represent the same data. By ignoring key order, the diff focuses on actual value changes rather than formatting differences.
2How does it compare arrays?
Arrays are compared by index — element 0 with element 0, element 1 with element 1, etc. If the arrays have different lengths, the extra elements are reported as added or removed. This is index-based comparison, not set-based.
3Can it handle nested objects?
Yes. The comparison is recursive. A change in a deeply nested field like user.address.city is reported with the full path, so you can see exactly where the change occurred.
Related tools

Text Diff Checker
Compare two texts by characters, words or lines

JSON Patch (RFC 6902)
Apply, generate, or validate JSON Patch operations per RFC 6902

JSON Formatter & Validator
Format, validate, repair, and minify JSON

Git Diff Parser
Parse unified git diff output — file list, additions/deletions, hunk breakdown, stats, structured JSON
Use JSON Diff offline in Devinity
All 95 tools run locally on your Mac. No internet required, no data sent to servers.
Download Devinity →