Text Similarity Checker
Score two texts in your browser with Levenshtein, word Jaccard, character Dice and cosine measures. Separate the texts with a --- line.
What this text similarity checker does
Four measures answer four different questions: Levenshtein counts character edits, Jaccard compares vocabulary, Dice compares character pairs, and cosine compares word frequencies. Reporting all four makes it visible when they disagree — two texts can share every word and still differ in order and length.
How to use it
Text Similarity Checker: paste the two texts into the box above, set Separator line (default "---"), and press Run to get the similarity report below.
Worked example
Input:
The quick brown fox jumps over the lazy dog.
---
The quick brown fox leaps over the lazy dog.
Output:
Similarity report
Levenshtein distance: 3 characters
Normalised similarity: 93.2%
Word Jaccard: 77.8%
Character bigram Dice: 91.1%
Word-frequency cosine: 90.9%
Sizes: 44 and 44 characters; 8 and 8 distinct words.
The four measures disagree by design: Levenshtein counts edits, Jaccard compares
vocabulary, Dice compares character pairs, and cosine compares word frequencies.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads two texts and returns similarity report; reloading the page discards both.
Four measures answer four different questions: Levenshtein counts character edits, Jaccard compares vocabulary, Dice compares character pairs, and cosine compares word frequencies. Reporting all four makes it visible when they disagree — two texts can share every word and still differ in order and length.
Score two texts in your browser with Levenshtein, word Jaccard, character Dice and cosine measures. Separate the texts with a --- line.
How to use it
Text Similarity Checker: paste the two texts into the box above, set Separator line (default "---"), and press Run to get the similarity report below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads two texts and returns similarity report; reloading the page discards both.
What to Expect
Best for
- Converting two texts to similarity report when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
The quick brown fox jumps over the lazy dog. --- The quick brown fox leaps over the lazy dog.
Sample output
Similarity report Levenshtein distance: 3 characters Normalised similarity: 93.2% Word Jaccard: 77.8% Character bigram Dice: 91.1% Word-frequency cosine: 90.9% Sizes: 44 and 44 characters; 8 and 8 distinct words. The four measures disagree by design: Levenshtein counts edits, Jaccard compares vocabulary, Dice compares character pairs, and cosine compares word frequencies.
Frequently asked questions
How do I use the text similarity checker?
Text Similarity Checker: paste the two texts into the box above, set Separator line (default "---"), and press Run to get the similarity report below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.