Levenshtein distance — compare two strings (optional matrix)

Paste two strings and get the Levenshtein edit distance with UTF-16 code units. Optionally show the full DP table when both strings are short enough; long inputs still get the distance with a memory-efficient algorithm — all local.

Frequently asked questions

No. Distance and optional matrix are computed only in this tab. Nothing is sent to LocalTools servers for processing.

Building and rendering an (m+1)×(n+1) table grows quickly and can freeze the page; the tool still reports the numeric distance for much longer inputs using a memory-efficient algorithm.

See the complete tool directory