Text Diff Checker

Compare two texts side by side. Highlight additions, deletions, and unchanged lines.

📄 Original Text
📝 Modified Text

How to Use

  1. Paste your original text on the left
  2. Paste the modified text on the right
  3. Click 🔍 Compare to generate the diff
  4. Green lines show additions, red lines show deletions
  5. 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.