Text Diff

Compare two texts and see differences highlighted line by line

How to Use

Paste the original text on the left and the modified text on the right. Differences are highlighted automatically with additions in green and removals in red.

Features

  • Line-by-line diff comparison
  • Color-coded additions (green) and removals (red)
  • Summary statistics (added, removed, unchanged lines)
  • Handles large text blocks efficiently

Frequently Asked Questions

How does the diff algorithm work?

RawDev uses a Longest Common Subsequence (LCS) based diff algorithm, similar to what Git uses. It finds the optimal set of changes needed to transform one text into another.

Related Tools