We are the WordPress Gurus
Speech to Text: dictation, voice search and form fields
On this page
Speech to Text turns what visitors say into typed text. You can add a stand-alone dictation button, let visitors search your site by voice, or add a microphone to any form field.
All options are on one page: go to Voice Widgets Pro > Speech to Text. Click Save Changes at the bottom after any change.
Warning
Every Speech to Text feature, including all of its shortcodes, needs Enable Speech To Text turned on in the Speech to Text Configuration section. If a shortcode shows nothing, check this first.
Choose a provider
In Speech to Text Configuration:
- Tick Enable Speech To Text.
- Choose a Speech To Text Type:
- Browser based: free and needs no setup, but it is less accurate and doesn't work in every browser.
- Google: Google Cloud Speech, very accurate. Needs a Google Cloud project.
- OpenAI: very accurate. Needs an OpenAI API key. Choose OpenAI if you plan to use the advanced speaking-test features.
- Fill in the details for your provider (see below).
- Set the Language Code, for example
en-US, or pick the language from the list. - Click Save Changes.

OpenAI setup
- Sign in at platform.openai.com and open the API keys page.
- Create a key and paste it into OpenAi API Key.
- Add prepaid credit to your OpenAI account. OpenAI requests fail without credit.
Tip
If OpenAI features keep loading and never finish, you have probably hit your OpenAI usage limit. Add credit on your OpenAI billing page.
Google setup
Google needs PHP 8.2 or newer and the Google client library.
- Click Download and Install the Google Client if it isn't installed yet.
- Enter your Google Project ID.
- Paste your service account Private Key.
- Enter your Google Bucket Name (a Google Cloud Storage bucket the audio is sent to).
Add a dictation button to any page
Paste this shortcode where you want a Speech to Text button:
[qcld_stt_form]Visitors click the button, speak, and see their words typed out.
Note
Screenshot coming soon: the [qcld_stt_form] dictation button on a page with transcribed text shown (front end of a page containing the shortcode)
Voice search
In Voice Search Settings:
- Enable Voice Search: adds a microphone to your WordPress search form.
- Enable Voice Auto Submit: runs the search as soon as the visitor stops speaking.
- Remove Submit Button: hides the search form's submit button.
- Style: choose Style 1 or Style 2 for the microphone.
- Enable language: lets visitors choose their language on the front end.
Note
Screenshot coming soon: the Voice Search Settings section and a search form with the voice search microphone (/wp-admin/edit.php?post_type=qcvoicemsg_record&page=wpvoice_speech_to_text)
Language Learning Mode
Learning mode helps people practise a new language. The learner speaks a word or sentence, sees what was recognised, and can play back their own voice to hear what went wrong.
Add it to any page with the Learning Mode Shortcode:
[qcld_stt_learning_mode]For structured tests with levels and scores, see Speaking tests and results.
Note
Screenshot coming soon: the Language Learning Mode practice box on the front end (a page containing [qcld_stt_learning_mode])
Add a microphone to any form field
You can add Speech to Text to fields in almost any form plugin, and to WooCommerce product reviews.
- In Form Fields & Review Integration, tick Enable Speech To Text.
- Open the page with your form in Chrome. Right-click the field and choose Inspect. You can also open the browser menu and choose More tools > Developer tools.

- In the Elements panel, find the field's
idorclassand copy its value.

- Paste it into Speech to Text Form Field IDs. Paste the name only, without
#or.in front. To add several fields, separate them with commas. - Click Save Changes, then clear any cache plugin.
A microphone now appears with that field. What visitors say is typed into it.

Product reviews and labels
- Product Review: tick to add Speech to Text to WooCommerce review forms.
- language and for the moment: change the small label texts shown next to the microphone, for example to translate them.
Was this article helpful?
Sorry about that. Get help another way: