Compare & diff

JSON diff.

Compare two JSON documents and see exactly what changed: added, removed, changed and moved — side-by-side, as aligned trees, or as an inline unified diff. All on your machine.

Structural diff · Local · Handles large files · Apache-2.0

Pandia diffs the JSON itself, not just the text — so reordered keys and whitespace don’t register as changes. Press ⌘D, pick a second document, and every difference is colour-coded and counted.

Every change, classified

+ tags: ["admin", "early"]   (added)
- legacy: true                (removed)
~ name: "Ada" → "Ada L."      (changed)
↔ id                          (moved)

A summary tallies the totals — for example +3 −2 ~2 ↔1 — and Prev / Next step you through each difference, with an optional sync-scroll that keeps both sides locked together.

Three ways to read a diff

  • Side-by-side — old on the left, new on the right.
  • Tree — two aligned, read-only trees for scanning structure.
  • Inline — a single unified diff with changes interleaved.

Frequently asked questions

How do I compare two JSON files in Pandia?

Open one document, press ⌘D, and choose what to compare it against — another open tab or a file from disk. Pandia computes the diff and switches the canvas into the Compare view.

Is the diff structural or just text?

Structural. Pandia diffs the JSON itself and classifies every change as added, removed, changed or moved — so reordered keys and formatting noise don’t show up as false differences.

Can it diff large JSON files?

Yes. Differences are computed in Rust and only the lines on screen are fetched, so an 800,000-line comparison takes about 40 milliseconds. Side-by-side and Tree modes read both documents lazily; comparing is bounded by the 200 MB whole-document ceiling.

Get Pandia

Stop fighting your JSON.

Download the native app, open your biggest file, and get to work. Free, offline, and open source.