Compare two versions of documents, contracts, JSON configs, or code privately in your browser using exact LCS line comparison.
Running Myers/LCS dynamic programming inside the browser compares 500–2,000-line contracts and JSON files in under 15 ms with zero network upload—guaranteeing complete GDPR and NDA confidentiality.
What This Calculator Can Do & Ideal Use Cases
Best for: Best for lawyers, developers, and editors comparing sensitive contracts, JSON configs, or code revisions offline without cloud paste bins.
Exact Longest Common Subsequence (LCS) dynamic programming line-by-line diff
Toggles for ignoring whitespace formatting changes and letter casing differences
One-click Document Swap (A ↔ B) plus dual line numbering in unified diff view
Runs strictly client-side in sandbox memory for sensitive legal or proprietary snippets
Normalization Options: Optional whitespace trimming and case folding before diff matrix
When to Use This Calculator vs. Alternatives
Best when using this tool: Choose this tool for exact LCS line-by-line diff comparisons between two sensitive texts, contracts, JSON configs, or source files.