Skip to content
Developer

Diff Checker

Paste your original and changed text — see line-level differences with word-level highlights inside changed lines. Toggle ignore-whitespace and ignore-case, switch between side-by-side and unified views, copy the diff or download a .patch file.

2 unchanged+2 added2 removed
Hello worldHello brave new world
The quick brown foxThe quick brown fox
jumps over the lazy dogleaps over the lazy dog
GoodbyeGoodbye

Your texts are compared entirely in your browser. Nothing is uploaded.

How to use this diff checker

  1. Paste your original text on the left and the changed text on the right.
  2. Toggle 'Ignore whitespace' or 'Ignore case' if needed.
  3. Switch between side-by-side and unified views — changed words are highlighted within changed lines.
  4. Copy the diff or download as a .patch file for use with git apply.

Frequently asked questions

How is the diff computed?

Using the Myers diff algorithm — the same family of algorithms used by git diff and most code editors. It finds the shortest edit script between the two texts.

What is word-level diff?

When two lines are paired (one removed and one added), the tool runs a second diff at the word level so you see exactly which words changed inside the line — not just that the line is different.

Can I export the diff?

Yes. Copy the unified diff to clipboard, or download as a .patch file you can apply with git apply.

Are my texts uploaded?

No. The comparison runs entirely in your browser.