Developer Tools
Soundex Calculator
Encode any name or word with Soundex, Refined Soundex, Metaphone, and NYSIIS in your browser. Compare two words, batch a list, and copy results.
Letters only. Diacritics, digits, and punctuation are stripped before encoding so accented characters and hyphenated names work.
Phonetic codes
Soundex
R163
Russell and Odell, 1918. First letter plus three digits. Used by the US Census, the National Archives, and most genealogy software.
Refined Soundex
R196
Splits the six classic groups into nine for fewer collisions. Variable length, used by some database engines.
Metaphone
RBRT
Lawrence Philips, 1990. Handles English letter combinations like ph, gh, kn, sch, and th more accurately than Soundex.
NYSIIS
RABAD
New York State Identification and Intelligence System, 1970. Six-character key still used by law enforcement and government databases.
Which algorithm should I use?
Soundex
Pick Soundex for genealogy work, US Census records, and any system that already stores Soundex codes. Four characters, simple, widely compatible.
Refined Soundex
Pick Refined Soundex when collisions on the classic algorithm are too noisy. Same idea, finer groups, variable length.
Metaphone
Pick Metaphone for general English name matching, fuzzy search in code, or anywhere you need to handle ph, gh, kn, sch, and th correctly.
NYSIIS
Pick NYSIIS for surname-heavy data: government records, voter rolls, and law enforcement databases. Handles common prefixes and suffixes like Mac, Mc, and -ed.
Phonetic codes are not unique fingerprints. Two unrelated words can share a code (Robert and Rupert both Soundex to R163). Always pair a phonetic match with a secondary check such as Levenshtein distance or Jaro-Winkler similarity before treating two records as the same person.
How to use
- Pick Encode word, Compare two words, or Batch list at the top.
- In Encode word mode, type a name or word into the input. The Soundex, Refined Soundex, Metaphone, and NYSIIS codes update on every keystroke.
- In Compare two words mode, type both spellings. Each algorithm reports Match or Different and shows the two codes side by side.
- In Batch list mode, paste one word per line. The table shows every algorithm for every line. Click Copy as CSV to paste the result straight into a spreadsheet.
- Use the Which algorithm should I use? card at the bottom to decide between Soundex (genealogy), Refined Soundex (lower collisions), Metaphone (general English), or NYSIIS (surname-heavy data).
About this tool
Soundex Calculator encodes any name or word with the four most widely used phonetic algorithms and shows the results side by side so you can pick whichever one fits your data. Soundex (Russell and Odell, 1918) is the classic four-character code still used by the US Census Bureau, the National Archives, and most genealogy software; it keeps the first letter and turns the remaining consonants into three digits using six well-known groups. Refined Soundex splits those six groups into nine to reduce collisions and is used by some database engines including MySQL refined Soundex. Metaphone (Lawrence Philips, 1990) is a more accurate encoder that handles the English letter combinations Soundex misses, including ph, gh, kn, sch, and th; its codes are variable length and tend to read closer to the actual pronunciation. NYSIIS (the New York State Identification and Intelligence System, 1970) produces a six-character key with explicit handling for the common name prefixes Mac, Mc, Kn, Pf, Sch and for the trailing -ed, -nt, -nd, -rd, -rt, -dt endings; it is still used by US law enforcement and government databases. The tool offers three modes: Encode word shows all four codes for a single input, Compare two words tells you which algorithms consider the pair a match, and Batch list takes one term per line and outputs a table you can copy as CSV into a spreadsheet. Letters only are encoded: diacritics are stripped, digits and punctuation are removed, and hyphens are ignored so names like Anne-Marie and surnames with accents work cleanly. Useful for genealogy and family-tree research, library catalog reconciliation, voter-roll de-duplication, healthcare record linkage, customer-database fuzzy lookup, ETL pipelines that match free-text names, and any application that needs to find records that sound alike even when they are spelled differently. Pair phonetic matching with Levenshtein or Jaro-Winkler distance from the String Similarity Checker for the strongest results; phonetic codes alone are intentionally coarse and will produce occasional collisions on unrelated words. Every algorithm runs entirely in the browser. Names you paste are never uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
String Similarity Checker
Levenshtein, Jaro-Winkler, Dice, Jaccard, and cosine scores side by side.
Open tool
ConverterNATO Phonetic Alphabet Translator
Bidirectional NATO phonetic translator with digit modes and a reference chart.
Open tool
TextAnagram Solver
Find anagrams, sub-anagrams, and unscrambled words from any set of letters.
Open tool
TextPalindrome Checker
Strict and normalized palindrome detection with mirror visualization and longest-palindrome finder.
Open tool
TextSyllable Counter
Count syllables per word and per line, with a built-in 5-7-5 haiku checker.
Open tool
TextFind and Replace
Find and replace text in plain or regex mode with live match highlighting.
Open tool