About this tool
Measure how different two strings are using the Levenshtein edit distance and a similarity score. The calculation runs in your browser.
Both texts are split into whole code points before comparing, so an emoji counts as one character. The comparison is case-sensitive, and spaces, punctuation and line breaks all count, so Kitten and kitten have a distance of 1. The page starts with kitten and sitting, which have a distance of 3.
Three values are shown: the distance, the similarity with one decimal, and the length of the longer text. Two empty inputs count as 100 percent similar. Only insertions, deletions and substitutions are counted, so swapping two neighbouring letters costs 2, not 1. The work grows with the product of the two lengths, so very long texts are slower.