Text Diff

Compare two text blocks line by line and highlight added, removed, and unchanged lines.

Tools run in your browser. Shared links may include your input; check the URL before sharing.

How to use

  1. Paste the original on the left and the revision on the right.
  2. Inspect added and removed lines.

This example illustrates one supported operation. Choose the matching mode and settings above; generated values and formatting may vary.

Example input or settings

A:
one
two
B:
one
three

Example result

 one
-two
+three

Why do unchanged words show a difference?

Check spaces, indentation, line endings and blank lines.