Calculator Need
Categories

Text Compare & Diff

Diff text or code with line-level and word-level highlighting.

Runs entirely in your browser. Nothing you paste or upload leaves your device.

How to use the text compare & diff

  1. Paste the original text into box A and the changed text into box B, or press “Sample”.
  2. Press “Compare”.
  3. Read the diff: added lines in green, removed lines in red, with word-level highlighting.

Uses

  • Compare two versions of a contract, essay or email draft.
  • Spot changes between config files or log extracts.
  • Check what an editor changed in a translation.

Tips for using the text compare & diff

  • Turn on "ignore whitespace" (if available) when only indentation changed.
  • Word-level highlighting is better for prose; line-level for code.
  • For very long files, compare the sections that changed rather than whole documents.

Text compare & diff: common questions

What is the difference between line-level and word-level highlighting?
Line-level shows which lines changed. Word-level goes further and highlights the exact words that changed inside a line.
Can I compare code?
Yes. Paste any text or code — the comparison is on the text itself, not on what it means.
Is my text uploaded?
No. The comparison runs in your browser.
Are my texts saved?
No. Both texts stay in the page and disappear when you close the tab.