Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Adding a pause

Focus mode
Adding a pause - Amazon Polly

<break>

This tag is supported by generative, long-form, neural, and standard TTS formats.

To add a pause to your text, use the <break> tag. You can set a pause based on strength (equivalent to the pause after a comma, a sentence, or a paragraph), or you can set it to a specific length of time in seconds or milliseconds. If you don't specify an attribute to determine the pause length, Amazon Polly uses the default, which is <break strength="medium"/>, which adds a pause the length of a pause after a comma.

strength attribute values:

  • none: No pause. Use none to remove a normally occurring pause, such as after a period.

  • x-weak: Has the same strength as none, no pause.

  • weak: Sets a pause of the same duration as the pause after a comma.

  • medium: Has the same strength as weak.

  • strong: Sets a pause of the same duration as the pause after a sentence.

  • x-strong: Sets a pause of the same duration as the pause after a paragraph.

time attribute values:

  • [number]s: The duration of the pause, in seconds. The maximum duration is 10s.

  • [number]ms: The duration of the pause, in milliseconds. The maximum duration is 10000ms.

For example:

<speak> Mary had a little lamb <break time="3s"/>Whose fleece was white as snow. </speak>

If you don't use an attribute with the break tag, the result varies depending on text:

  • If there is no other punctuation next to the break tag, it creates a <break strength="medium"/> (comma-length pause).

  • If the tag is next to a comma, it upgrades the tag to a <break strength="strong"/> (sentence-length pause).

  • If the tag is next to a period, it upgrades the tag to <break strength="x-strong"/> (paragraph-length pause).

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.