Text Diff

Compare two text blocks line by line and inspect added, removed, and unchanged lines in unified view.

Ready. Paste original and modified text below, then click "Compare Lines".

About the Text Diff Tool

The Text Diff utility computes the Longest Common Subsequence (LCS) of lines between two blocks of text directly in your browser. It highlights added (+), removed (-), and unchanged lines alongside their 1-based original and modified line numbers.