Compare two JSON documents and see structural differences highlighted. Keys are sorted for semantic comparison. Runs in your browser — your data never leaves your machine.
Compares JSON by structure and values, not by text formatting. Whitespace and key ordering differences are normalized away.
Keys are sorted alphabetically at every nesting level before comparison, so reordered keys don't produce false differences.
Added lines are highlighted in green and removed lines in red, making structural differences instantly visible.
Paste your original JSON in the left panel and the modified JSON in the right panel, then click Compare. The tool parses both documents, sorts keys alphabetically, normalizes formatting, and highlights the differences line by line. Green lines are additions and red lines are removals.
A JSON diff compares the structure and values of two JSON documents. Unlike a plain text diff, a JSON-aware comparison normalizes formatting and key ordering so that only meaningful changes are shown. This is especially useful when comparing API responses, configuration files, or database exports where key order may vary but the data is semantically identical.