Text & Lists
Levenshtein Distance Text Processor
Transform text with Levenshtein Distance and the selected rules. Enter the text, set the transformation rules, then copy the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Levenshtein Distance Text Processor measures the minimum single-character edits needed to change one string into another.
3 Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Enter the two strings in the operation comparison fields.
- Keep whitespace when it is part of the values.
- Use the distance to compare similarity, not as a correction proposal.
Example
Input: kitten sitting
Settings: Levenshtein Distance Text Processor: Use the operation's comparison inputs.
Result: 3
Limits
- Levenshtein Distance Text Processor: The metric counts insertions, deletions, and substitutions equally.
- Levenshtein Distance Text Processor: It does not account for language meaning or keyboard proximity.
- Levenshtein Distance Text Processor: The operation runs in the browser and does not need a network service.