Text Diff Checker
Paste two texts to compare them line by line. View differences in side-by-side or inline mode with color-coded highlighting for added, removed, and unchanged lines.
How to Use This Diff Checker
Paste the original text on the left and the modified text on the right. The tool instantly computes a line-by-line diff using a Longest Common Subsequence (LCS) algorithm. Green lines indicate additions, red lines indicate removals, and unchanged lines are shown normally. Toggle between side-by-side and inline views using the buttons above the diff output.
Frequently Asked Questions
Is my data safe?
Yes. All comparison happens in your browser. No data is sent to any server.
How does the diff algorithm work?
The tool uses a Longest Common Subsequence (LCS) algorithm to find the optimal alignment between the two texts. Lines present in both texts are matched, while unique lines are shown as added or removed.