Category 10 — String Search & Similarity

Soundex / Metaphone Encoder

Phonetic encoding for fuzzy name matching — Soundex, Metaphone, and Double Metaphone.

How to use this tool

  1. Type a word or name into the Word or Name box — the four encodings appear instantly in the Encodings panel below.
  2. Tap the Smith, Robert, or Catherine buttons to load a sample name and see how each algorithm handles it.
  3. Click Copy on any encoding card to copy that single code to your clipboard.
  4. Switch to the Batch Mode tab and paste one word per line to encode a whole list at once in a table.
  5. In batch mode, click Copy CSV to copy every result as comma-separated values.

Why this tool is helpful

Match names that sound alike

Smith and Smythe both encode to S530, so you can find records even when the spelling differs.

Dedupe CRM & customer data

Group contacts with slightly different name spellings before a merge, instead of relying on exact string equality.

Research genealogy & census records

Historical records often spell surnames inconsistently. Soundex-style keys were designed for exactly this kind of fuzzy lookup.

Build search & autocomplete

Precompute phonetic keys and query by key to suggest names that sound similar even when users misspell them.

Compare the algorithms side-by-side

See Soundex, Metaphone, and Double Metaphone output for the same input, so you know which key fits your matching use case.

Stay private

Everything runs in your browser. Names and keys never leave your machine — safe for internal or customer data.

FAQ

What is Soundex?

Soundex is a phonetic algorithm from the early 1900s. It keeps the first letter and maps the remaining consonants to digits — BFPV=1, CGJKQSXZ=2, DT=3, L=4, MN=5, R=6 — then pads to four characters. Vowels and H/W/Y are dropped.

What is Metaphone? And Double Metaphone?

Metaphone (1990) is a more sophisticated successor to Soundex that reduces a word to a 1–6 character phonetic key. Double Metaphone produces a primary and an alternate key to account for variant pronunciations. Both target English names.

Why do Smith and Smythe share a code?

Because th and y are ignored in Soundex, leaving the same consonant pattern — both encode to S530. That's the whole point: these keys group spellings that sound similar.

Why don't Catherine and Kathryn match?

Soundex always keeps the original first letter, so Catherine becomes C365 while Kathryn becomes K365. Despite sounding alike, they differ at the first letter and won't group together under Soundex.

What does "0" mean in a Metaphone key?

Metaphone uses 0 (zero) to represent the "TH" sound, as in Thomas0MS. It's a phonetic marker, not a numeric value.

Are these codes reversible?

No. Phonetic keys are lossy one-way reductions — many different words map to the same code, so you can't recover the original name from a key. They're meant for matching, not storage.

Does any of my data leave my browser?

Never. All encoding runs locally in JavaScript. Your names are not sent to, stored on, or logged by any server.