Compare & diff

Diff two documents and see exactly what changed.

Start a comparison

With a document open, press ⌘D and pick 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.

Three modes

The same comparison, three ways:

  • Side-by-side — two editors, old on the left and new on the right.
  • Tree — two read-only trees, aligned so you can scan the structure.
  • Inline — a single, unified diff with changes interleaved.

What it shows

Every difference is colour-coded by kind:

  • Added — entries present only in the new document (green).
  • Removed — entries present only in the old document (orange).
  • Changed — entries whose value differs (amber).
  • Moved — entries that kept their value but changed position.

A summary tallies the totals — for example +3 −2 ~2 ↔1 — and Prev / Next controls step you through each difference in turn. A sync-scroll toggle keeps the two sides locked together as you move.

Limits

Note — the Inline diff is capped at 3 MB per side. For larger documents, use the Side-by-side or Tree mode, which read the document lazily.

Next steps

Want to spot-fix one side before diffing? See Editing, or clean up malformed input first with Repair.

Related — JSON diff & compare.