How to compare two texts
- Paste the original on the left and the new version on the right.
- The result updates as you type. Removed lines are red, added lines are green, and inside a changed line the exact words that changed are highlighted.
- Turn on Ignore case or Ignore spaces to skip differences you don't care about.
- Tick Hide long unchanged parts to fold away long stretches that didn't change, and click a folded part to open it. ⇄ Swap exchanges the two texts.
A summary above the result counts the added and removed lines, so you can see at a glance how much changed.
How it works
The tool uses the Myers difference algorithm, the same approach behind git diff. It finds the smallest set of added and removed lines that turns one text into the other, then compares the words inside each changed line.
Common uses
- Contracts and terms: see exactly what changed between two versions before you sign.
- Essays and translations: review the edits someone made to your text.
- Code and configuration: compare two versions of a script or settings file without opening a code editor.
- Copied content: spot small changes in product descriptions, lists or quotes.
FAQ
Is my text sent to a server?
No. The comparison runs in your browser, so it's safe for contracts, code and private documents.
Can it compare Word or PDF files?
Copy the text out of the documents and paste it here. Formatting like bold or fonts isn't compared, only the text.
Why does it say the texts are too different?
When almost every line differs, a line-by-line comparison would be a wall of red and green that helps nobody, so the tool tells you instead. Check that you pasted two versions of the same text.