Jaro Similarity Calculator

Score how alike two strings are, based on matching characters and how out of order they are.

Type something into both boxes above to compare them.

What is Jaro Similarity?

Jaro similarity looks for characters that appear in both strings close to the same position — within a small window based on the strings' length — and counts how many of those matches are "out of order" (transposed) rather than straightforward. More matches, and fewer out-of-order ones, mean a higher score. It was originally designed for matching names and records — census data, customer databases, mailing lists — where small typos or reordered characters shouldn't stop two entries from being recognized as the same person or place.

What is the Jaro Similarity Calculator?

Jaro similarity scores how alike two strings are, from 0 (nothing alike) to 1 (identical). It looks for characters that appear in both strings close to the same position — within a small window based on the strings' length — and counts how many of those matches are "out of order" (transposed) rather than straightforward.

It was originally designed for matching names and records — census data, customer databases, mailing lists — where a small typo or a swapped pair of letters shouldn't stop two entries from being recognized as the same person.

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 similarity score updates instantly as a percentage.
  4. Use "Load example" to see a working pair ("DIXON" vs "DICKSONX") first.

Formula / how it works

Jaro(s1, s2) = (1/3) × (m/|s1| + m/|s2| + (m−t)/m)

where m = number of matching characters, t = number of transpositions

Two characters are considered "matching" if they're the same and within a window of max(|s1|, |s2|)/2 − 1 positions of each other — this is what lets Jaro tolerate letters being slightly out of position, not just exact alignment.

Among the matched characters, any pair that appears in a different relative order between the two strings counts as a "transposition," which lowers the score. The final score averages how complete the matching was on each side with how many matches were in the right order.

Example

Comparing "DIXON" and "DICKSONX":

Matching characters: D, I, X, O, N (5 of 5 in A)
No transpositions
Jaro similarity ≈ 76.7%

Frequently asked questions

What does a Jaro score of 100% mean?

The two strings are identical, character for character.

How is Jaro different from Levenshtein distance?

Levenshtein counts edit operations needed to transform one string into another. Jaro instead scores based on matching characters within a proximity window and penalizes out-of-order matches — it tends to handle short strings like names better than raw edit distance.

Does Jaro consider where in the string characters match?

Only loosely — it only requires matches to be within a limited window of each other, not in the exact same position, which is what lets it tolerate small reorderings.

When should I use Jaro-Winkler instead?

If the strings you're comparing are more likely to share a common prefix (like names), use Jaro-Winkler — it boosts the score when both strings start with the same characters.

Is my input sent anywhere?

No — the comparison runs entirely in your browser.