Supported SSML tags - Amazon Polly
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Supported SSML tags

All tags except for <amazon:domain name="news"> are supported for Standard voices. Tag availability for other voices is provided in the following table.

Amazon Polly supports the following SSML tags:

Action SSML tag Neural voice availability Long-form voice availability Generative voice availability

Adding a pause

<break>

Full availability

Full availability

Full availability

Emphasizing words

<emphasis>

Not available

Not available

Not available

Specifying another language for specific words

<lang>

Full availability

Full availability

Full availability

Placing a custom tag in your text

<mark>

Full availability

Full availability

Partial availability

Adding a pause between paragraphs

<p>

Full availability

Full availability

Full availability

Using phonetic pronunciation

<phoneme>

Full availability

Full availability

Partial availability

Controlling volume, speaking rate, and pitch

<prosody>

Partial availability

Partial availability

Partial availiability

Setting a maximum duration for synthesized speech

<prosody amazon:max-duration>

Not available

Not available

Not available

Adding a pause between sentences

<s>

Full availability

Full availability

Full availability

Controlling how special types of words are spoken

<say-as>

Partial availability

Full availability

Full availability

Identifying SSML-enhanced text

<speak>

Full availability

Full availability

Full availability

Pronouncing acronyms and abbreviations

<sub>

Full availability

Full availability

Full availability

Improving pronunciation by specifying parts of speech

<w>

Full availability

Full availability

Full availability

Adding the sound of breathing

<amazon:auto-breaths>

Not available

Not available

Not available

Newscaster speaking style

<amazon:domain name="news">

Select neural voices only

Not available

Not available

Adding dynamic range compression

<amazon:effect name="drc">

Full availability

Full availability

Not available

Speaking softly

<amazon:effect phonation="soft">

Not available

Not available

Not available

Controlling timbre

<amazon:effect vocal-tract-length>

Not available

Not available

Not available

Whispering

<amazon:effect name="whispered">

Not available

Not available

Not available

Note

If you use unsupported SSML tags in standard, neural, or long-form format, you will get an error.