---
title: SpeechSynthesisEvent.utterance
slug: Web/API/SpeechSynthesisEvent/utterance
tags:
  - API
  - Experimental
  - Property
  - Reference
  - SpeechSynthesisEvent
  - Web Speech API
  - speech
  - synthesis
  - utterance
browser-compat: api.SpeechSynthesisEvent.utterance
---
{{APIRef("Web Speech API")}}{{SeeCompatTable}}

The **`utterance`** read-only property of the
{{domxref("SpeechSynthesisUtterance")}} interface returns the
{{domxref("SpeechSynthesisUtterance")}} instance that the event was triggered on.

## Syntax

```js
event.utterance;
```

### Value

A {{domxref("SpeechSynthesisUtterance")}} object.

## Examples

```js
utterThis.onpause = function(event) {
  var char = event.utterance.text.charAt(event.charIndex);
  console.log('Speech paused at character ' + event.charIndex + ' of "' +
  event.utterance.text + '", which is "' + char + '".');
}
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [Web Speech API](/en-US/docs/Web/API/Web_Speech_API)
