Levenshtein Distance API
Calculate edit distance and similarity ratio between two strings.
What is Levenshtein Distance?
Measures single-character edits needed to transform one string into another. Returns distance and similarity percentage.
How to Use
Call GET /api/v1/levenshtein?a=kitten&b=sitting.
Try it live
Test this endpoint in the interactive console
Open Console →
Frequently Asked Questions
Good similarity score?
Above 80% = high similarity, 50-80% = moderate, below 50% = significantly different.