← All tools/Utilities/Text/Text Diff Checker

Text Diff Checker

Spot exactly what changed between two versions of a text.

Type or paste two versions of a text. The diff updates as you type, in your browser.

Similarity

50% similar

+ added · − removed · ± changed line

How it works

Lines shared by both texts = longest common subsequence
Similarity = 2 × shared lines ÷ (lines in A + lines in B) × 100
Added = lines only in the changed text
Removed = lines only in the original text

Worked example: comparing “Hello world / This is line two” with “Hello there world / This is line two” finds 1 added line, 0 removed lines, 1 changed line and 50% similarity, with the word “there” highlighted as added.

Frequently asked questions

What counts as a changed line?

A line that appears in both texts but with different wording, such as a word added or removed. Lines that vanish entirely count as removed, and brand-new lines count as added.

How is the similarity percentage worked out?

It compares the lines the two texts share with the total lines in both, so identical texts score 100% and texts with nothing in common score 0%.

What do the ignore options do?

Ignore whitespace treats lines that differ only in spaces or tabs as the same, and ignore case treats “Hello” and “hello” as the same line.

Is my text sent anywhere?

No. The comparison runs entirely in your browser, and nothing you paste is uploaded or stored.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.