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).