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.
| Input | Soundex |
|---|---|
| Robert | R163 |
| Rupert | R163 |
| Ashcraft | A261 |
| Tymczak | T522 |
| Honeyman | H555 |
How to use
- Type or paste one name or word per line.
- Read the 4-character Soundex code next to each name.
- Compare codes — identical codes mean the names are phonetically equivalent under Soundex.
- 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
Markdown Table to CSV Converter
Convert a GitHub-flavored Markdown table into CSV, TSV or semicolon-separated rows, in your browser.
Markdown Table Generator
Paste CSV, TSV, or pipe-delimited data and get a properly aligned GitHub-flavored Markdown table.
Text Diff Viewer
Compare two pieces of text and see line-by-line or word-by-word additions and removals.
Lorem Ipsum Generator
Generate placeholder text by paragraphs, sentences, or words.
Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case and more.
Character & Word Counter
Count characters, words, sentences, lines, and bytes in real time.