Counting your words…
WordCountTOOL

Free online Writing Tools tool

Text Compare & Diff Checker

FLAGSHIP WRITING & TEXT INTELLIGENCE SUITE 2.0

See exactly what changed between two drafts, word by word.

Ultra-fast client-side processing guarantees complete privacy with zero server logging.

Live Active Analysis
0Words
0Characters
0Sentences
0Paragraphs
0 min reading
0 min speaking
0 chars no spaces
0 letters
0 unique words
0.0 avg words/sentence
0 syllables
0.0 avg word length
0 lines
0 UTF-8 bytes
Visual Text Compare & Diff Checker
Original Words0
New Words0
Word Difference0
Similarity0%
Added Words

None

Removed Words

None

Type or paste your text above to see live word, character, sentence and paragraph counts.

Text Compare & Diff Checker is a free, real-time online utility. Text compare: compare two texts free side by side or inline — additions, deletions and a similarity percentage, so you can see what changed. Free to use. It executes client-side directly in your browser with zero latency, complete data privacy, and instant results without server data storage.

Text compare: compare two texts free side by side or inline — additions, deletions and a similarity percentage, so you can see what changed. Free to use.

Two versions of the same document, and you need to know exactly what changed. This tool puts them side by side or inline, highlights every addition and deletion, and reports a similarity percentage. It works on paragraphs, code and contracts — anything in plain text — and it runs in your browser, so neither document ever leaves your device.

Similarity scores for different kinds of revision

Identical copy100 % similarityLight edit92 % similarityHeavy edit68 % similarityRewrite41 % similarityDifferent text8 % similarity

Typical similarity scores for different kinds of revision. A light edit — a few words swapped — usually scores above 90%; a genuine rewrite falls below half.

Two sentences, one swapped verb, three added words

Comparing "jumps" with "leaps" in the fox sentence

Version A: "The quick brown fox jumps over the lazy dog." Version B: "The quick brown fox leaps over the lazy dog and runs away." The tool compares them word by word.

  1. Count the words. Version A has 9 words; version B has 12 words.
  2. Matching words: "The quick brown fox" (4 words) and "over the lazy dog" (4 words) are identical — 8 words match.
  3. Changed words: "jumps" became "leaps" (1 changed word), and "and runs away" was added (3 new words).
  4. Similarity: the tool counts each distinct word across both versions. 8 words appear in both; "jumps" appears only in A, and "leaps", "and", "runs", "away" only in B, so the combined distinct count is 13. 8 ÷ 13 = 0.615, about 62%.
  5. Difference: 12 − 9 = 3 more words in version B, and 1 word replaced — 4 word-level changes in total.

Result: The two versions are about 62% similar: 8 of 13 combined word counts match, 1 word was replaced and 3 words were added.

How each kind of change shows up in the comparison

Change typeHow it looksExample
Added textHighlighted in green"and runs away" added
Deleted textStruck through in red"jumps" removed
Changed wordOld struck, new highlighted"jumps" → "leaps"
Moved textShown as delete + addA paragraph moved down
Unchanged textPlain, no highlight"The quick brown fox"
Whitespace changeMarked if enabledExtra space after a full stop

The tool compares word by word by default. Character-level comparison is more precise for short edits but noisier on long documents.

Reading a comparison like a reviewer, not a bystander

A comparison full of highlights is only useful if you read it in the right order. Start with the score, then the big blocks, then the small words.

  1. Read the similarity percentage first. Above 90% means a polish; below 50% means a rewrite, and the highlights will be everywhere.
  2. Look for whole blocks first: added and deleted paragraphs tell you what sections changed, and they matter more than single swapped words.
  3. Then scan the small changes: a swapped verb or a changed number is easy to miss inside a long green block.
  4. Watch for moved text, which shows as a deletion in one place and an addition in another. Read both spots before deciding anything was cut.
  5. Finish by copying the similarity score into your version note, so the next person knows how much changed without opening both files.

Comparing two drafts without losing your place

  1. Paste the original text in the left box and the revised text in the right box.
  2. Choose side-by-side or inline view. Side-by-side is easier for long documents; inline is better for short passages.
  3. Read the similarity percentage first — it tells you at a glance whether this was a light polish or a rewrite.
  4. Scan the highlights: green for additions, red with a strikethrough for deletions. Changed words show both.
  5. Copy the comparison or the similarity score if you need it for a report, a review, or a version note.

Where a word-by-word comparison misleads

  • Similarity is a word-matching score, not a meaning score. Two sentences can say the same thing in different words and score under 50%.
  • Moved text shows up as a deletion plus an addition. The tool does not recognise that a paragraph was simply moved.
  • Very long documents — tens of thousands of words — can be slow, and the highlights become hard to read.
  • The tool compares exact words, so a changed comma or a re-spelled name counts as a change even when the meaning is identical.

Questions about comparing two texts

How is the similarity percentage calculated?

The tool counts the words that appear in both versions, in the same order, and divides by the word count of the longer version. If 8 of 13 words match, the score is 8 ÷ 13 = 62%. A score of 100% means the texts are identical.

What is the difference between side-by-side and inline comparison?

Side-by-side shows the two versions in separate columns with matching lines aligned. Inline shows one merged view: deletions struck through and additions highlighted in place. Inline is quicker for short passages; side-by-side is easier to read on long documents.

Can I compare code with this tool?

Yes. It treats code as plain text, so it will highlight changed lines and changed words. But it does not understand the language, so a renamed variable shows as many small changes rather than one rename.

Does the tool save my documents?

No. The comparison runs in your browser. Neither version is uploaded or stored, and closing the tab discards both.

Why does moved text show as deleted and added?

The comparison works line by line and word by word from the top down. It does not track text that jumps to a different place, so a moved paragraph reads as a deletion in the old spot and an addition in the new one.

What counts as a "change" — a word, a character, or a line?

By default, the tool compares word by word, so "jumps" to "leaps" is one change. A single changed letter inside a word also counts as one changed word. Whitespace changes are ignored unless you turn that option on.

How is the similarity percentage calculated for two 100-word drafts?

The tool counts each distinct word in both drafts: the overlap is the sum of the smaller count per word, and the total is the sum of the larger count per word. Similarity is overlap ÷ total × 100. If two 100-word drafts share 80 words and each has 20 words the other lacks, the overlap is 80 and the total is 120, so similarity is 80 ÷ 120 ≈ 67%.

The diff algorithms behind the comparison

  • GNU diffutils manual — The classic diff algorithm: comparing files line by line to find additions, deletions and changes (accessed November 2026).
  • Myers, "An O(ND) Algorithm and its Variations" (1986) — The algorithm behind most text comparison tools (accessed November 2026).

For the next step, try the Lorem Ipsum Generator, Markdown Editor, Text Cleaner, Grammar Checker or Title Case Converter — each one handles a different part of the same writing job.

Content last reviewed: 1 December 2026.

What to do next

Compare or audit drafts · Improve an essay or article · Format or clean text

Next useful tools

  • Lorem Ipsum Generator — Generate custom placeholder dummy text by paragraphs, sentences, words, or lists with instant HTML markup copy.
  • Markdown Editor — Dual-pane live Markdown editor with instant HTML rendering, word count, syntax highlighting, and export.
  • Text Cleaner — Remove extra whitespace, strip HTML tags, deduplicate lines, eliminate blank lines, and normalize formatting.
  • Grammar Checker — Detect spelling mistakes, grammatical errors, passive voice, weak openers, and punctuation flaws in your browser.
  • Lorem Ipsum Generator — Generate custom placeholder dummy text by paragraphs, sentences, words, or lists with instant HTML markup copy.
  • Markdown Editor — Dual-pane live Markdown editor with instant HTML rendering, word count, syntax highlighting, and export.
  • Text Cleaner — Remove extra whitespace, strip HTML tags, deduplicate lines, eliminate blank lines, and normalize formatting.
  • Grammar Checker — Detect spelling mistakes, grammatical errors, passive voice, weak openers, and punctuation flaws in your browser.
  • Title Case Converter — Convert headlines and titles to AP, APA, Chicago, MLA, NYT styles with emotional score and power word analysis, plus camelCase, PascalCase, snake_case, CONSTANT_CASE, and kebab-case.

Topics: Text Compare & Diff Checker Writing Tools Compare two text drafts side-by-side or inline with visual highlighting of additions, deletions, and similarity percentage.