Levenshtein Distance Calculator Online

Calculate edit distance and string similarity between two texts. Free online tool — private, browser-based, no upload required.

Levenshtein distance counts the minimum number of single-character edits — insertions, deletions, or substitutions — needed to transform one string into another. It powers spell checkers, fuzzy search, deduplication, and plagiarism detection.

Example: kitten → sitting

The edit distance between "kitten" and "sitting" is 3: substitute k→s, substitute e→i, append g. A similarity percentage of ~57% reflects how close the two strings are relative to their length.

When to use edit distance

  • Matching user input against a list despite typos
  • Comparing product names or addresses for duplicates
  • Evaluating OCR or transcription accuracy
  • Building "did you mean?" search suggestions
Calculate edit distance