Text Compare
Line-by-line text diff
Free text compare tool. Paste an original and a modified text to see a line-by-line diff — added lines in green, removed lines in red, unchanged lines plain — with added, removed and unchanged line counts.
How to use Text Compare
- Paste the original text on the left and the modified text on the right.
- Click Compare.
- Read the color-coded diff and the added, removed and unchanged counts.
Features
- Line-by-line diff with longest-common-subsequence matching
- Added, removed and unchanged line counts
- Color-coded diff: green added, red removed, plain unchanged
- 100% in-browser — nothing is uploaded
Frequently asked questions
What is a text compare tool?
A text compare tool takes two versions of a text and shows exactly what changed between them. Paste the original and the revised version, and it highlights added lines in green, removed lines in red, and leaves unchanged lines plain — so you spot every edit at a glance.
How does the line-by-line diff work?
The tool matches lines in order using a longest-common-subsequence diff. Example: original lines alpha, beta, gamma against modified lines alpha, delta, gamma gives 2 unchanged lines (alpha, gamma), 1 removed line (beta) and 1 added line (delta). A line that only moved position is shown as removed in one place and added in another.
Is the comparison case-sensitive?
Yes. Lines must match exactly, including capital letters and spacing — 'Beta' against 'beta' counts as one removed line and one added line. There are no ignore-case or ignore-whitespace switches, so nothing is silently hidden.
What is the difference between Text Compare and the similarity checker?
Text Compare shows WHERE lines changed; the text similarity checker scores HOW alike two texts are as a percentage across four algorithms. Use the diff when you need to review an edit line by line, and the similarity checker when you need one overall overlap number. The plagiarism comparison tool adds a third angle: a copied-content verdict with matching phrases.
How large a text can I compare?
Up to 2,000 lines per side. Lines past the 2,000-line cap on either side are not compared, so for very long documents compare them in sections.
Is my text uploaded or stored?
No. The comparison runs entirely in your browser and your texts are never sent to a server.
Login to use this free online tool. Create a free account to get started.















