tooldura

All tools

Text Diff Checker

Compare two texts and highlight every added, removed and rewritten line

Compare by
View

Paste both versions above. Every added, removed and rewritten line appears here as you type.

About Text Diff Checker

The Text Diff Checker puts two versions of a text next to each other and marks what moved between them: lines removed on the left, lines added on the right, and the exact words that changed inside a line that was rewritten rather than replaced. It runs Myers' shortest-edit-script algorithm, the one behind GNU diff and Git, so the changes it reports are the smallest set that turns one version into the other instead of everything after the first mismatch.

FreeNo paywalls or tiers
No SignupNothing to create
InstantNo setup, no install
Any DeviceMobile, tablet, desktop

The guide behind this tool

How Diff Works: The Algorithm That Decides What Changed

Myers walks a grid one edit at a time, and Git has run it since 1986. Why the shortest diff is not always the clearest, and what makes one look wrong.

8 min read

How to use Text Diff Checker

  1. 1

    Paste the earlier version on the left and the newer one on the right, or drop a file onto either box.

  2. 2

    Pick how closely to look: Line for drafts and code, Word for prose, Character for a single string or ID.

  3. 3

    Switch off the differences you don't care about with "Ignore case" and "Ignore whitespace".

  4. 4

    Step between the changes with the arrows above the result, or switch to Unified to read both versions in one column.

  5. 5

    Copy the whole comparison as a unified patch when you are done.

Frequently Asked Questions

Line mode is right when the text has meaningful line structure: code, config files, CSVs, anything you would review as a diff. Prose usually arrives as a handful of very long lines, so any edit marks a whole paragraph as changed. Word mode ignores line boundaries entirely and marks just the words that moved, which is what you want when comparing two drafts of the same paragraph. Character mode is for short strings, keys and IDs, where a single transposed digit is the thing you are hunting for.