Text Diffing & Comparison Algorithms Guide
1. How Line & Word Diffing Works (LCS)
Our engine applies the Longest Common Subsequence (LCS) algorithm to accurately map matching lines between two documents and highlights inline word changes token-by-token.
2. Common Use Cases
Perfect for comparing source code revisions, legal agreements, editorial drafts, translations, environment config files (.env, YAML, JSON), and tracking patch changes.
Frequently Asked Questions
Q: Is the comparison case-sensitive?
A: Yes, the diff engine checks exact characters, including casing, indentation, and punctuation.
Q: Are my confidential documents private?
A: Yes, all comparison calculations are processed client-side with zero remote storage.