Compare Text String

Spot differences between two texts.

Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.

Compare Text String

How to use this tool

  1. Enter your values in the fields above.
  2. Press Generate to see the result.
  3. Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.

Worked example

Comparing “one, two, three” with “one, two, four” finds 2 shared lines, 1 removed line (three) and 1 added line (four).

What this tool does not do / Limits

This compares whole lines only. It does not highlight changed words inside a line, and line order is ignored when counting shared lines.

Frequently asked questions

Does line order matter?

No. Lines are matched as sets, so reordered lines still count as shared.

Are blank lines compared?

No. Blank lines are ignored in both texts.

Related tools