Text Compare (Diff)
Compare two texts line by line. Added lines are green and removed lines are red.
🔒 Your files and text never leave your device. Everything is processed in your browser.
How to use
- Paste the original text on the left.
- Paste the changed text on the right.
- Read the highlighted differences below.
Finding what changed
Paste the old version on the left and the new version on the right. Removed lines are marked in red and added lines in green, so you can quickly review edits to a contract, an essay, a configuration file or a translation.
Getting a cleaner comparison
Differences in spaces or line breaks count as changes. If two texts look identical but show differences, the cause is often trailing spaces or different line endings; tidy them with the Text Lines tool first.
Frequently asked questions
Is the comparison line by line?
Yes. A line that changed shows as one removed line and one added line.
Is my text uploaded?
No. The comparison runs in your browser.