Text Diff Checker

This checker makes small text revisions easier to inspect by comparing two versions in the browser and labeling changed lines instead of asking you to scan both documents manually.

Last updated: November 27, 2026  •  Published by: NOFYI Editorial Team  •  Category: Text Tools

Workspace

What this tool does

The Text Diff Checker compares two texts line by line and shows what changed: lines added, lines removed, and lines unchanged, with added lines marked + and removed lines marked −. It uses a real longest-common-subsequence comparison, so matching lines stay matched even when lines are added or removed in the middle.

The comparison runs entirely in your browser — neither text is uploaded.

How to use it

  1. Paste the original text into the Original box.
  2. Paste the changed text into the Changed box.
  3. Click Compare. Read the summary table (lines added, removed, unchanged) and the colour-coded diff below it.

Worked example

Original: apple, banana, cherry (one per line). Changed: apple, blueberry, cherry. The tool reports 1 line added, 1 line removed, 2 lines unchanged. In the diff, banana is marked − (removed) and blueberry is marked + (added); apple and cherry are unchanged.

Limitations

  • The comparison is line by line only: a changed word inside an otherwise identical line shows the whole line as removed and re-added — there is no word-level highlighting.
  • Both texts are compared exactly as typed, including spaces.
  • If the summary shows 0 lines added and 0 lines removed, the two texts are identical line for line.
  • There is no side-by-side view: the diff is a single list with + and − markers.
  • The result is shown on the page only — there is no built-in way to download it as a file.

Frequently asked questions

Does this tool compare two texts?

Yes. Paste the original in the Original box and the changed version in the Changed box, then click Compare.

Does it highlight added or removed text?

Yes. Added lines are marked + and removed lines −, with a summary count of added, removed and unchanged lines.

What does Compare actually do?

It runs a line-by-line comparison and shows a summary table plus the colour-coded diff.

Can I use the result to check whether two drafts differ?

Yes. If the summary shows 0 lines added and 0 lines removed, the two texts are identical line for line.