cancel
Showing results forย 
Showย ย onlyย  | Search instead forย 
Did you mean:ย 

Firefox now understands speech, and it stays on your device ๐ŸŽ™๏ธ

asher-fx
Employee
Employee

Hi everyone,

Starting with Firefox 160 on desktop, websites can use Firefoxโ€™s built-in speech recognition (using Web Speech API) to turn what you say into text in 40 different languages. Until now, some sites built around voice hid the mic button, greyed it out, or told you to switch browsers. Those experiences now work well on Firefox.

Firefoxโ€™s built-in speech recognition runs on AI models stored and run locally on your device. Your audio isnโ€™t sent to a server, and the site only gets the text output. This keeps your speech data private, is always fast because it doesnโ€™t rely on a network, and can work offline. (Learn more about on-device AI models.) 

There are some sites where speech recognition did previously work, and itโ€™s because they run their own speech service. The site records your audio and sends it to its own servers to turn into text. We now encourage those sites to use Web Speech API instead.

Examples of services available through this API

With support for the Web Speech API, websites can now offer the following services on-device:

  1. Dictation in Google sites like Search, Docs, Slides, and Translate
  2. Speech-to-text on tools like SpeechTexter, and Speechnotes, 
  3. Captioning sites like caption.ninja
  4. Microphones on support chat experiences

With this update, weโ€™re also marking this idea as โ€œDelivered.โ€

Disclaimers

  • Speech recognition uses on-device AI, and this can be disabled in โ€œAI controlsโ€ settings, either by blocking all AI enhancements, or disabling speech recognition
  • The first time a site asks to use speech recognition, Firefox asks before downloading the language model. You wonโ€™t have to give permission again for the same model
  • This will not automatically work for every website. Some vary their speech experience by what browser you are on, and not whether Web Speech API is available

Settings, languages, and how to remove a model are all detailed in Use speech recognition in Firefox.

Give us feedback

If a site still says your browser isn't supported, drop a link in the comments or report it at webcompat.com. 

We'd also like to hear what you'd want Firefox itself to do with on-device speech. Live captions for any media playing in Firefox is one idea we're looking at. What else would you like to do with on-device speech recognition in Firefox? Let us know!

Thanks for using Firefox!

Asher

3 REPLIES 3

onthefence
Making moves

fascinating stuff, too bad I'm among roughly half of your users avoiding latest updates full of pill-shaped AI-stuffed bloat.

looking at the other post with hundreds of comments projectile vomiting all over your 'refresh' with zero acknowledgment, and then at your reddit fanclub sub full of 'mozilla employees' high-fiving drooling groupies, here's what I 'want Firefox itself to do': reverse-engineer this gimmick into text-to-speech wotsit, and make it read to you all the feedback which you so appreciate, in 40 different languages if you must.

ecmarm
Making moves

Asher:

Since this process happens locally, is it safe to assume there are some new files (DLLs, etc.) in the standard install to implement it? I have already blanket-disabled AI, but if there are indeed new files, is it possible to delete them safely to save disk space? (I haven't an abundance of it!) How exactly would this work?  I would never wish to use this feature.

Mutzu
Making moves

Great! ๐Ÿ‘ I was looking for a local tool to transcribe some recorded audio files. Could you make this also a stand-alone tool in the menu for:

  • Transcribing audio from the audio output (and microphone input); This would spare me hours of transcribing of Zoom sessions!
  • Transcribing audio from a Firefox tab; This would spare me hours of transcribing of YouTube videos.
  • Transcribing live audio from the microphone
  • Transcribing audio from audio and video files