Text-to-Speech (TTS)
Text-to-speech (TTS) turns written text into spoken audio: the engine expands numbers and symbols into words, then generates a voice that reads them.
Updated
Text-to-speech (TTS) converts written text into spoken audio. The engine normalizes the text, expanding numbers, dates and symbols into words, then synthesizes a voice whose pronunciation, pace and pauses can be steered with SSML or vendor controls. Support differs: ElevenLabs' Eleven v4 does not accept SSML. TTS powers narration, dubbing and voice agents.
Text-to-speech (TTS) is the conversion of written text into spoken audio by a synthesis engine, which works out how the text should be read and then generates a voice that reads it.
Two steps matter in practice. The first is text normalization: turning written forms into words. The W3C's SSML 1.1 specification gives the classic example that "$200" may be spoken as "two hundred dollars," and that "1/2" could be "half," "January second," "February first" or "one of two." ElevenLabs enables normalization by default for all its TTS models, yet its own guidance warns that smaller models struggle with phone numbers, currencies, dates and URLs, so production scripts often spell those out.
The second is control. SSML, whose version 1.1 became a W3C Recommendation in September 2010, is an XML markup meant to provide "a standard way to control aspects of speech such as pronunciation, volume, pitch, rate, etc." It has elements for pauses (break), substitutions (sub) and phonetic spellings (phoneme). Engines implement it unevenly. SSML does not enumerate the values say-as accepts, and ElevenLabs' newest model, Eleven v4, does not support SSML at all; it takes IPA pronunciations between slashes and bracketed audio tags such as [whispers] instead.
TTS creates new speech, unlike speech enhancement, which cleans up an existing recording. It serves both produced audio, such as narration and dubbing, and live voice agents, where speech-to-text hears the user and TTS speaks the reply, as covered in Build a Voice Agent. A cloned voice is one more voice a TTS engine can speak in. The engines are compared in Best Text-to-Speech APIs in 2026, and ElevenLabs has its own page.
Frequently asked questions
- What is SSML?
- Speech Synthesis Markup Language, a W3C Recommendation (version 1.1, September 2010). It is an XML-based markup that gives a standard way to control aspects of speech such as pronunciation, volume, pitch and rate, with elements like break, sub and phoneme. Support varies by engine: SSML does not standardize the values of its say-as element, and ElevenLabs' Eleven v4 and Eleven v3 models do not support SSML break tags.
- What is text normalization in TTS?
- Turning written forms into the words a voice should say. The SSML specification's example is that '$200' may be spoken as 'two hundred dollars', and '1/2' as 'half', 'January second', 'February first' or 'one of two'. ElevenLabs enables normalization by default for all its TTS models but notes that smaller models can misread figures, so spelling out phone numbers, currencies, dates and URLs in the script is the safer habit.
- Which TTS API should I use?
- It depends on the job. Produced audio such as narration, video voiceover and dubbing rewards expressiveness and voice range, while voice agents reward how quickly the first audio arrives. Run your own scripts through two or three candidates before committing; our TTS API comparison sorts the main options by those two uses.
Filed under
text-to-speech · tts · speech-synthesis · ssml · voice
Related
- Speech-to-Text (STT)Speech-to-text (STT), or automatic speech recognition, converts spoken audio into written text, often with timestamps and speaker labels, in batch or live.
- Voice CloningVoice cloning builds a synthetic copy of a specific person's voice from recorded samples, so a text-to-speech engine can speak any script in that voice.
- How to Build a Voice Agent: The STT → LLM → TTS PipelineHow to build a real-time voice agent: the STT → LLM → TTS pipeline, the latency budget that makes or breaks it, and how to wire each stage.
- ElevenLabsA voice-AI platform for high-quality text-to-speech, voice cloning, dubbing, and real-time conversational agents, via API.
- Best Text-to-Speech APIs in 2026The TTS APIs worth building on — ElevenLabs for quality and breadth, Cartesia Sonic for realtime latency — and how to choose for agents vs produced audio.
- Multimodal AIMultimodal AI processes more than one kind of input or output — text, images, audio, video — in a single model, like an LLM that reads screenshots or speaks.
- TTS Script PreparerPrepare a script for text-to-speech on a named engine: expand numbers, dates, currencies, units, URLs, and acronyms into the words the voice should say; add pronunciation fixes in the form that engine accepts (IPA, phoneme tags, pronunciation dictionaries, glossary entries, or plain respelling); and mark pauses with syntax the engine supports. It asks for the target engine, model, and voice type first and never assumes SSML. Returns the prepared script plus a change log of every edit. Use before generating a voiceover with ElevenLabs, HeyGen, Synthesia, or another TTS engine, or when a voice keeps misreading numbers and names.