Jaro-Winkler Similarity Calculator

Like Jaro Similarity, but with extra credit when both strings start the same way — great for names and typos.

Type something into both boxes above to compare them.

What is Jaro-Winkler Similarity?

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.

What is the Jaro-Winkler Similarity Calculator?

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.

How to use it

  1. Type or paste the first string into "String A."
  2. Type or paste the second string into "String B."
  3. The Jaro-Winkler score updates instantly as a percentage.
  4. Use "Load example" to see a working pair ("DWAYNE" vs "DUANE") first.

Formula / how it works

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.

Example

Comparing "DWAYNE" and "DUANE":

Shared prefix: "D" (1 character)
Plain Jaro similarity: ≈ 82.2%
Jaro-Winkler similarity ≈ 84.0% (boosted for the shared "D" prefix)

Frequently asked questions

How is Jaro-Winkler different from plain Jaro?

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.

How many prefix characters count toward the boost?

Up to 4 — a 5th matching character at the start doesn't add any further bonus in the standard formula.

When is Jaro-Winkler the better choice over Levenshtein?

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.

Can the score exceed 100%?

No — the formula is designed so the result never exceeds 1 (100%), which only happens for identical strings.

Is my input sent anywhere?

No — the comparison runs entirely in your browser.