LCS Algorithm
Uses the Longest Common Subsequence (LCS) algorithm — the same approach used by git diff — to accurately identify changed lines.
Ignore Options
Toggle "Ignore whitespace" to treat indentation changes as equal. Toggle "Ignore case" to treat uppercase and lowercase as the same.
Swap & Compare
Use the Swap button to flip the original and modified texts, or Load Sample to see the diff tool in action with example content.