Text

Text Diff Checker

Compare two blocks of text and see exactly what changed — added and removed lines highlighted — right in your browser, with nothing uploaded.

Paste two versions of a text and instantly see what was added and removed, line by line. Runs locally — safe for anything confidential.

What a diff shows you

A diff (short for “difference”) compares two texts and highlights only what changed, so you don’t have to hunt line by line. It’s the everyday tool behind code review, document revisions, and “what’s different between these two files?”

Original alpha beta gamma Changed alpha delta gamma → Diff alpha − beta + delta gamma

Where a diff helps

  • Proofreading & editing — spot every change between two drafts of a document.
  • Config & data files — see what differs between two versions of a .env, a CSV, or a list.
  • Code review — the bread and butter of pull requests.
  • Catching sneaky edits — a changed number in a contract, a swapped line in a list.

How the comparison works

Rather than naively marking everything after the first difference, this tool uses a longest-common-subsequence match — the same approach as git diff. It finds the largest set of lines the two texts share, then shows the rest as precise additions and removals. That’s why moving or inserting a single line doesn’t light up the whole document.

How to use this tool

Paste the original on the left, the changed version on the right, and click Compare. Removed lines appear in red, added lines in green, and a summary tallies the totals. To normalise casing before comparing (so capitalisation differences don’t show as changes), run both through the case converter first.

Frequently asked questions

How does the comparison work?

It compares the two texts line by line using a longest-common-subsequence algorithm — the same idea behind git diffs — so it finds the smallest set of additions and removals rather than just flagging every line after the first change.

Is my text uploaded to a server?

No. The comparison runs entirely in your browser, so even confidential documents or contracts stay on your device.

Does it compare word by word or line by line?

Line by line, which is the most useful view for documents, code, config files and lists. Each changed line is shown as removed (from the original) or added (in the new version).

What do the colors mean?

Green lines with a "+" were added in the changed text; red lines with a "−" were removed from the original; unmarked lines are unchanged.