Blog
Text tools

Text similarity comparison online

Paste two texts and get a similarity score based on which words they have in common. Useful for spotting near-duplicate content, comparing two drafts, or checking how much two descriptions overlap in vocabulary.

Result

Similarity —
Words in common —
Words only in A —
Words only in B —

All calculations run locally in your browser: parsing, chart, export. Disconnect the network and the page keeps working.

Facts and limits of this method

Method Jaccard index on word sets: shared words divided by all distinct words across both texts
Tokenization Words are runs of non-whitespace characters, split on spaces, tabs and line breaks
Case handling Both texts are lowercased before comparing, so "Growth" and "growth" count as the same word
Duplicates Each word is counted once per text — repeating a word does not change the score
Word order Ignored entirely — only which words appear matters, not their sequence
Score range 0% for no shared words up to 100% for identical word sets

When it misleads you

How it is calculated

Both texts are lowercased and split into words on any run of whitespace, then each text's word list is turned into a set of unique words — duplicate words inside one text collapse to a single entry.

"Words in common" is the intersection of the two sets: words that appear in both text A and text B, regardless of how many times or where.

"Words only in A" and "words only in B" are the words present in one set but absent from the other; together with the shared words, they make up the union of the two texts' vocabularies.

The similarity percentage is the Jaccard index: the number of shared words divided by the total number of distinct words across both texts, shown as a percentage with one decimal place.

Questions and answers

Why do two texts with the same words in different order score 100%?

Because the method compares word SETS, not sequences — it only checks which words appear, never their order. If word order matters for your use case, this score is not the right tool for that.

Does capitalization affect the score?

No. Both texts are lowercased before comparison, so "Report" and "report" are treated as the same word.

Does repeating a word increase the similarity score?

No. Each word is counted once per text regardless of how many times it appears, so repetition inside one text has no effect on the score.

What counts as 0% and what counts as 100%?

0% means the two texts share no words at all; 100% means both texts contain exactly the same set of unique words, even if the word counts or order differ.

Is either text uploaded anywhere?

No. Everything runs in your browser; neither text is ever sent to a server.

Related tools

All tools