tts

How to Make Text-to-Speech Pronounce Names Correctly

Learn how to improve text-to-speech pronunciation of names with phonetic respelling, SSML, lexicons, and a repeatable listening workflow.

By VoiceClub AI ·

AI assisted. Reviewed and approved by a human editor.

An abstract sound wave flows between a name card and a speech bubble in calm cyan and violet tones.
Credit: AI-generated editorial illustration for VoiceClub

Key points

  • Ask the name-bearer how they pronounce their name rather than relying on spelling.
  • A phonetic respelling can be a useful first test, but results depend on the voice and tool.
  • SSML substitution and phoneme tags offer different ways to guide pronunciation.
  • Pronunciation lexicons can make recurring corrections reusable.
  • Listen to the name alone and in context, and confirm it with the name-bearer when possible.

To make text-to-speech pronounce a name correctly, first ask the person how they say it. Then test a phonetic respelling, use an SSML alias or phoneme tag if your tool supports one, and save recurring corrections in a pronunciation lexicon where available. Listen to the result both on its own and in a sentence, and check it with the name-bearer when possible. The best method depends on your provider, voice, locale, and available pronunciation controls.

Getting a name right is not just a matter of making the audio sound plausible. A spelling can have more than one pronunciation, and a confident-sounding synthetic voice can still say the wrong one. A short verification process gives you a better target before you start adjusting the text.

How do you find the right pronunciation?

Start with the person whose name you are using. Ask them to say it, or ask for a short recording if that is practical. If you need to write down their guidance, note the syllables and which part they emphasize. You can also ask whether they are comfortable reviewing a short synthesized sample.

Avoid treating a dictionary-style guess, a familiar name with similar spelling, or an automated pronunciation as the final answer. The name-bearer’s preference is the target. If you cannot ask them, use an available pronunciation supplied by the person or their organization, and mark your version for later confirmation rather than presenting a guess as certain.

A reference also helps you distinguish between two separate tasks: preserving the name’s correct spelling in the script and guiding the voice toward the intended sound. You may need different inputs for those tasks, especially when you experiment with respellings.

Can phonetic respelling fix a name?

Phonetic respelling means writing an approximation of the sound you want the speech engine to produce. It is a useful first experiment when your tool accepts ordinary text but does not expose pronunciation controls. It can also help you explore a sound before you create a more formal SSML or lexicon entry.

For an illustrative example, imagine a person named Maya tells you that they say their name like “MY-uh.” You could try that respelling in a short test and compare the result with their guidance. This is only an example of a supplied preference, not a rule for everyone named Maya. Hyphens, syllable breaks, and familiar-looking letter combinations may affect the result, so listen rather than assuming the engine will interpret your spelling as intended.

  1. Create a short test containing the name alone, using the correct written spelling first.
  2. Try one phonetic respelling based on the person’s guidance, then generate another sample.
  3. Compare the sounds, including syllables and emphasis, and revise the respelling if necessary.
  4. Place the best candidate in a complete sentence and listen again.
  5. Keep the correctly spelled name in your master script, and document any separate synthesis input.

A respelling that works with one voice or locale is not a guarantee for another. Nor is it necessarily suitable for visible captions or a published transcript, where the name should remain correctly spelled. If your workflow turns the same text into both speech and visible copy, check what readers will see before replacing the name directly.

For a one-off recording, a tested respelling may be enough. For a name that appears throughout a series or across projects, look for a way to preserve the original written form while supplying pronunciation guidance separately.

When should you use an SSML alias or phoneme tag?

Speech Synthesis Markup Language, or SSML, lets supported text-to-speech tools interpret markup alongside the text to be spoken. Two useful approaches are substitution and phoneme markup. Before using either, check your provider’s documentation and the interface you are working in: a provider may support a tag without every application exposing it.

Google Cloud documents the SSML sub tag for substitution. In a tool that supports it, an illustrative input could be <speak>Welcome, <sub alias="MY-uh">Maya</sub>.</speak>. Here, the written name remains inside the tag while the alias supplies the alternative text for speech. The alias is still a respelling, so it may not produce the desired sound without adjustment.

If an alias is not precise enough, a phoneme tag can give more explicit pronunciation instructions. Google Cloud documents inline phoneme markup using the International Phonetic Alphabet (IPA) and X-SAMPA, with each application directing the pronunciation of a single word. Its language-specific documentation lists supported phonemes and stress levels for languages that support the tag.

For example, the shape of an IPA instruction is <phoneme alphabet="ipa" ph="ˈmaɪ.ə">Maya</phoneme>. This illustrates how a written word and a phonetic string can be paired; it is not a universal pronunciation of the name or a guarantee that the string will work with your chosen voice. Check the provider’s allowed symbols and stress notation, then compare the audio with the person’s reference.

Treat a full name as a sequence that may need individual attention. If a provider’s phoneme tag applies to one word at a time, test the given name and surname separately before listening to them together. Do not assume that markup or an alphabet accepted by one provider will behave identically in another.

Google Cloud: SSML reference, including substitution and phoneme tags

Google Cloud: supported phonemes and stress by language

How do pronunciation lexicons help with recurring names?

A pronunciation lexicon maps written words to pronunciations. The W3C identifies proper nouns, including surnames and business names, as cases where application-specific pronunciation information may be useful. Instead of adding the same correction by hand every time a name appears, a supported lexicon can make that guidance reusable.

Start with an entry you have already tested. AWS recommends testing a custom pronunciation with the phoneme tag before creating a lexicon, then keeping lexicon files under version control for consistent reuse. That sequence makes troubleshooting easier: first establish whether the pronunciation sounds right, then check whether the lexicon applies it as expected.

Provider rules matter. Amazon Polly stores pronunciation lexicons by AWS region and applies specified lexicons to input text before synthesis through its SynthesizeSpeech operation. Microsoft Azure documents that a custom lexicon is limited to one locale, entries are case-sensitive, and a phrase’s pronunciation cannot be set directly using the custom lexicon. Those are provider-specific behaviors, not universal rules.

When setting up a recurring name, check how the written form must match, which locale the entry belongs to, and how your synthesis request selects the lexicon. If a full name is treated as a phrase, check whether your provider permits a phrase entry or whether you need to handle its words separately. Test capitalized and other intended forms where matching rules make that relevant.

Keep a small record alongside each entry: the written name, pronunciation guidance, voice and locale used for testing, date of confirmation, and any limits on where the entry should be applied. If guidance changes, update the controlled entry and retest rather than letting different copies drift apart.

W3C: Pronunciation Lexicon Specification

AWS: managing pronunciation lexicons in Amazon Polly

AWS: testing and version-controlling custom pronunciations

Microsoft Azure: pronunciation markup and custom lexicon limitations

How should you listen for errors in context?

Listen to the name in isolation first. Compare it with the reference for syllables, sounds, and emphasis. Then hear it in the actual sentence, with the surrounding words and punctuation you intend to use. A name that sounds acceptable as a standalone clip still deserves a check in the final passage.

Test each meaningful occurrence if the name appears in different contexts: an introduction, a longer sentence, or a closing credit, for example. Use the final voice and locale where possible. If you change either after approving the pronunciation, generate and review a fresh sample rather than relying on the earlier result.

When the name-bearer can review the audio, send a short clip that includes both the isolated name and the sentence. Ask whether it sounds right to them, not merely whether the spelling is correct. If they suggest a change, adjust one element at a time and retain the sample they approve as a reference for future work.

Also check the materials around the audio. Confirm that the script, captions, and other visible references use the correct spelling, even if the speech input uses an alias or respelling. This helps prevent a pronunciation fix from introducing a separate text error.

Use the AI dubbing quality checklist for a broader audio review

What is a practical workflow for a whole project?

Collect names before producing the full audio, especially when a project includes multiple speakers, contributors, or organizations. Identify which pronunciations have been confirmed and which still need review. Then resolve uncertain names in short samples before generating longer passages.

This process does not require every project to use every control. A simple respelling may solve an isolated case; a phoneme tag may give an editor more control; and a lexicon may be worth maintaining when the same names recur. Choose the least complicated method that produces a checked result in your actual workflow.

VoiceClub readers working on voice projects can use the same principle throughout production: preserve the correct written name, make the pronunciation explicit when needed, and leave time for a human listening check. The most important step comes before the markup—find out how the person says their own name.

Explore transcript-based audio editing

Read more voice-production guides

Sources

  1. https://docs.cloud.google.com/text-to-speech/docs/ssml

    Google Cloud documents the phoneme tag for inline custom pronunciations, accepting IPA and X-SAMPA; each application directs the pronunciation of a single word. It also demonstrates phrase substitution with the sub tag. ([docs.cloud.google.com](https://docs.cloud.google.com/text-to-speech/docs/ssml)) (retrieved )

  2. https://docs.cloud.google.com/text-to-speech/docs/phonemes?hl=en

    The documentation lists supported phonemes and stress levels by language for languages that support the phoneme SSML tag. ([docs.cloud.google.com](https://docs.cloud.google.com/text-to-speech/docs/phonemes?hl=en)) (retrieved )

  3. https://www.w3.org/TR/pronunciation-lexicon/Overview.html

    The W3C explains that application-specific pronunciations may be needed for proper nouns such as surnames and business names, and describes a lexicon as a mapping between written words and pronunciations. ([w3.org](https://www.w3.org/TR/pronunciation-lexicon/Overview.html)) (retrieved )

  4. https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html

    Amazon Polly stores pronunciation lexicons by AWS region and applies specified lexicons to input text before synthesis through the SynthesizeSpeech operation. ([docs.aws.amazon.com](https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html)) (retrieved )

  5. https://aws.amazon.com/blogs/machine-learning/customize-pronunciation-using-lexicons-in-amazon-polly/

    AWS recommends testing a custom pronunciation with the phoneme tag before creating a lexicon, and recommends version-controlling lexicon files for consistent reuse. ([aws.amazon.com](https://aws.amazon.com/blogs/machine-learning/customize-pronunciation-using-lexicons-in-amazon-polly/)) (retrieved )

  6. https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-pronunciation

    Azure documents that a custom lexicon is limited to one locale, its entries are case-sensitive, and a phrase’s pronunciation cannot be set directly using the custom lexicon. ([learn.microsoft.com](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-pronunciation)) (retrieved )

Explore VoiceClub services.