Text Diff Checker

Compare two blocks of text line by line and see additions and removals highlighted instantly. Free online diff tool, no upload required.

How to use the Text Diff Checker

  1. Paste the original text into the left box and the changed text into the right box.
  2. Click "Compare" to compute the differences.
  3. Lines removed from the original are highlighted in red; added lines are highlighted in green.
  4. A summary shows how many lines were added and removed.

Frequently asked questions

How does the diff comparison work?

The tool compares the two texts line by line and computes the minimal set of added and removed lines, similar to how git diff works for source code.

Is there a limit on text size?

Comparison runs locally in your browser, so very large texts depend on your device, but documents of tens of thousands of lines generally compare in under a second.

Can I compare code as well as plain text?

Yes. Any text works: source code, configuration files, essays, contracts — the comparison is purely line-based and language-agnostic.

Related tools