JSON Diff Tool — Compare Two JSON Files Online

Compare two JSON objects side by side. Highlights added, removed, and changed values. Deep diff with array order ignore. Free and private.

About JSON Diff Tool — Compare Two JSON Files Online

4.8out of 5 · 156 ratings

This free online JSON diff tool compares two JSON documents and highlights every difference — added lines in green, removed lines in red — in a side-by-side view. Alongside the line diff, a deep structural diff recursively compares both documents as JavaScript objects and produces a summary showing exactly which keys were added, which were removed, and which values changed at any nesting depth. The optional "ignore array order" mode sorts arrays before comparison so that element reordering is not counted as a difference — useful when comparing API responses where array order is not significant. No data is ever sent to a server.

Key Features

  • Side-by-side line diff with green additions and red removals
  • Deep structural diff: identifies added keys, removed keys, and changed values at any depth
  • Ignore array order mode — sorts arrays before comparison to eliminate ordering noise
  • Diff summary cards: total keys changed, added, and removed at a glance
  • Both JSON documents are processed entirely in your browser — never uploaded
  • Keyboard shortcuts: ⌘↵ to compare, ⌘⇧S to swap left and right panels

Related Tools

From the Blog