Speech recognitionLimited availability
The SpeechRecognition API converts audio into text using the device's speech recognition service.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–138Not supported
139+Supportedsince Aug 5, 2025
Current: 155Edge
12–138Not supported
139+Supportedsince Aug 7, 2025
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–138Not supported
139+Supportedsince Aug 5, 2025
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Firefox, Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: SpeechRecognition.
Feature detection
JS · check before using
if ("SpeechRecognition" in globalThis) {
// SpeechRecognition is available
} else {
// load a polyfill or use a fallback
}Sub-features
Support for each part of the feature (38). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| SpeechRecognition | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.SpeechRecognition | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.abort | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.audioend_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.audiostart_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.continuous | 139 | 139 | ✕ | ✕ | ✕ | ✕ | ✕ |
| SpeechRecognition.end_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.error_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.interimResults | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.lang | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.maxAlternatives | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.nomatch_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.result_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.soundend_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.soundstart_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.speechend_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.speechstart_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.start | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.start_event | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
| SpeechRecognition.stop | 139 | 139 | ✕ | ✕ | 139 | ✕ | ✕ |
Show 18 more
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| SpeechRecognitionAlternative | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionAlternative.confidence | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionAlternative.transcript | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionErrorEvent | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionErrorEvent.SpeechRecognitionErrorEvent | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionErrorEvent.error | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionErrorEvent.message | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionEvent | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionEvent.SpeechRecognitionEvent | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionEvent.resultIndex | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionEvent.results | 139 | 139 | ✕ | 14.1 | 139 | ✕ | 14.5 |
| SpeechRecognitionResult | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionResult.isFinal | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionResult.item | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionResult.length | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionResultList | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionResultList.item | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |
| SpeechRecognitionResultList.length | 33 | 79 | ✕ | 14.1 | 33 | ✕ | 14.5 |