Visual Diff
Text Diff
Table
Deep Structural Comparison
Compares JSON at every nesting level — objects, arrays, primitives — not just text lines. Detects moved, added, removed, and changed keys with full path tracking.
Three Diff Views
Switch between a color-coded visual tree, unified text diff, and a structured table. Each view highlights the same differences in the format that works best for your workflow.
Configurable Options
Ignore key ordering, treat null as equivalent to missing keys, or enable case-insensitive string matching. Tailor the comparison to your data model's semantics.
Privacy-First & Offline
All processing runs in your browser. No data is sent to any server. Works offline once loaded. Fast, free, and no sign-up required.
Frequently Asked Questions
How does JSON Diff compare to a plain text diff?
A text diff compares characters line-by-line and can't understand JSON structure. JSON Diff parses both inputs as JSON, then compares keys, values, types, and nesting — so reordered keys with identical values are correctly reported as unchanged.
Is my data sent to a server?
No. All comparison logic runs entirely in your browser. Your JSON data never leaves your machine. You can even use the tool offline after the first page load.
What JSON formats are supported?
Any valid JSON: objects, arrays, nested structures, numbers, strings, booleans, and null. The tool validates both inputs before comparing and shows parse errors inline if your JSON is malformed.