Text Compare - See the Differences Line by Line
Two drafts of a letter, an old and new price list, a student's essay before and after editing - when two texts look almost the same, the differences are what matter. Paste both versions and see only what changed.
How to use the Text Compare
- Paste the original text on the left and the new version on the right.
- Click Compare Texts.
- Read the result: lines marked + exist only in the new text, lines marked − were removed, and unmarked lines are unchanged.
How it works
The comparison uses a longest-common-subsequence (LCS) algorithm - the same family of method behind professional code-diff tools. It finds the longest run of lines the two texts share in the same order; everything in the original outside that run is a removal, and everything new outside it is an addition. Because whole lines are compared exactly, even a one-character change marks the whole line as removed-plus-added, which is exactly what you want when proofreading documents and lists.
Worked example
Original list: 'Milk, Eggs, Bread, Butter'. New list: 'Milk, Eggs, Brown Bread, Butter, Tea'. The result shows Bread removed, Brown Bread and Tea added, the rest unchanged - a 3-second answer instead of reading both lists twice.
Frequently Asked Questions
Is the text compare tool free?
Yes - free, no sign-up, and both texts stay in your browser.
Does it compare by line or by word?
By line. Line comparison is the clearest view for documents, lists, essays and code. A changed line shows as one removal plus one addition.
How large can the texts be?
Hundreds of lines compare instantly. Extremely large texts (tens of thousands of lines) may take a few seconds on a phone.
Can I compare code with it?
Yes - it works well for spotting changed lines in code, configuration files and data lists. Indentation and spaces are compared exactly.
Is either text uploaded?
No - the comparison runs 100% on your device.
Related Text Tools
Word Frequency
A ranked table of your most-used words, with counts and percentages.
Slug Generator
Turn any title into a clean, search-friendly URL slug, live.
Online Notepad
A notepad that auto-saves in your browser - download and print included.
Case Converter
UPPERCASE, lowercase, Title Case, Sentence case and more - one click each.