Is webkitSpeechRecognition still unsupported?

Ahron Singer 0 Reputation points
2025-05-27T10:38:35.0466667+00:00

No matter what language I put in, and no matter the format, I am getting 'language not supported' error.

It works fine in Chrome, so the code is not the issue.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,587 questions
0 comments No comments
{count} votes

Accepted answer
  1. Josh Donné 0 Reputation points
    2025-05-27T11:06:45.92+00:00

    You're running into a known issue - webkitSpeechRecognition has spotty support in Edge, even though it works perfectly in Chrome. That "language not supported" error is unfortunately typical for Edge, regardless of what language you specify.

    Here's what's happening:

    Chrome: Works great

    Edge: Hit or miss (mostly miss)

    Your code is fine - it's just Edge being Edge!

    Quick fixes to try:

    javascript// Use feature detection first

    const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;

    if (!SpeechRecognition) {

    console.log('Speech recognition not supported in this browser');
    
    return;
    

    }

    For production apps, I'd honestly recommend going with a cloud speech service like Azure Speech or Google Cloud Speech API for consistent results across all browsers.

    It's frustrating, but you're definitely not doing anything wrong - Edge just hasn't caught up with Chrome on this feature yet.

    Hope this helps!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.