Text Diff (Compare)
Shows the line-by-line differences between two texts as additions and removals — for code, docs or contracts, all in your browser.
🔒 Text is compared only in your browser and never sent to a server.
See exactly what changed
Paste an original (A) and a changed version (B) and the tool marks added lines in green (+) and removed lines in red (−), with a summary count at the top — so you can quickly see what differs after several edits.
Code, docs and contracts
Use it before a code review, to compare document or contract revisions, or to check a translation draft against its edit. An LCS algorithm picks out only the lines that actually changed.
Ignore whitespace and case
Turn on 'ignore surrounding whitespace' and 'ignore case' to skip indentation or capitalization differences and compare only meaningful changes.
Frequently asked questions
How do I compare?
Paste text into Original (A) and Changed (B); additions and removals are highlighted per line with a change count at the top.
Can I ignore whitespace or case?
Yes. The 'ignore surrounding whitespace' and 'ignore case' options exclude formatting-only differences.
How does it find differences?
It uses a longest-common-subsequence (LCS) algorithm to identify exactly which lines changed.
Is my text uploaded?
No. All comparison happens in your browser; nothing is sent or stored.