Text compare (diff)

TX-07Text

Compare two versions of a text line by line and see what was added and removed.

Lines added
2
Lines removed
1
Unchanged
3

Last updated: October 2026 · Report a calculation error

How to compare two texts

Paste the original and the changed version. The tool compares them line by line and shows which lines were removed (−) and added (+). Unchanged lines are shown without a sign, so you can see changes in context.

It works like the diff command in programming: it looks for the longest common sequence of lines (LCS), so moving one paragraph doesn’t mark all following text as “different”.

What it’s useful for

  • Checking what a counterparty changed in a contract or terms.
  • Comparing two versions of a list — who joined the guest list, which products disappeared from an order.
  • Config files, code snippets and translations.
  • The comparison runs in your browser — the text isn’t sent anywhere.

Getting a readable result

The tool compares whole lines, so changing one letter shows as one line removed and one added. For long paragraphs, split the text into sentences — one per line — to pinpoint changes. Up to 500 lines per text are supported.

Frequently asked questions

Does it highlight changed words within a line?

No — it marks whole lines. If a line is long, split it into shorter pieces to find the change faster.

Do case and spaces matter?

Yes — “Text” and “text”, or a line with a trailing space, count as different. Normalise spaces first with the text cleaner.

See alsoWhole category

  1. TX-01Character and word counterCount characters, words, sentences and paragraphs in any text.
  2. TX-02Lorem Ipsum generatorGenerate Lorem Ipsum placeholder text by paragraphs, sentences or words.
  3. TX-03Case converterConvert text to UPPERCASE, lowercase, Title Case or sentence case.
  4. TX-04Sort lines and remove duplicatesSort lines alphabetically, reverse their order or remove duplicate lines.