Text Diff
Paste two versions of a text below to see exactly what changed, line by line. Everything happens locally in your browser; nothing is sent to a server.
Original
Changed
Differences
How to use the Text Diff tool
- Paste the original text on the left, and the changed version on the right.
- The comparison updates automatically, or click Compare.
- Removed lines are struck through in red; added lines are highlighted in green.
- Use Copy Diff to grab a plain-text version marked with +/- prefixes.
Frequently asked questions
Is this Text Diff tool free to use?
Yes, it is completely free with no sign-up or usage limits.
Is my text uploaded anywhere?
No. Comparison happens locally in your browser using JavaScript — neither text is ever sent to a server.
How does the comparison work?
It compares the two texts line by line and finds the longest common sequence of unchanged lines, marking everything else as added or removed — the same general approach used by most diff tools and version control systems.
Is there a size limit?
Very large inputs (thousands of lines on both sides) are rejected with a message rather than freezing your browser, since the comparison's cost grows with the product of both lengths.