Text Diff — Compare Two Texts
Compare two texts and see differences highlighted in color. Word, line or character mode. 100% in-browser, no data is ever uploaded.
Mode:
Frequently asked questions
How do I compare two texts online?
Paste the original text in the left box and the modified text in the right box, then click "Compare". Insertions appear in green and deletions in red.
What is the difference between word, line and character modes?
Word mode compares word by word (ideal for general text). Line mode compares line by line (ideal for code). Character mode shows every individual character difference.
Is the text sent to any server?
No. The comparison happens 100% in your browser. No data is sent to any server.
Is there a text size limit?
No hard limit, but very large texts (over 10,000 words) may be slower to compare, especially in character mode.
Can I compare programming code?
Yes! "Lines" mode is ideal for comparing code as it shows exactly which lines were added, removed or kept.
Was this tool helpful?