Supported SSML tags - Amazon Polly

Supported SSML tags

Amazon Polly supports the following SSML tags:

Action SSML tag Availability with neural voices Availability with long-form voices Availability with generative voices

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

Full availability

Adding a pause between paragraphs

<p>

Full availability

Full availability

Full availability

Using phonetic pronunciation

<phoneme>

Full availability

Full availability

Not available

Controlling volume, speaking rate, and pitch

<prosody>

Partial availability

Partial availability

Not available

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.