Like Jaro Similarity, but with extra credit when both strings start the same way — great for names and typos.
Jaro-Winkler starts with the plain Jaro similarity score, then gives a boost based on how many characters the two strings share at the very start (up to the first four). The idea is that people are less likely to make typos at the beginning of a word or name than in the middle or end — so "Duane" matching "Dwayne" scores higher than the plain Jaro score would suggest. It's widely used for record linkage and de-duplicating names in databases, where matching on a shared prefix is a strong signal.
Jaro-Winkler similarity starts with the plain Jaro similarity score, then gives a boost based on how many characters two strings share at the very start (up to the first four). The idea: people are less likely to make typos at the beginning of a word or name than in the middle or end, so a shared prefix is a strong signal the strings refer to the same thing.
It's widely used for record linkage and de-duplicating names in databases, where "Duane" and "Dwayne" sharing the same first letter is worth more than the raw character-matching score alone would suggest.
JaroWinkler(s1, s2) = Jaro(s1, s2) + ℓ × p × (1 − Jaro(s1, s2)) where ℓ = length of common prefix (max 4), p = scaling factor (standard default 0.1)
The plain Jaro score is calculated first (see the Jaro Similarity Calculator for that formula). Then, for every character the two strings share at the very start — up to a maximum of 4 — the score is nudged upward, scaled by the prefix factor (0.1 by default).
This means two strings with no shared prefix get exactly the plain Jaro score, while strings sharing a 4-character prefix get the largest possible boost.
Comparing "DWAYNE" and "DUANE":
Jaro-Winkler adds a bonus for strings that start with the same characters, which plain Jaro doesn't do. Two strings with the same Jaro score can get different Jaro-Winkler scores if one pair shares a prefix and the other doesn't.
Up to 4 — a 5th matching character at the start doesn't add any further bonus in the standard formula.
For short strings where typos are more likely toward the end — names, usernames, product codes — Jaro-Winkler tends to rank near-matches more usefully than a plain edit-distance count.
No — the formula is designed so the result never exceeds 1 (100%), which only happens for identical strings.
No — the comparison runs entirely in your browser.