Text Diff Checker
Compare two texts side by side and see every addition and deletion.
Runs in your browser. Nothing you open or type here is uploaded.
How to use
- Paste the first version into the Original box.
- Paste the second version into the Changed box.
- Read the comparison: added lines are marked green, removed lines red, with a count of each at the top.
Details
The tool compares two texts line by line using a longest-common-subsequence algorithm. Lines that exist only in the second text are shown as additions, lines that exist only in the first as deletions, and unchanged lines pass through unmarked. It suits contract revisions, edited drafts, configuration files and any text where what changed matters more than reading the whole document again.
- The comparison is line-based: one changed word marks the whole line, so it reads best on text with one idea per line.
- The comparison runs in your browser, so drafts and documents you would not paste into a server-side tool can be compared here.
Common questions
Is my text uploaded?
No. The comparison runs entirely in your browser, so it is safe to use with sensitive documents.
How does the diff work?
It compares line by line using a longest-common-subsequence algorithm, then highlights added lines in green and removed lines in red.