Diff Pro

100% in your browser · data never leaves your device

Compare two blocks of text line by line — unified diff, side-by-side view and stats, all computed locally in your browser. The paid API endpoint for agents is at POST /api/diff-pro.

0
added
0
removed
0
unchanged
0
hunks
Unified diff

  
Side-by-side

How to use

  1. Paste the original text in the left pane and the changed text in the right pane.
  2. Pick a view: unified diff, side-by-side, or stats only.
  3. Toggle ignore-whitespace / ignore-case when noisy formatting hides real changes.
  4. Click <strong>Compare</strong> and copy the result or download it as a .diff file.

Where it applies

  • Reviewing config or code changes before a commit.
  • Checking what changed between two API responses.
  • Producing a clean patch for a bug report or ticket.
  • AI agents diffing documents through the paid <code>POST /api/diff-pro</code> endpoint.