Levenshtein Distance Calculator

Count the fewest single-letter changes needed to turn one word into another. Handy for spell checks and finding near matches.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the Levenshtein Distance Calculator

  1. Type the first word.
  2. Type the second word.
  3. Read the edit distance. A lower number means the words are closer.

Frequently asked questions

What counts as one change?

Adding one letter, removing one letter, or swapping one letter for another each count as one change.

Does capital letter matter?

Yes. A and a are treated as different letters.

Are my words sent anywhere?

No. The calculation runs in your browser.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.