Free Online Text Diff Tool
Compare two texts side by side with line-level and word-level highlighting. Runs entirely in your browser.
Key Features
Line-Level Highlighting
Added, removed and changed lines are marked in different colors so differences are clear at a glance.
Word-Level Diff
Changed lines are further compared down to word level to pinpoint every edit.
File Comparison
Drag and drop files to compare, or paste text β flexible and convenient.
Runs Locally
Comparison happens entirely in your browser; your text is never uploaded to a server.
How to Use
Enter Two Texts
Paste or drag the two texts you want to compare into the left and right panes.
Auto Compare
The tool analyzes differences automatically, highlighting added, removed and changed parts in different colors.
Review Differences
Review the differences line by line, and swap the panes with one click to re-compare.
Frequently Asked Questions
Is my text uploaded to a server?
No. Text comparison runs entirely locally in your browser; content is never uploaded to any server, making it safe for documents with sensitive information.
Can I compare files?
Yes. Drag text files directly into the comparison area and the tool reads their content automatically β no manual pasting needed.
Can I ignore whitespace differences?
Yes. The tool can ignore whitespace differences to avoid false positives caused by spaces and line breaks.
How large a text is supported?
Up to 10MB of text, enough for common comparison scenarios like code files and config files.