Text comparator

Compare two texts and highlight the differences.

🔒 This file is processed in your browser. It is never uploaded anywhere.

What it is for

Comparing two texts shows exactly what changes between them: what was added, what was removed and what stayed the same. Done by eye it is very unreliable, because the brain tends to read what it expects to find and skips over small differences.

And small differences are precisely the ones that matter. A "not" that appears or vanishes, a changed figure, a different date. In a contract revised by the other side, or two versions of a document that have gone back and forth by email, finding that by reading in parallel is slow and unsafe.

The result marks additions in green and deletions struck through in red, the usual convention, letting you see the scale of the changes at a glance.

How it works

  1. Paste the first text in the "Text A" field and the second in "Text B".
  2. Click "Process" to compare both texts word by word.
  3. Check the result: additions in green, deletions struck through in red.

When to use it

Reviewing contracts

When a document comes back with the other party’s changes, comparison finds every edit without relying on them having flagged it.

Versions of a text

Two drafts that have circulated by email are reconciled by seeing exactly where they differ.

Verifying copies

Checking that a transcribed or copied text really matches the original.

Practical tips

  • The comparison is linear, so a paragraph moved elsewhere shows as deleted in one place and added in another.
  • For long documents it helps to compare section by section: the result is easier to review.
  • If the texts come from PDFs, extract them to plain text first so the comparison is not swamped by formatting differences.
  • Changes to spaces and line breaks also count as differences, even if they are not visible.

Frequently asked questions

Does it compare full documents or just short snippets?

It works with any text length, from a sentence to several paragraphs; longer texts simply take a little more time for your browser to process.

Does it detect paragraphs that changed order?

The comparison is linear, character by character, so a paragraph moved elsewhere will show as deleted at its original spot and added at the new one.

Related tools