Skip to tool

Apex Soundex Online

Generate soundex phonetic code.

The output updates as you type. The tool processes input in your browser.

Worked example

Soundex groups names with similar English pronunciations. Different names can have the same code.

Sample input
Robert
Sample output
Robert => R163

Using this operation in Apex

The interactive result uses JavaScript. Apex text utilities use the System namespace. Consider Salesforce transaction limits when applying an expensive transformation to many records.

Apex reference