JSON Diff
Compare two JSON values side-by-side. See additions, removals, and changes by path.
The diff parses both inputs with JSON.parse(), then uses the microdiff library to produce a structured list of changes by path. Each change is one of: + added, − removed, or ~ changed (with old → new value). All processing happens in your browser.
How does it handle nested objects?
Deep structural diff. Every key path and array index is checked recursively. You'll see results like `user.profile.email` or `items.2.tag`.
What about array order?
Order matters. Reordering counts as a change. If you don't care about order, sort the arrays first using the Formatter with 'Sort keys' (note: that only sorts object keys, not array items).
Can I diff JSON with different shapes?
Yes. The diff handles structural differences — keys present in one side only, type changes, etc.