Skip to content
Home / Tools / Text Diff Checker

Text Diff Checker

Paste an original and a revised version to see exactly what changed, by line, word or character, inline or side by side.

0added0removed0unchanged0similar
Advertisement
728 × 90Ad placeholder · tool-below-workbench

Compare two versions of a text

Paste the original on the left and the revised version on the right. Differences are highlighted: green for additions and red for removals, with counts and a similarity percentage. Choose the level of detail: lines for lists, config files and code; words for prose and contracts; characters for catching typos in short strings.

Views and options

  • Inline shows one merged view; Side by side (line mode) shows the two versions in parallel columns with line numbers.
  • Only show changes collapses long unchanged stretches, keeping two lines of context around each change.
  • Ignore case, whitespace or punctuation and skip blank lines remove noise when only formatting changed.
  • Open file loads a text file into either side; Swap sides flips the comparison direction.
  • Copy or download as a unified diff (+ and − prefixes) for emails, tickets and code reviews.

How it works

The comparison finds the longest common subsequence of the two texts: the largest set of items that appear in both in the same order. Everything outside that sequence is marked as added or removed. This is the same idea that powers version control tools such as Git. A paragraph that was moved appears as a removal in one place and an addition in another, because the algorithm compares sequence, not meaning.

Good uses

Reviewing a colleague’s edits, checking what changed between two policy or contract drafts, comparing configuration files, spotting a single changed number in a long table, confirming a translation kept every line, and verifying that a clean-up did not remove content you needed. For very long inputs the page compares up to about 3,000 items per side to keep your browser responsive, and tells you when that limit is reached.

Advertisement
728 × 90Ad placeholder · tool-in-article

Frequently asked questions

Is this like Track Changes?

It shows the same kind of difference, but compares two pieces of pasted text instead of recording edits as they happen.

Why does a moved paragraph appear twice?

Diffs compare order. A moved block shows as removed from the old position and added at the new one.

When should I use word mode?

For prose. Line mode marks an entire line as changed when one word differs, while word mode highlights just that word.

Is there a size limit?

Comparison is limited to about 3,000 lines, words or characters per side. A message appears if you go over.

Is my text uploaded?

No. The comparison runs in your browser.

Related reading