Text Diff Checker
Compare two texts side by side. Highlight additions, deletions, and unchanged lines.
📄 Original Text
📝 Modified Text
How to Use
- Paste your original text on the left
- Paste the modified text on the right
- Click 🔍 Compare to generate the diff
- Green lines show additions, red lines show deletions
- Use ⇆ Swap to reverse original and modified
What Is a Text Diff?
A diff (short for "difference") compares two pieces of text line by line and shows what changed between them. It's a fundamental tool in software development (used by Git, code reviews, and version control systems), but it's also useful for comparing contracts, essays, configuration files, or any two versions of a document. This tool uses a longest-common-subsequence (LCS) algorithm to produce an accurate, line-by-line comparison.