Put two texts side by side and see exactly what changed: added and removed lines are highlighted and the patch exports. Comparison runs in your browser.
Compare two texts or code files side-by-side or inline, highlight additions and deletions, and export unified diff patches directly in your browser.
Free · Local · works offline · ORIGINAL ↔ MODIFIED · PATCH
Frequently asked questions
- Can I compare two Word documents here?
- Paste their text and yes. The comparison is on text, so formatting changes — a bold run, a different font — are not reported, only what the words actually say.
- What does a unified diff patch do?
- It records only the changed lines plus a little surrounding context, in the format `git apply` and `patch` accept. It is how you hand someone a change without sending the whole file.
- Why are two lines marked different when they look identical?
- Nearly always invisible characters: a trailing space, a tab where the other has spaces, or Windows line endings against Unix ones. Turning on whitespace-insensitive comparison confirms it in one click.
- Is my text sent anywhere when I compare it?
- No. The comparison runs in the page itself, which is the reason this is usable on a contract draft or unreleased source — most online diff tools post both sides to a server.