📄 Original Text
📝 Modified Text
Advertisement
728 × 90 — Leaderboard Ad

How to Use

  1. Paste your original text in the left pane.
  2. Paste the modified text in the right pane.
  3. Click 🔍 Compare Text in the top toolbar to generate the diff below.
  4. Cyan lines (+ sign) show additions, red lines (- sign) show deletions.
  5. Use the ⇆ Swap Inputs button to quickly reverse the original and modified texts.

What Is a Text Diff?

Why compare text line-by-line?
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 highly 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 instantly in your browser.