HomeToolsText › Levenshtein Distance Calculator
● Text

Levenshtein Distance Calculator

Calculate the Levenshtein edit distance and similarity between two strings online, in your browser.

About this tool

Measure how different two strings are with the Levenshtein edit distance — the number of single-character insertions, deletions or substitutions to turn one into the other — plus a 0–1 similarity score.

Frequently asked questions

What is edit distance good for?

Fuzzy matching, spell-check suggestions, deduplication and "did you mean" features all rank candidates by edit distance.

How is similarity computed?

1 minus distance divided by the length of the longer string, so identical strings score 1 and totally different ones approach 0.

Related text tools