Tool · Text & data
Compare two blocks of text
Paste the original and the changed version to see exactly what was added, removed and left alone, down to the word. Nothing you paste leaves this page.
- Your text goes to
- Works offline
- Yes, once it has loaded
- Account
- None, and it is free
- Handles
- Plain text, pasted or dropped as files
How to compare two blocks of text
-
01Paste both versions
The original on the left, the changed one on the right, or drop a file onto either side.
-
02Read the difference
Added and removed lines are marked, and so are the words that changed inside a line.
-
03Copy it as a unified diff
The standard format git and patch understand.
Questions about Diff Checker
How do I compare two texts?
Paste the original on the left and the changed version on the right. Added lines, removed lines and the words that changed within a line are highlighted as you type.
Can it ignore whitespace and case?
Yes. Ignore case, leading and trailing spaces, and blank lines are each a tick box.
Can I get a patch I can apply?
Yes. Copy as unified diff gives the standard format that git and patch read.
Is it safe for confidential documents?
No. This page is served with a security policy that forbids it from making any network request, so the browser itself refuses to send your text anywhere. You can watch your browser's network tab stay empty, or switch your connection off and carry on.