Text Diff and Compare
Compare two texts line by line with a real diff algorithm: added, removed and changed lines plus word-level detail — all in your browser.
Text Diff
Compare two texts line by line — additions, removals and word-level changes, computed in your browser.
How to use
The whole flow runs in your browser — nothing is uploaded.
- Paste both textsOriginal on one side, the changed version on the other.
- ComparePress Compare texts — a line diff is computed in your browser.
- ReviewGreen lines were added, red lines were removed, and changed lines show word-level edits.
- ExportCopy the unified diff or download it as a .txt file.
- Every step runs locally in your browser.
Key Features
Compare two texts and see every addition and removal. Everything runs client-side on your own device.
- Proper diff algorithmA longest-common-subsequence line diff — not a naive string comparison.
- Word-level detailChanged lines additionally highlight the words that moved.
- Change summaryAdded, removed and unchanged line counts at a glance.
- Private comparisonBoth texts stay in your browser.
Frequently asked questions
The two texts are split into lines and aligned with an LCS diff, which is the same family of algorithm used by version-control tools.
Yes — paste the two versions and the line-based diff works the same way. Whitespace differences are shown, not hidden.
Very large files (tens of thousands of lines) are still supported, but the diff takes longer to compute because it runs on your device.