Diff Checker

Compare two texts and see every added, removed and changed line side by side or unified, with word-level highlights. Private and free.

How to compare two texts

  1. Paste the original text on the left and the changed version on the right.
  2. Differences appear instantly: removed lines in red, added lines in green, with the changed words highlighted.
  3. Switch between Split and Unified views, and ignore whitespace when comparing re-indented code.

What you can compare

Frequently asked questions

Is my text uploaded anywhere?

No. The comparison runs entirely in your browser, so you can safely diff configuration files, contracts or code that must stay private.

What is the difference between split and unified view?

Split view shows the original and the changed text side by side, which is easiest to read. Unified view shows a single column where removed lines start with - and added lines with +, like git diff.

What does "ignore whitespace" do?

It ignores spaces and tabs at the start and end of lines, so re-indented code is not reported as changed.

How are changed lines detected?

The checker uses the Myers diff algorithm, the same approach as git, to find the smallest set of line changes. Within a changed line, the words that differ are highlighted.