About Diff Checker
Spotting what changed between two versions of a contract, a config file or a block of code by eye is slow and easy to get wrong. Paste the original on the left and the new version on the right, and every difference is highlighted as you type.
Changed lines are lined up next to each other, and the exact words or characters that differ are marked inside them. Both texts stay in your browser; nothing is uploaded.
How to use it
- Paste the older text into Original and the newer text into Changed, or use Swap to flip them.
- Choose Compare by Lines, Words or Characters, and turn on Ignore whitespace or Ignore case if those differences don’t matter.
- Read the result Side by side or as a Unified list; long runs of unchanged lines are folded and can be opened with one click.
- Use Copy diff or .diff to take the changes away as a standard patch file.
Frequently asked questions
What is the difference between comparing by lines, words and characters?
Lines mode marks whole lines as changed. Words and Characters modes still line up the changed lines, but also highlight the exact words or characters that differ inside each one, which helps with small edits in long lines.
Can I use the copied diff with git or patch?
Yes. Copy diff and the .diff download produce a standard unified diff with original.txt and changed.txt as file names. It always compares whole lines, and Ignore case does not apply to it.
Does it work with large files?
It handles texts of several thousand lines. If two large texts are almost completely different, it stops searching for matches after a moment and shows the whole text as replaced so the page stays responsive.