Text Diff Checker

Compare two texts and see exactly what was added, removed and kept.

Quick answer

Compare two blocks of text side by side and highlight every addition and deletion. Word or line granularity, with an optional whitespace-insensitive mode.

Paste text into both boxes to compare.


0Added
0Removed
0Unchanged
100%Similarity
The comparison will appear here.

Features

  • Word-level or line-level comparison
  • Additions and deletions colour-coded inline
  • Optional whitespace and case insensitivity
  • Similarity percentage and change counts
  • Copy a plain-text unified summary

How to use it

  1. Paste the original version on the left.
  2. Paste the changed version on the right.
  3. Choose word or line granularity.
  4. Green marks additions, struck-through red marks deletions.

How the comparison works

This uses a longest common subsequence algorithm, the same foundation as diff and Git. It finds the longest sequence of tokens appearing in both texts in the same order, then treats everything else as either an insertion or a deletion. That produces a minimal, readable set of changes rather than simply reporting that everything after the first difference changed.

Word granularity is best for prose, where a single edited word inside a long paragraph should not mark the whole paragraph as changed. Line granularity matches how code review tools work and is better for source files, configuration and any text where line boundaries carry meaning.

The similarity percentage is the proportion of tokens unchanged relative to the longer of the two texts. It is a rough guide rather than a precise measure of semantic similarity, reordering two paragraphs produces a low score even though nothing was truly added or removed. For large inputs the algorithm is capped at 4,000 tokens per side, since LCS cost grows with the product of both lengths.

Frequently asked questions

Yes, completely. Text Diff Checker is free with no usage limits, no account and no sign-up. There is no paid tier and no trial that expires. Tools marked Premium on this site carry that label to indicate a deeper feature set, not a price.
Text Diff Checker covers word-level or line-level comparison, additions and deletions colour-coded inline, optional whitespace and case insensitivity, among other things. Everything is available immediately with no account, no sign-up and no usage limit.
This uses a longest common subsequence algorithm, the same foundation as diff and Git. It finds the longest sequence of tokens appearing in both texts in the same order, then treats everything else as either an insertion or a deletion. That produces a minimal, readable set of changes rather than simply reporting that everything after the first difference changed.
Everything happens inside your browser. The text you enter is processed by JavaScript running on your own device and is never sent to a server, there is no backend to send it to. You can confirm this in your browser's Network tab while you use the tool. The tool loads fresh from the web each time you open it, so you always get the latest version, but once it is open all the work happens locally in your browser and nothing you enter is sent to a server.

Related tools

Further reading

📖 How to Compare Two Texts and Spot Every Difference

Read the full guide on the 123MiniApps blog.

Pick a theme

Ten hand-tuned palettes.