Loading algorithms…
Loading visualizer…
Minimum insertions, deletions, and substitutions to transform one string into another. The classic 2D DP with traceback for the exact edit script.
Compute the Levenshtein distance between "KITTEN" (6) and "SITTING" (7). Row index i = first i characters of "KITTEN", column index j = first j characters of "SITTING".
Edit either word (A–Z, max 8 chars) · Presets load classic examples · Any step is shareable via the URL
Minimum insertions, deletions, and substitutions to transform one string into another. The classic 2D DP with traceback for the exact edit script.