Skip to tools

YYTOOLS / THE EVERYDAY TOOLBOX

Text Diff

Compare two texts and highlight differences for code and document review.

Processed locally · No upload · No sign-up

0 / 100,000 characters

0 / 100,000 characters

Up to 2,000 lines and 100,000 characters per side; the product of line counts may not exceed 1,000,000. CRLF/LF are normalized. Blank lines and trailing newlines are preserved; replacements count as a deletion and an addition.

Diff result

Added and removed lines will appear here after comparison.

How to use

  1. Paste the original and changed text side by side.
  2. Compare to see added, removed and unchanged lines.
  3. Review addition/deletion counts, then copy the result with + / - markers.

Supports up to 2,000 lines and 100,000 characters per side, with a line-count product of at most 1,000,000. Repeated lines are aligned by their longest common subsequence. A replacement counts as a deletion and an addition. CRLF is normalized to LF; blank lines and trailing newlines are preserved. Empty text has zero lines.

Related tools

Text Diff | YYTools.cc