❓ Frequently Asked Questions
How does the word-level diff work?+
Word-level diff uses the Longest Common Subsequence (LCS) algorithm. It finds the maximum sequence of words that appear in the same order in both texts, then marks everything outside that sequence as added or removed. This produces the minimal set of changes needed to transform one text into the other.
When should I use character-level diff?+
Use character-level when you need to spot exact typos, spelling changes, or precise punctuation differences within words. It is more granular than word-level and can be noisy on larger texts, but is the most precise option.
When should I use line-level diff?+
Line-level diff is best for code, configuration files, and structured documents where each line is a logical unit. It shows entire lines that were added or removed, similar to how tools like git diff work.
Is my text uploaded to any server?+
No. All comparison runs entirely in your browser using JavaScript. Your text never leaves your device and is never stored anywhere. The tool works fully offline once the page is loaded.