Text compare (diff)
Compare two texts line by line and see added and removed linesNo sign-up. What you type never leaves this browser
Text compare (diff)
Result
Enter values to see the result.
FAQ
If one character changes, is the whole line marked?
Yes. The comparison is by line, so the old line shows as removed and the new one as added.
Is the text sent to a server?
No. The comparison runs inside this browser.
About this tool
This tool splits two texts into lines and finds their longest common subsequence (LCS) to mark unchanged, added and removed lines.
- Paste the original on the left and the changed text on the right.
- Ignore whitespace treats lines that differ only in spacing as the same.
- Up to 3,000 lines per text.
What you enter is worked out only in this browser and never sent to a server. Nothing you type is stored; only the lists of recently used and favorite tools stay in this browser.