Text Compare — Find Differences Between Texts
Compare two blocks of text and see what changed. Free online text comparison tool.
Original
Changed
🔒100% Private — Your files never leave your device. All processing runs locally in your browser.
How It Works
Paste your original text on the left and the changed version on the right. Click Compare to see a unified diff with additions (green) and deletions (red) highlighted.
The tool performs a line-by-line comparison using a standard diff algorithm. It identifies the minimum set of changes needed to transform the original text into the modified version, making it easy to review edits in code, documents, or configuration files.
Features
- ✓Side-by-side input panes
- ✓Unified diff output with color coding
- ✓Green highlights for additions, red for deletions
- ✓Line-by-line comparison with line numbers
- ✓Statistics: lines added, removed, and unchanged
- ✓Handles large texts with thousands of lines
Frequently Asked Questions
It performs a line-by-line diff algorithm (similar to Unix diff), showing which lines were added, removed, or unchanged. Changes are highlighted in green (added) and red (removed).