Levenshtein distance

Client

Measure edit distance between two strings—for line-by-line changes try text diff.

About Levenshtein distance

Compare two strings for edit distance and similarity score—local Levenshtein calculator. The interactive transform on this page runs in your browser tab—Toolcore does not need your paste for the core operation described above.

How to use this page

Paste or type in the main workspace, run the primary action from the toolbar, then copy or download the result. Use Load example when the page offers it, or URL prefill (?q= / ?qb=) so agents and tickets open the same input.

Edit distance
3
Similarity (0–1)
0.571

Nearby workflows on Toolcore

  • Plain text diffCompare two text drafts side by side—unified view, sample pre-filled, client-side. for the next text or markup step in your edit loop.
  • String case convertercamelCase, snake_case, kebab-case, PascalCase, CONST_CASE from one paste—client-side. for the next text or markup step in your edit loop.
  • Word & character countWords, characters, lines, and reading time—paste any text, all client-side. for the next text or markup step in your edit loop.
  • Remove accentsStrip diacritics with Unicode NFD—ASCII-friendly slugs and legacy normalization in the browser. for the next text or markup step in your edit loop.

Common use cases

  • Score fuzzy matches for deduplication or typo tolerance rules.
  • Explain how far two labels or slugs diverge before merging records.
  • Quick sanity check when tuning search or autocomplete thresholds.

Common mistakes to avoid

  • Using edit distance for long documents

    This compares whole strings—use line diff for multi-line prose or logs.

  • Expecting phonetic matching

    Levenshtein is literal character edits, not sound-alike scoring.

FAQ

How is this different from text diff?

Diff shows line-level changes; Levenshtein returns a single numeric distance.

Is similarity a percentage?

It is 1 minus normalized distance (0–1 scale), not a statistical confidence score.

Common search terms

Phrases people search for that match this tool. See the full long-tail keyword index.

  • levenshtein distance calculator online
  • string edit distance compare two texts
  • fuzzy match score levenshtein browser
  • how similar are two strings tool

Related utilities you can open in another tab—mostly client-side.