Everyday tools

Compare two pieces of text

Paste the original and the changed version, see every difference highlighted. Everything runs in your browser — nothing is uploaded.

1
Paste both versions
2
Differences

added removed

Common questions

Does this compare word by word or character by character?
Word by word — it treats whitespace and punctuation as their own tokens too, so a single changed word shows as just that word, not the whole surrounding sentence.
Can I compare code, not just plain text?
Yes, though this is a general word-level comparison, not a code-aware diff — it won’t understand syntax, just the text itself.
Is there a limit to how much text I can compare?
No hard limit, but very large documents (many thousands of words) will take a moment longer, since the comparison happens in your browser rather than on a server.