Toolspot

Text Diff

Compare two texts and highlight added and removed lines. Useful for code review and document comparison.

Text A (Original)

Text B (Modified)

How to Use

Enter text in both the left and right text areas. Added lines (green) and removed lines (red) will be highlighted.

How It Works

Uses the LCS (Longest Common Subsequence) algorithm to detect line-by-line differences. There is a line limit for texts exceeding 5,000 lines.

Related Tools