Text Compare
Compare two texts and highlight every addition and deletion by line, word or character. Side-by-side diff checker, free and private.
The quick brown fox jumps over the lazy dog. Payment is due within 30 days of the invoice date. Contact us at support@example.com.
The quick brown fox leaps over the lazy dog. Payment is due within 14 days of the invoice date. Late payments incur a 2% fee. Contact us at support@example.com.
About the Text Compare
Spot every change between two versions of a document, contract, essay or piece of code. Paste the original and the changed text to see additions in green and deletions in red, compared by line, word or character.
How to use it
- Paste the original text on the left and the changed text on the right.
- Choose to compare by line, word or character, and whether to ignore case or whitespace.
- Review the highlighted differences and the change counts.
How differences are found
The comparison finds the longest sequence of text the two versions share, then marks everything else as added (green) or removed (red, struck through). Line mode compares whole lines, word mode compares individual words, and character mode finds single-letter changes such as typos and changed digits.
Choosing the right mode
Use word mode for contracts, essays and articles, where you care which words changed. Use line mode for code, configuration files, lists and CSV data. Use character mode for short strings like reference numbers, names and addresses. ‘Ignore case’ and ‘Ignore extra whitespace’ hide changes that don't matter, such as reformatting.
Practical uses
Check what a landlord, client or employer changed in a revised agreement, compare two drafts of an assignment, review edits to a web page or spot the difference between two configuration files. The text stays in your browser, so it is safe for confidential documents.
Frequently asked questions
Which comparison mode should I use?
Line mode is best for code and lists, word mode for prose and contracts, and character mode for spotting typos in short text.
Is my text sent anywhere?
No. The comparison runs entirely in your browser.
Can I compare Word or PDF documents?
Copy the text out of each document and paste it in. Formatting is ignored; only the text is compared.