Text Diff Checker

Text Diff Checker

How it works

This tool compares two blocks of text using a Longest Common Subsequence (LCS) algorithm to compute a line-by-line diff. Added lines are shown in green, removed lines in red, and unchanged lines are displayed normally with both original and modified line numbers. The comparison runs automatically with a short debounce as you type, or you can click Compare to trigger it immediately. All processing happens entirely in your browser.