You have generated AI speech and hit the classic frustrations: the voice mispronounces your brand name, rushes through a dramatic pause, or reads "Dr." as "Drive." SSML — Speech Synthesis Markup Language — is the fix: XML tags that tell the voice exactly how to speak.
This SSML tutorial is for beginners: no prior knowledge assumed. You will learn the essential tags for pauses, pronunciation, emphasis, and prosody, with copy-paste examples that work across Google Cloud TTS, Amazon Polly, and Azure AI Speech.
Key Takeaways
- SSML is XML markup that controls how TTS voices speak: pauses, pronunciation, pitch, rate, and emphasis.
- The 5 tags covering 90% of needs: break, say-as, phoneme, prosody, and emphasis.
- Always wrap SSML in
tags and validate before sending to the API. - Support varies by platform — test every tag on your target engine; fallbacks differ.
- For non-developers, most TTS studios now offer visual controls that generate SSML automatically.
SSML Basics: Your First Markup
SSML documents are XML. The root element is always , and the TTS engine must be told to interpret the input as SSML (usually a parameter like ).
Minimal example:
<speak>
Hello world.
<break time="500ms"/>
Welcome to our <emphasis level="strong">grand opening</emphasis>.
</speak>
That inserts a half-second pause — the single most-used SSML tag in existence. Without SSML, you are at the mercy of the engine's default punctuation handling; with it, you direct the performance.
Rules that bite beginners: SSML must be well-formed XML (close every tag, escape as ), keep tags properly nested, and never assume a tag works everywhere — always test on your target platform.
The Essential Tags (with Examples)
Five tags handle nearly everything:
1. — pauses. or . Use for dramatic pauses, list separations, and paragraph breaks. Time values (, ) are more predictable than strength levels.
2. — interpretation. reads as "October 17th, 2026." Other values: , , (spells out: "FBI" → "F B I"), , . This tag alone fixes most "the voice read it wrong" complaints.
3. — exact pronunciation. forces a pronunciation. Use IPA for precision or where supported. Essential for brand names, invented words, and non-English names.
4. — pitch, rate, volume. or absolute values like . Relative values (, ) transfer better across voices than absolute ones.
5. — stress. — use sparingly; over-emphasis sounds like shouting.
Combine them: — a slowed, emphasized, correctly-dated CTA with a beat after it.
Platform Differences to Know
SSML is a standard, but implementations diverge:
| Feature | Google Cloud TTS | Amazon Polly | Azure AI Speech |
|---|---|---|---|
| Full support | Full support | Full support | |
| (IPA) | Supported | Supported (x-sampa too) | Supported |
| rate/pitch/volume | rate/pitch/volume | + contour, mstts extensions | |
| Broad interpret-as set | Broad set | Broad set | |
| Custom extensions | for timing | Speech marks | styles |
| SSML input flag | input type | XML root |
Portability tips: stick to the five core tags for cross-platform scripts; isolate platform extensions (like Azure's expressive styles) in clearly-marked sections; and build a small test harness that renders your critical SSML on each target engine — pronunciation surprises are cheapest caught early.
Common gotcha: nesting inside behaves differently per engine. Flatten where possible.
SSML Without Coding: Visual Alternatives
Not a developer? You still get SSML's power:
- Modern TTS studios (including SynVoice) offer visual controls — pause sliders, emphasis buttons, pronunciation dictionaries — that generate the markup behind the scenes.
- Pronunciation libraries let you save "Qatar → kuh-TAR" once and apply it project-wide, no XML needed.
- Pacing controls (sentence gap, paragraph pause sliders) replace most use cases.
- Emphasis highlighting — select a word, click "emphasize" — replaces manual tags.
Learn the concepts from this tutorial (what a break, phoneme, or prosody adjustment does), then let the studio's UI handle syntax. You will direct better performances because you understand the levers — without memorizing angle brackets.
When to learn raw SSML anyway: building voice applications, automating narration pipelines, or needing platform-specific extensions. For content creation, the visual route is faster.
Frequently Asked Questions
What is SSML in simple terms?
SSML (Speech Synthesis Markup Language) is XML markup that tells a text-to-speech voice how to speak — where to pause, how to pronounce words, how fast or high to speak, and what to emphasize. Think of it as stage directions for AI voices.
Do I need SSML to use text to speech?
No. Basic TTS works on plain text, and modern studios offer visual controls (pause sliders, emphasis buttons) that handle common needs. Learn SSML when you need precise control, are building voice applications, or hit pronunciation problems plain text cannot solve.
What are the most useful SSML tags?
Five tags cover 90% of needs:
Does SSML work the same on Google, Amazon, and Azure?
Core tags (
How do I fix a brand name pronunciation with SSML?
Use the
Related Guides
- Text to Speech API Guide for Developers
- AI Voice Credits Explained
- ElevenLabs Alternative: Compare Top AI Voice Tools
Ready to put this into practice? Try SynVoice free — generate studio-quality voiceovers in minutes, with a generous free tier and no credit card required.