Text diff
Paste two versions of any text — code, documents, drafts — and instantly see what changed. Compare line by line, word by word or character by character, and download the result as a .patch file.
No uploads · Everything runs in this browser
Differences
FAQ
Is my text sent anywhere?
No. The comparison runs inside this browser, so contracts, code and drafts stay on your device.
Which mode should I use?
Lines suits code and lists. Words suits prose. Characters shows the smallest changes, such as typos or punctuation.
Can I download the diff as a patch file?
Yes. Click "Download .patch" to get a unified diff in standard patch format, which works with git apply and most patch tools.
Is there a text size limit?
There is no hard limit. Very long texts or texts with many differences may be slow in word or character mode. For large files, line mode is the fastest.
Can I ignore case or whitespace differences?
Yes. Toggle "Ignore whitespace" to treat all whitespace runs as equal, and "Ignore case" to treat uppercase and lowercase as the same.