AZ Tools

Soundex Phonetic Code Generator

Text

Soundex is a phonetic algorithm that indexes names by sound as pronounced in English, so that spelling variants like Robert and Rupert share the same code (R163). Each code keeps the first letter and adds three digits derived from the consonants, following the U.S. National Archives (NARA) rules: consonants are grouped into six numbered classes, doubled and adjacent same-class letters are merged, the letters H and W are transparent (letters on either side still merge), and vowels reset the run so equal codes are coded twice. Enter one name per line and get every code at once. Everything runs locally in your browser.

Soundex codes
InputSoundex
RobertR163
RupertR163
AshcraftA261
TymczakT522
HoneymanH555

How to use

  1. Type or paste one name or word per line.
  2. Read the 4-character Soundex code next to each name.
  3. Compare codes — identical codes mean the names are phonetically equivalent under Soundex.
  4. Copy the whole name-and-code table with one click.

Frequently asked questions

How is a Soundex code built?
Keep the first letter, then encode following consonants as digits (b,f,p,v=1; c,g,j,k,q,s,x,z=2; d,t=3; l=4; m,n=5; r=6). Adjacent same-digit letters collapse to one, H and W are skipped without separating, vowels separate. Pad with zeros to exactly one letter plus three digits.
Why do Robert and Rupert both give R163?
Soundex groups by sound, not spelling. Both reduce to R + the digits for b/p (1), r (6), t (3), so they collide on purpose — that is how it finds spelling variants.
Which Soundex variant is this?
The standard American Soundex as defined by the U.S. National Archives, including the H/W transparency rule (so Ashcraft encodes to A261, not A226).

Related tools