Text Diff

Text Diff Checker (Compare Two Texts)

Paste the original text on the left and the revised text on the right. Added lines are shown in green and deleted lines in red, and the changed characters inside a line are highlighted. Handy for checking contract drafts, website copy and settings files. Your text never leaves this page.

Differences

Enter text in both boxes to see the differences.

  • Lines are compared one by one. If a line was moved, it appears as deleted in one place and added in another.
  • Line endings (Windows / Mac) are treated as the same. Very long texts may take a moment to compare.

About this tool

Compare two texts and see added lines in green and removed lines in red. Within changed lines, the exact characters that differ are highlighted, so small edits are easy to spot. You can ignore differences in spaces or letter case and fold unchanged lines. Your text is compared in your browser and never sent to a server.

How to use

  1. Paste the original text into Original on the left and the new version into Revised on the right.
  2. The Differences section shows the number of added, removed and unchanged lines, with each change color-coded.
  3. Tick options to ignore spaces or letter case, or to fold unchanged lines.
  4. Use Swap left and right to reverse the comparison, or Clear to start over.

Useful for

  • Finding what changed between two versions of a contract or terms
  • Checking that corrections were applied when proofreading
  • Listing wording changes on a website
  • Comparing two versions of a configuration file or code

FAQ

What is a diff?

The differences between two texts or files. This tool shows which lines were added or removed and which characters changed within a line.

Can I compare Word or PDF files directly?

No. Copy the text from each file and paste it into the two boxes.

How are moved lines shown?

Lines are compared one by one, so a moved line appears as removed in its old place and added in its new place.

Is my text sent anywhere?

No. The comparison runs entirely in your browser.

Contact