← All tools

Diff checker

Paste the old and the new text and see only what changed. Unchanged lines are hidden. Your texts never leave this computer.

How to use it

  1. Paste the old text in the left box and the new text in the right box.
  2. The result updates as you type: green lines were added, red lines were removed, and changed words are highlighted too.
  3. If you like, ignore case or whitespace differences. Use Copy diff to take the result with you.

Frequently asked questions

How is the difference found?

The tool compares the two texts line by line and finds the longest sequence of lines that appears in both in the same order. Lines outside that sequence are marked as added or removed. Most version control tools use a similar idea.

How do I see only the differences?

On this page the "Show only differences" option is on: a few lines around each change are visible and the other unchanged lines are hidden. Turn the option off to see everything.

Can I ignore case or whitespace differences?

Yes. With the matching options ticked, lines that differ only by letter case or by leading, trailing or extra spaces are not counted as changed.

Are my texts sent anywhere?

No. The comparison runs in your browser and the texts are neither uploaded nor stored.

Can I compare very large texts?

It works smoothly up to a few thousand differing lines. For much larger texts a warning is shown to protect the browser, and you can split the text into parts.

Related guide

Related tools