Text Compare (Diff)
Compare two texts and see exactly what changed, with additions and removals highlighted word by word.
In green, what was added; in struck-through red, what was removed.
How it works
You paste two texts — an original and a modified version — and the tool highlights the differences between them. What was added appears in green; what was removed appears in red, struck through; what stayed the same keeps the normal color.
The comparison is done word by word, so you see the exact change, not just that "the line changed". A summary at the top shows how many stretches were added and how many removed, giving a quick sense of the size of the change.
Everything happens in real time, as you edit either side, and in your own browser — the texts aren't sent to any server. That's useful precisely when the changes are small and hard to spot by eye.
When to use
Comparing versions of a text is a common need for anyone who writes, reviews or codes. When you get a revised document back, seeing exactly what the reviewer changed saves time. When comparing two versions of a contract, a policy or terms, highlighting the differences keeps an important change from slipping by unnoticed.
Developers use it to compare snippets of code, configurations or program output before and after a change. Students and researchers, to check what changed between drafts. Whenever there are "two versions of the same thing" and you need to know what differs, the side-by-side comparison sorts it out quickly.
Practical examples
Reviewing a sentence
Comparing "The quick brown fox jumps over the lazy dog" with "The quick brown fox leaps over the sleepy dog", the tool highlights "jumps" and "lazy" as removed and "leaps" and "sleepy" as added — the difference is obvious without rereading everything.
Two versions of a contract
Pasting the old and new versions of a clause, you see in seconds which words were swapped, added or deleted. It's a safe way not to miss a subtle change of terms.
Common mistakes
A common misunderstanding is expecting the comparison to grasp "intent". It compares the texts literally: if you reordered sentences without changing the words, the diff may mark a lot as removed and re-added, because the position changed. That's expected — the tool shows what differs in the text, not what differs in meaning.
Another point is sensitivity to invisible details, like extra spaces or different line breaks. Two texts that look identical can flag differences because of one extra space. When that gets in the way, it's worth cleaning the spaces before comparing.
There's also the tendency to confuse "different" with "wrong". The comparison only points out what changed, without judging which version is correct. Deciding which to keep is still up to you; the tool just makes the changes visible.
Frequently asked questions
Is the comparison by line or by word?
By word. That lets you see the exact change within a sentence, not just that the whole line changed. Additions appear in green and removals in struck-through red.
Are the texts sent to a server?
No. The comparison happens entirely in your browser. The texts don't travel over the internet, so you can compare confidential content safely.
Why do many differences appear when I only changed the order?
Because the comparison analyzes word positions. Reordering stretches, even without changing the words, changes their position and can be marked as removals and additions. That's the expected behavior.
Is there a size limit on the texts?
There is no fixed limit. Because processing is local, very large texts depend only on your device, and everyday use runs into no restrictions.