Levenshtein Distance: quick start guide

Everything you need for a first successful run: what to paste in, which option actually matters, and how to read the result.

Input Levenshtein Distance Output Runs 100% in your browser — your data never leaves your device.
Levenshtein Distance — Input → Output. Runs 100% in your browser — your data never leaves your device.

How to use

  1. Open the tool and paste your input into the left pane.
  2. Set only the options your task actually needs — the defaults are correct for most inputs.
  3. Read the result in the right pane; it updates as you type.
  4. Use Copy to take the result, or Download to save it as a file.
How to use · Levenshtein Distance 1 Paste your data intothe input box (or loadthe example). 2 Configure the optionsto match your targetformat or scenario. 3 Copy, download orinspect the output —it updates live as youtype.
How to use — 3

Examples

Compare against "sitting" — the textbook example, three edits apart.

Input

kitten

Output — Results

A: "kitten"  (6 chars)
B: "kitten"  (6 chars)

Levenshtein distance : 0
Similarity        : 100.00%   (1 − distance / max length)
Normalised dist   : 0.0000
Length difference : 0

Meaning: at least 0 single-character edit(s) (insert, delete or substitute)
are needed to turn A into B.

Run

Description

Edit distance and similarity between two strings, with Damerau and Hamming variants.

Levenshtein Distance → · How to use → · Text Tools →

Related tools