Diff Checker

Paste two blocks of text and instantly see which lines were added, removed, or unchanged — color-coded for clarity.

Paste text in both boxes, then click Compare.

Copied!

Summary

Paste two blocks of text and instantly see which lines were added, removed, or unchanged — color-coded for clarity.

How it works

  1. Paste the original text into the left box and the modified text into the right box.
  2. Click Compare. A Longest Common Subsequence (LCS) algorithm — the same family Unix diff and Git use — finds the minimal edit path between the two sides.
  3. Each line is classified as added, removed, or unchanged, then color-coded with a + or - prefix.
  4. Read the green (added) and red (removed) lines, check the change counts, and copy the result as plain text.

Use cases

  • Compare two versions of a configuration file before deploying.
  • Review code patch changes before applying them.
  • Check what changed between two drafts of a document or essay.
  • Spot unwanted modifications in log files or data exports.
  • Validate that a copy-paste preserved all expected lines.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu