1001Ferramentas
🔊Text

Soundex Code Calculator

Calculate the Soundex code of a word to group names that sound alike even when spelled differently. Useful for phonetic search and deduplicating records.

Soundex

Finding names that sound alike

The customer database has Souza and Sousa, Nunes and Nunez, Almeida and Almeyda, and an exact search treats each pair as two different people. Soundex handles part of that: it reduces a word to a leading letter plus three digits standing for consonant groups, and names that sound alike tend to land on the same code. Type a word in the field and the code appears instantly.

The mechanics are the American Soundex: keep the first letter, turn the following consonants into digits (B, F, P and V become 1; C, G, J, K, Q, S, X and Z become 2; D and T, 3; L, 4; M and N, 5; R, 6), cut at four characters and pad with zeros. Souza and Sousa both give S200, Almeida and Almeyda give A453. Vowels, H and W act as separators here and restart the run, which can differ from variants that treat H and W as transparent.

Despite the page name, the table is the English one, and letters outside A to Z are discarded before the calculation rather than folded. That changes results: Gonçalves gives G541 while Goncalves gives G524; Ângela loses the Â, starts at the N and becomes N240, while Angela gives A524. Strip accents before typing. The field also works on one word: Maria Silva is read as MARIASILVA. Run each name part separately.

Frequently asked questions

Does Soundex work well for Portuguese names?
It catches common swaps such as Souza and Sousa, Luiz and Luis, Nunes and Nunez, but the table knows nothing about the cedilla, accents or digraphs like lh and nh. Since the first letter is never coded, Krause and Crause never match. For deduplicating a large database, pair the code with a string distance measure.
Why do Ângela and Angela produce different codes?
Because the  is discarded before the calculation, so the code starts from the next letter instead. Type the unaccented spelling when comparing.
Can I type a full name?
You can, but spaces are removed and it all becomes one word: Maria Silva comes out as M624, not the separate codes for Maria and Silva.

Related Tools