Text Diff Checker

This text diff checker shows which words changed between two drafts of a document: removed words are struck through in amber, added words are marked in green.

Earlier draft
Later draft
What changed
Stored only in this browser, for this tool. Runs locally in your browser

About the Text Diff Checker

Prose changes in small ways that are hard to see when you read two versions one after the other: a number nudged from 30 to 45, a capital letter dropped, a clause reworded halfway through a sentence. Paste the earlier draft on the left and the later draft on the right and the result pane replays the whole text once, with only the differences marked. The status line reports how many pieces were added and how many removed.

Words is the default comparison, which suits essays, contracts and translated copy, because a single changed figure marks one word instead of the whole paragraph. In this mode punctuation counts as a piece of its own and extra spaces between words are not reported at all. Lines or paragraphs marks a whole line as replaced, which is the right level when every paragraph sits on one line and you only need to know which paragraphs were touched. Characters is for spotting a typo inside a single word. Ignore capital letters treats Supplier and supplier as the same word; Ignore extra spaces trims each line and collapses repeated spaces and tabs before comparing.

Two limits are worth knowing. A paragraph that was moved shows as removed in one place and added in another, because the comparison follows the order of the text. And only plain text is read, so paste from your word processor rather than uploading a file; tracked changes arrive as their final wording. The Download button saves a unified patch, which is always line based, even when you compared by words. For source code, JSON structure or configuration files, the code-oriented Diff Checker is the better starting point, and the Word Counter tells you how much longer or shorter the new draft became.

How to use

  1. Paste the earlier draft into the left box and the later draft into the right box, or edit the two sample drafts.
  2. Leave Compare by on Words for prose, or switch to Lines or paragraphs for a coarser view.
  3. Tick Ignore capital letters or Ignore extra spaces if formatting noise hides the real edits.
  4. Read the marked result: amber struck-through text was removed, green text was added. Download saves the patch.

Common questions

Why does a moved paragraph show as deleted and added?
The comparison walks both texts in order and has no notion of a block being relocated. A paragraph that moved appears once as removed at its old place and once as added at its new place.
Can I compare two Word or PDF files?
Not as files. Copy the text out of each document and paste it into the two boxes. Tracked changes come across as the wording after the edit, not as markup.
Which mode is best for a contract or an essay?
Words. It points at the exact figure or phrase that changed. Switch to Lines or paragraphs when you only want to know which paragraphs were edited.
Does a double space count as a change?
Not in Words mode. In Lines and Characters mode, tick Ignore extra spaces to have repeated spaces and tabs collapsed before the comparison.
Are my documents sent to a server?
No. Both texts are compared in your browser and nothing is uploaded, which matters for contracts and unpublished writing.