ITEngineeringTools

Text Difference Checker

Compare two text documents by line and identify additions and removals.

Input

Result

How it works

A longest common subsequence identifies lines shared in order. A minus marks removal, a plus marks insertion, and a space marks an unchanged line. Comparison is case-sensitive.

Example

Original text: alpha
beta
Revised text: alpha
gamma

The common line stays unchanged and the second line is replaced.