WebTools

Compare texts

Line-by-line differences, with the matching blocks folded away.

Compare two texts and see, line by line, what was added and what was taken away. Long runs of identical lines are folded so you only see what changed and the context around it.

The comparison uses the longest common subsequence, the same criterion as the diff you already know, so the results look like what your version control shows.

How to use it

  1. Paste the original on the left.
  2. Paste the new one on the right.
  3. Adjust the context lines if you want more or less.

Frequently asked questions

Is anything uploaded?
No. The comparison happens in the tab, which makes it fit for contracts, logs and any text you should not be pasting into an online service.
Why does it say there are too many lines?
The algorithm needs a table proportional to the product of the two lengths. Past a few million cells it stops on purpose rather than hang the tab.
Does it find changes within a line?
Not yet: a modified line shows as one line removed and one added.

Related tools