Text Compare (Diff Checker)
Paste the old and new text; added and removed lines and changed words are highlighted. Handy for comparing contract, report and code versions.
How to use
- Paste the first (old) text on the left and the second (new) on the right.
- Tick the ignore case / whitespace boxes if needed.
- Press "Compare"; differences appear in a colour-coded table.
Method and assumptions
- Comparison uses a line-based longest common subsequence (LCS); changed line pairs also get word-level highlighting.
- Up to 4000 lines per text are supported.
- Texts never leave your browser.
Example
Old text: a / b / c (three lines). New text: a / B x / c / d (four lines). Result: 2 lines added, 1 removed, 2 unchanged. Because “b” changed to “B x”, it is shown as a changed pair and the word-level difference is highlighted.
Settings
| Option | What it does | When |
|---|---|---|
| Ignore case | “Text” and “text” count as equal | When case differences are unimportant |
| Ignore whitespace differences | Extra spaces and indents are not counted | When pasted text brings formatting differences |
Common mistakes
- Pasting the two texts in the wrong order: if old and new are swapped, additions look like deletions.
- Very large texts: each text supports up to 4000 lines; compare longer documents in sections.
- Line-break differences: if lines are split differently, many changes appear; bring paragraphs to the same line layout.
- Relying on the tool alone for legal text: for important contracts, also check by eye.
Frequently asked questions
What do the colours mean?
Red: not in the second text (removed), green: new in the second text (added), yellow row: a line that differs between the texts.
How is similarity computed?
As the number of unchanged lines divided by the line count of the longer text.
Can I compare files?
Copy the contents and paste them; for Word, copy the text first.
How is the similarity percentage found?
From the ratio of common lines to total lines; identical texts give 100%.
Are my texts sent anywhere?
No. The comparison runs in your browser.
More tools
© ZDK Mühendislik — the software of this tool may not be copied or reused on other sites without permission.