What is text to speech, and how does it work?

Updated October 31, 2026

Text to speech, often shortened to TTS, is technology that reads written text aloud in a synthetic voice. You give it words; it gives you audio. Here is what happens in between.

The short answer

A text to speech system works in two main stages. First, it works out what to say: how each word is pronounced, where the sentences break, and which words to stress. Then it works out how to say it: it generates the actual sound wave of a voice speaking those sounds with a natural rhythm and melody.

Stage 1: understanding the text

Written text is full of things that aren't spelled the way they are spoken. Before a computer can speak, it has to clean that up. This is usually called text normalization:

Next, the system converts words into phonemes, the individual sounds of a language. It looks most words up in a pronunciation dictionary, and uses rules or a trained model to guess the rest, such as new names and invented words. This step is called grapheme-to-phoneme conversion. You can read more in Phonemes: the building blocks of spoken language.

Finally, it predicts prosody: the rhythm, stress and intonation that make speech sound like a person and not a list of sounds. A question usually rises in pitch at the end; important words get more stress; commas and full stops create pauses.

Stage 2: making the sound

With a sequence of sounds and a plan for how to say them, the system generates audio. Over the years there have been three main ways to do this:

We go into more detail in Robotic vs natural voices.

Where text to speech is used

Text to speech vs speech to text

They are opposites. Text to speech turns writing into a voice. Speech to text (speech recognition or dictation) turns a voice into writing. They use related ideas about language and sound, but they are separate technologies.

Try it

The quickest way to understand text to speech is to hear it. Paste a paragraph into our free text to speech tool, pick a language and voice, and press Convert. Try one of the premium voices, then a standard one, and you will hear the difference between neural and formant synthesis right away.

Keep reading

Speech technology

A short history of talking machines

Speech technology

Robotic vs natural voices: how modern TTS voices are made

Accessibility

Why every website should have a text to speech button