About Text Compare
Text Compare highlights exactly what changed between two pieces of text, line by line — added lines in green, removed lines in red, and unchanged lines left plain. It's useful for reviewing edits to an essay or article, comparing two drafts of a cover letter, or spotting changes between versions of any document. Everything runs locally in your browser as you type; neither text is ever sent to a server.
How to use it
- 1
Paste the original text
Put the starting version in the Original box on the left.
- 2
Paste the modified text
Put the updated version in the Modified box on the right — the comparison updates instantly.
- 3
Review the differences
Added lines are highlighted green, removed lines red, and unchanged lines stay plain. Use Swap to flip which side is which, or Copy diff to grab a plain-text summary.
What it does
- Compares the two texts line by line using a longest-common-subsequence diff, the same algorithm used by most code diff tools
- Highlights lines that were added, removed, or left unchanged
- Reports a count of added, removed, and unchanged lines
- Lets you swap the two sides or copy a plain-text +/- diff report
FAQ
Does this compare word-by-word or line-by-line?
Line-by-line. If a single line has a small change (like one word edited), that whole line shows as one removed line and one added line rather than highlighting just the changed word.
Is there a size limit?
Very large inputs (extremely long documents compared against each other) are capped to keep the browser responsive — you'll see a clear message if a comparison is too large, with a suggestion to compare smaller sections.
Does this tool send my text anywhere?
No. The comparison runs entirely locally in your browser. Neither text is uploaded, logged, or stored.
Related tools