HandyBench

Diff Checker

Compare two texts line by line.

How to use the Diff Checker

  1. 1 Paste the original text on the left and the changed text on the right.
  2. 2 Toggle "ignore case" or "ignore whitespace" if needed.
  3. 3 Read the highlighted additions, deletions and unchanged lines.

Examples

  • Spotting what changed between two versions of a config file.
  • Comparing two drafts of an article.

Frequently asked questions

Is my text sent to a server?

No. The comparison runs entirely in your browser, so code and documents you paste stay on your device.

How does the line diff work?

It uses a longest-common-subsequence algorithm to find the smallest set of line additions and deletions that turn the original into the changed text.