← Back to release summary

On-device Web Speech API

Category
Miscellaneous
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome 139)
Intent stage
None

Summary

This feature adds on-device speech recognition support to the Web Speech API, allowing websites to ensure that neither audio nor transcribed speech are sent to a third-party service for processing. Websites can query the availability of on-device speech recognition for specific languages, prompt users to install the necessary resources for on-device speech recognition, and choose between on-device or cloud-based speech recognition as needed.

Motivation

The Web Speech API is a web standard API that allows developers to incorporate speech recognition and synthesis into their web pages. Currently, the Web Speech API spec does not mention where speech recognition occurs, and most implementers of the API perform speech recognition using a cloud service. Enabling on-device speech recognition support allows websites to ensure that neither audio nor transcribed speech are sent to a third-party service for processing.

Standards & signals

Explainers: https://github.com/WebAudio/web-speech-api/pull/122

View on chromestatus.com