Text Compare — Free Online Diff Tool

Compare two texts and highlight the differences.

Compare by:

Frequently Asked Questions

How does text compare work?
Paste your original and modified text into the two panels, choose comparison mode (lines, words, or characters), and click Compare. Additions are highlighted in green, removals in red.
Can I compare by words instead of lines?
Yes. You can compare by lines, words, or individual characters. Word-level comparison is useful for finding small changes in paragraphs.
Is my text stored or uploaded?
No. All comparison happens locally in your browser. Your text is never sent to any server.
What types of text can I compare?
You can compare any text — code, essays, legal documents, configuration files, or any plain text content.