Start a project

Tool 364 of 425 · Text compare

String Similarity Calculator

Measures how different two strings are and lists the edits between them.

String Similarity Calculator

Your input

Result

MeasureValue
Edit script

01

What it does

Measures how different two strings are and lists the edits between them.

  • Levenshtein and Damerau (adjacent swaps) distance
  • Hamming distance for equal lengths
  • Jaro-Winkler similarity
  • Step-by-step edit script

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

Distances, similarity and an edit list, with a Copy and a Download button on every result.

  • Levenshtein
  • Fuzzy matching
  • Jaro-Winkler

Why it matters

Fuzzy matching powers typo-tolerant search, duplicate detection and redirect suggestions, but picking a threshold needs real numbers.

Try your own pairs to see which measure suits product names, slugs or postcodes.

How to use it

  1. Type or paste your input; the example shows the format.
  2. Press Compare. Results also update as you type.
  3. Read the summary line, then the table, notes or output below it.
  4. Copy or download what you need. Nothing leaves this page.

FAQ

What's the difference between Levenshtein and Damerau?

Damerau also counts swapping two neighbouring characters as one edit, so 'teh' to 'the' is 1, not 2.

When is Jaro-Winkler better?

For short strings like names, because it rewards a shared prefix.

Is my input uploaded?

No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

Can I rely on the result?

It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk