Paste the original text in the left panel and the modified text in the right panel. The tool computes a line-by-line diff using the Longest Common Subsequence (LCS) algorithm and displays results with line numbers, color coding, and merge output.
Features
LCS Algorithm — Uses the industry-standard Longest Common Subsequence algorithm for accurate diffs.
Line Numbers — Shows line numbers from both documents for precise reference.
Color-Coded Diff — Green for additions, red for removals, neutral for unchanged lines.
Statistics — Counts of added, removed, unchanged, and total lines.
Copy Merged — One-click copy of the merged result (keeps additions, drops removals).
Common Use Cases
Code Review — Compare file versions to see what changed.
Content Editing — Compare article drafts to track changes.
Configuration Comparison — Diff config files across environments.
Merge Conflicts — Understand conflicting changes before manual resolution.
Why Use This Tool
While version control tools show diffs, you often need to compare arbitrary text — Stack Overflow snippets, config samples, or text from different sources. This tool handles that instantly without any setup.