Compare two pieces of text with three classic algorithms: Levenshtein Distance, Jaro Similarity, and Jaro-Winkler Similarity.
All three algorithms measure how alike two pieces of text are, which is useful for things an exact match can't handle: catching typos in names, matching "Catherine" with "Katherine", deduplicating messy spreadsheet data, or suggesting the closest valid word to a misspelling. Levenshtein counts the actual edits required, while Jaro and Jaro-Winkler give a similarity score that's often better suited to short strings like names, since Jaro-Winkler in particular favors matches at the start of a word.
This tool runs three classic string-comparison algorithms on the same pair of strings at once: Levenshtein distance (edit operations), Jaro similarity (proximity-based matching), and Jaro-Winkler similarity (Jaro plus a shared-prefix bonus). Each measures "how similar" in a slightly different way, so seeing all three side by side gives a fuller picture than any one alone.
This is useful when you're not sure which algorithm fits your case best — deduplicating a customer list, matching user input to a known set of names, or just exploring how the algorithms differ.
Levenshtein distance counts the minimum number of single-character insertions, deletions, or substitutions to turn one string into the other — a raw edit count, not a percentage, though this tool also shows a length-adjusted similarity percentage for it.
Jaro similarity scores based on characters that match within a small proximity window, penalized for being out of order — it tends to handle short strings and swapped-letter typos well.
Jaro-Winkler takes the Jaro score and boosts it when both strings share the same first few characters, which is especially useful for names and identifiers where typos are rarer at the start of the string.
Comparing "MARTHA" and "MARHTA" (a classic transposition example):
For general typo-tolerant matching of short strings like names, Jaro-Winkler is a common default. For a precise count of how many edits separate two strings (useful for spell-checking or diffing), Levenshtein is more direct.
Each measures similarity differently — Levenshtein counts raw edits, while Jaro and Jaro-Winkler score based on proximity matching and (for Jaro-Winkler) shared prefixes. Two strings can be "close" by one measure and "far" by another.
Yes — these are exactly the kinds of algorithms used to rank "did you mean" suggestions and fuzzy search results, though a production system usually combines them with additional ranking signals.
Yes, all three algorithms here are case-sensitive — "Cat" and "cat" are not treated as identical.
No — every calculation runs entirely in your browser.