All tools
≠

Text Diff

Compare two blocks of text and see every line that was added, removed or left unchanged.

Text tools
original.txt
0 lines · 0 chars
changed.txt
0 lines · 0 chars
Overview

About this tool

Paste two versions of a text — an original and a changed copy — and see exactly which lines were added, removed, or left unchanged, without installing a diff tool or committing anything to version control just to compare two drafts.

01

Line-level, not character-level

Comparison happens per line, the same way `git diff` or `diff` work by default: if even one character in a line changes, that whole line is shown as removed from the original and added in the changed version, rather than highlighting the specific word or character that differs.

02

Reading the output

Unchanged lines are shown as-is for context, removed lines are marked so you can see what disappeared, and added lines are marked so you can see what's new — the same convention used by most diff and patch tools, so the output should feel familiar if you've read a git diff before.

Frequently asked questions

Does it compare word-by-word instead of line-by-line?

No — comparison is line-based. Two lines that differ by a single word will both show as fully changed rather than highlighting just that word.

Is the comparison case- and whitespace-sensitive?

Yes — lines are compared exactly as written, so a trailing space or a capitalization change is enough to mark a line as different.