Skip to content
ToolBook

Text Diff Checker

Compare two texts and see what was added and removed.

Loading the tool…

Paste an original text and a changed text to see exactly what was added, removed or left alone. Compare by lines, words or single characters. Changes are marked with + and − symbols as well as colour, so they are readable without colour vision. Your text is compared in your browser and is not uploaded.

How to use Text Diff Checker

  1. Paste the original text on the left, or press Sample to see an example.
  2. Paste the changed text on the right.
  3. Choose Lines, Words or Characters. Lines suits code and lists; Words suits prose.
  4. Optionally ignore case, line endings or whitespace differences.
  5. Read the summary and the marked result, then use Copy or Download.

Limits and tips

  • Very different texts can be too complex to compare. The tool then says so; try comparing by lines or in smaller parts.
  • Above 100 KB in total the comparison does not run on every keystroke; press Compare.
  • The tool shows differences. It does not merge texts or decide which version is correct.
  • Ignoring whitespace applies to the Lines mode only.

Private by design: how it works

This tool runs in your browser. The text you type or paste stays on this device and is never sent to a server. You can check it: open your browser network panel while you use the tool.

How we verify privacy ›

Frequently asked questions

What do the + and − marks mean?

A + (or {+ +} in word and character mode) marks text that appears only in the changed version. A − (or [- -]) marks text that appears only in the original. Unmarked text is the same in both.

Which mode should I choose?

Lines compares whole lines and is best for code, lists and configuration. Words is easier to read for sentences. Characters finds small typing changes inside a word, but its output can look busy on long text.

Is my text sent anywhere?

No. The comparison runs in your browser and nothing you paste is uploaded. You can confirm this by watching your browser's network panel while you type.

Why does it say the texts are too different?

The comparison has a limit on how many edits it will search for, so the page stays responsive. Compare by lines first, or split the texts into smaller parts and compare each part.

Can I compare files?

Open the file in a text editor, copy its contents and paste them into the boxes. The tool compares pasted text only, so it works the same for any file type that can be read as text.

Last updated 2026-10-04 · Reviewed by the ToolBook team