Speech synthesis
Widely available since 2021-03-05 (baseline high)
The SpeechSynthesis
API converts text into audio using a synthetic voice.
Compatibility (view on caniuse.com)
- Chrome 33 Released on 2014-02-20
- Chrome Android 33 Released on 2014-02-26
- Edge 14 Released on 2016-08-02
- Firefox 49 Released on 2016-09-20
- Firefox for Android 62 Released on 2018-09-05
- Safari 7 Released on 2013-10-22
- Safari on iOS 7 Released on 2013-09-18
MDN docs
- SpeechSynthesis
- SpeechSynthesis.cancel
- SpeechSynthesis.getVoices
- SpeechSynthesis.pause
- SpeechSynthesis.paused
- SpeechSynthesis.pending
- SpeechSynthesis.resume
- SpeechSynthesis.speak
- SpeechSynthesis.speaking
- SpeechSynthesisEvent
- SpeechSynthesisEvent.charIndex
- SpeechSynthesisEvent.elapsedTime
- SpeechSynthesisEvent.name
- SpeechSynthesisEvent.utterance
- SpeechSynthesisUtterance
- SpeechSynthesisUtterance.SpeechSynthesisUtterance
- SpeechSynthesisUtterance.end_event
- SpeechSynthesisUtterance.error_event
- SpeechSynthesisUtterance.lang
- SpeechSynthesisUtterance.mark_event
- SpeechSynthesisUtterance.pause_event
- SpeechSynthesisUtterance.pitch
- SpeechSynthesisUtterance.rate
- SpeechSynthesisUtterance.resume_event
- SpeechSynthesisUtterance.start_event
- SpeechSynthesisUtterance.text
- SpeechSynthesisUtterance.voice
- SpeechSynthesisUtterance.volume
- SpeechSynthesisVoice
- SpeechSynthesisVoice.default
- SpeechSynthesisVoice.lang
- SpeechSynthesisVoice.localService
- SpeechSynthesisVoice.name
- SpeechSynthesisVoice.voiceURI
- Window.speechSynthesis
Specifications
BCD data
- api.SpeechSynthesis
- api.SpeechSynthesis.cancel
- api.SpeechSynthesis.getVoices
- api.SpeechSynthesis.pause
- api.SpeechSynthesis.paused
- api.SpeechSynthesis.pending
- api.SpeechSynthesis.resume
- api.SpeechSynthesis.speak
- api.SpeechSynthesis.speaking
- api.SpeechSynthesisEvent
- api.SpeechSynthesisEvent.charIndex
- api.SpeechSynthesisEvent.elapsedTime
- api.SpeechSynthesisEvent.name
- api.SpeechSynthesisEvent.utterance
- api.SpeechSynthesisUtterance
- api.SpeechSynthesisUtterance.SpeechSynthesisUtterance
- api.SpeechSynthesisUtterance.end_event
- api.SpeechSynthesisUtterance.error_event
- api.SpeechSynthesisUtterance.lang
- api.SpeechSynthesisUtterance.mark_event
- api.SpeechSynthesisUtterance.pause_event
- api.SpeechSynthesisUtterance.pitch
- api.SpeechSynthesisUtterance.rate
- api.SpeechSynthesisUtterance.resume_event
- api.SpeechSynthesisUtterance.start_event
- api.SpeechSynthesisUtterance.text
- api.SpeechSynthesisUtterance.voice
- api.SpeechSynthesisUtterance.volume
- api.SpeechSynthesisVoice
- api.SpeechSynthesisVoice.default
- api.SpeechSynthesisVoice.lang
- api.SpeechSynthesisVoice.localService
- api.SpeechSynthesisVoice.name
- api.SpeechSynthesisVoice.voiceURI
- api.Window.speechSynthesis