Skip to content

Compare two texts and see the differences

Compare two texts line by line and highlight which lines were added, removed or kept the same.

Processed on your device. Nothing is sent to any server.

Differences

The texts are identical.

Compare two texts line by line and highlight which lines were added, removed or kept the same, like a version-control diff.

Computes the longest common subsequence between both texts to identify the minimal set of added and removed lines between one version and the other.

Use cases

  • Reviewing changes between two versions of a document.
  • Comparing two configurations or data lists.
  • Spotting differences in code snippets pasted as text.

How it works

  1. 1

    Paste both texts

    Type the original text on the left and the new one on the right.

  2. 2

    Review the differences

    Added and removed lines are highlighted automatically.

Frequently asked questions

Does it compare word by word or line by line?
The comparison is by full lines; for text with no line breaks, the whole text is treated as a single line.
Text