Diff Checker
Compare two texts and highlight the differences line by line.
1 Changed1 Added0 Removed
Original
Modified
How diff algorithms work
A diff algorithm finds the minimal set of changes to transform one text into another. The Myers algorithm (1986) is the basis for Git's change detection.
- Yellow = modified line
- Green = added line
- Red = removed line
- White = unchanged
Formula / How it works
Compares two texts line by line. π’ Green = added lines π΄ Red = removed lines π‘ Yellow = changed lines White = unchanged