Compare two texts line by line with a longest-common-subsequence diff, the same approach git uses.
Text Similarity Score
Score how similar two texts are, with both edit-distance and bigram-overlap measures and the raw edit count.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
0 characters
Fill in First text and Second text to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Paste the two texts you want to compare.
- 2
Read both measures: edit-distance similarity is sensitive to length, while the Dice bigram coefficient handles reordering better.
Questions about Text Similarity Score
Why two different scores?
Because they measure different things and disagree usefully. Levenshtein similarity counts the single-character edits needed to turn one string into the other, normalised by length - good for typos and near-identical strings. The Dice coefficient compares the sets of adjacent character pairs, which is more robust when words have been reordered or when the two texts differ a lot in length.
Can this detect paraphrasing or plagiarism?
No, and it is important to be clear about that. These are string-similarity measures: they compare characters, not meaning. Two sentences that say exactly the same thing in different words will score low, and two unrelated sentences with similar wording will score high. There is no semantic model here.
Is my text uploaded anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your text, nothing is written to a server log, and the tool keeps working with your connection switched off. You can confirm it yourself in the browser’s network panel.
Does the Text Similarity Score work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Text Similarity Score keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Text Similarity Score uploaded or stored?
No. The Text Similarity Score runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Related tools
Other tools you might reach for next.
Compare two documents in a side-by-side aligned view with additions, removals and unchanged lines marked.
Find repeated lines or words and report how often each appears and where.
Count words, characters, sentences, paragraphs and UTF-8 size, with all three definitions of "character" reported separately.
Count characters three ways - UTF-16 code units, Unicode code points and visible grapheme clusters - plus the UTF-8 byte size.
Count sentences using Unicode sentence segmentation, which handles abbreviations better than splitting on full stops.
Count paragraphs, treating one or more blank lines as the separator, plus words, sentences and lines.
Estimate silent reading time from the word count, with the research-backed default rate stated and adjustable.