Text Diff

Paste or type two texts below. The diff shows additions in green and removals in red.

Enter both texts and click Compare to see the diff.

How the Text Diff Tool Works

Paste your original (or older) text in the first box and the changed (or new) text in the second. Click Compare to see a line-by-line diff: lines only in the original are shown in red, and lines only in the new version are shown in green. Unchanged lines appear in gray.

Useful for comparing drafts, spotting edits in code, reviewing contract changes, or any two text versions. Everything runs in your browser — nothing is uploaded.

Frequently Asked Questions

Is my text sent to a server?
No. The comparison runs entirely in your browser. Your text never leaves your device.
Can I compare long documents?
Yes. The tool works on texts of any length. Very large texts may take a moment to process.
What is the difference between "Original" and "Changed"?
"Original" is the first or older version; "Changed" is the second or new version. Additions (in green) appear in Changed but not Original; removals (in red) appear in Original but not Changed.