SSML

SSML (Speech Synthesis Markup Language)

AI

A markup language for telling a text to speech voice how to say something: pauses, emphasis, speed, pitch and pronunciation.

What is SSML?

SSML stands for Speech Synthesis Markup Language. It is a W3C standard written in tags, a bit like HTML, that wrap the text a voice will read. Common tags: - speak: wraps the whole message. - break: adds a pause of a set length. - emphasis: stresses a word. - prosody: changes speed, pitch or volume. - say-as: tells the voice how to read something, such as a date, a phone number or letters one at a time. - phoneme: gives an exact pronunciation. - sub: reads a different word than the one written, such as "World Wide Web Consortium" for "W3C." Support varies. Each text to speech provider supports a different set of tags, and some newer neural voices ignore some of them. Always check what a given voice supports. SSML and voice agents. When a language model writes replies live, it rarely writes SSML. Teams more often fix pronunciation with dictionaries and fix pacing by asking the model to write short, spoken-style sentences. Common mistakes: sprinkling pauses everywhere, which sounds robotic; and unclosed tags that make the voice read the markup aloud.

Example

A confirmation reads "Your code is <say-as interpret-as="characters">AB12</say-as>." The voice says "A, B, one, two" instead of trying to pronounce "ab-twelve."

Why SSML Matters

SSML gives precise control over how fixed messages sound, such as greetings and required notices.

Explore More Terms

Browse our complete glossary of e-commerce and subscription terms.

Space, at your fingertips

What would you do with 22% more revenue?