Levenshtein edit distance, Dice, Jaro-Winkler and LCS side by side, with a 0-100% match score, all in your browser
- Runs locally
- Category Text
- Best for Removing repetitive cleanup work from everyday writing and operations.
Edit-distance based: 1 − distance / longest length.
Rewards a matching prefix — best for names.
Shared character bigrams — ignores word order.
Single-char inserts, deletes and substitutions.
Longest in-order shared run of characters.
What this tool does
A string similarity checker that compares two pieces of text four different ways at once, so you can pick the number that actually fits your problem. It computes the Levenshtein edit distance (the count of single-character inserts, deletes and substitutions to turn one string into the other) and turns it into a normalized 0-100% score. Next to that it shows the Dice coefficient, which measures overlapping character bigrams and is forgiving of word order, the Jaro-Winkler similarity, which rewards matching prefixes and is the go-to metric for names and short labels, and the longest common subsequence length. Two toggles let you decide whether case and whitespace count, and every result comes with a one-line explanation plus a worked example so you are never staring at a bare number. Everything runs as plain JavaScript in your tab, handles Unicode by code point so emoji and CJK characters count correctly, and the share link reproduces both inputs and your exact settings. No upload, no account, no rate limit.
Tool details
- Input
- Text
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Text · Developer
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How String Similarity Checker fits into your work
Use it to clean, compare, reshape, or extract plain text before it goes into a document, CMS, spreadsheet, or prompt.
Text jobs
- Removing repetitive cleanup work from everyday writing and operations.
- Making text easier to compare, paste, publish, or feed into another tool.
- Working with content locally when the text is private or unfinished.
Text checks
- Scan for unintended whitespace, duplicate lines, and lost punctuation.
- For long text, test the first few lines before applying the whole change.
- Copy the final output only after checking the preview.
Good next steps
These links move the current task into a more complete workflow.
- 1 Text Sorter Sort lines alphabetically, naturally (file2 < file10), numerically, by length — locale-aware — browser-only Open
- 2 Regex Tester Test JavaScript regex live — match highlighting, group capture, replace preview, flag toggles — browser-only Open
- 3 Text Diff Compare two blocks of text — line-by-line additions, deletions, equal — colour highlighted, browser-only Open
Real-world use cases
Catch typo duplicates in an email signup list
You merged two newsletter exports and worry that gmail.com and gmial.com entries are the same person. Compare the two strings, read the Levenshtein distance of 2 and the high percentage, and flag the pair for a human to merge instead of mailing both.
Decide if a Jaro-Winkler name match is strong enough
Matching MARTHA against MARHTA returns about 0.96 because only two letters swapped and the prefix holds. Run your candidate name pairs, turn case sensitivity off, and set a threshold like 0.9 so confident matches auto-merge while weaker ones go to manual review.
Common pitfalls
Comparing the raw edit distance instead of the percentage. A distance of 4 is huge for two short words but trivial for two long paragraphs, so always read the normalized percentage score.
Using Levenshtein on word lists that were reordered. Swapping word order tanks the position-aware score even when the content is identical; reach for Dice when order should not matter.
Forgetting to turn off case or whitespace sensitivity for names. With them on, Apple and apple or a stray trailing space register as real differences and lower the score.
Privacy
Both input strings and all four metrics run as plain JavaScript inside your browser tab; nothing is uploaded and nothing about what you compared is logged. The only exception: the share link writes both strings and your toggle settings into the URL, so for confidential names or proprietary text, copy the results rather than sharing the link.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- 555 Timer Calculator Astable f = 1.44/((R1+2R2)C) + monostable t = 1.1RC — pick R1, R2, C in Ω/kΩ and µF/nF, read frequency, duty cycle and pulse width — browser-only
- AES Text Encryptor Encrypt & decrypt text with a password — AES-256-GCM + PBKDF2 via WebCrypto — 100% in your browser, nothing uploaded
- Affine Cipher Encoder & Decoder Encrypt and decrypt the ax+b affine cipher with live modular-inverse check, browser-only
- Age Difference Calculator The exact gap between two birthdays — years/months/days, percentage, and the date one person is twice the other's age — browser-only