If you've ever wired up the Web Speech API and rendered the result straight to the page, you've seen this: const recognition = new ( window . SpeechRecognition || window . webkitSpeechRecognition )() recognition . lang = ' en-US ' recognition . onresult = ( event ) => { const transcript = event . results [ 0 ][ 0 ]. transcript console . log ( transcript ) // 'can you send me the report' } recognition ....