multilingual neural machine translation service from Google

Google_Translate_screenshot.png
screenshot of google translate
Google Translate is a multilingual neural machine translation service developed by Google to translate text, documents and websites from one language into another. It offers a website interface, a mobile app for … Wikipedia
Factsheet
Available in 249 languages; see below
Owner Google
Factsheet
Available in 249 languages; see below
Owner Google
🌐
Google Translate
translate.google.com β€Ί translate_t
Google Translator
Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.
🌐
Google Translate
translate.google.com
Google Translate
Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.
Discussions

How accurate is Google Translate audio? - Chinese Pronunciation, Pinyin, and Audio Samples - Chinese-Forums
hi all I am a self-learner (beginner level) Here in Perth, WA, I don't meet that many Mandarin-speakers. I rely on Google Translate to learn the sound of Chinese words. But how accurate is it? I guess individual characters and bi-syllabic words should be OK but in your opinion, does Google Transl... More on chinese-forums.com
🌐 chinese-forums.com
January 4, 2012
How to Pronounce google translate Phonetically (With Audio)?
Record the pronunciation of this word in your own voice and play it to listen to how you have pronounced it. ... Recording Click the record button to pronounce Unfortunately, this browser does not support voice recording. We recommend you to try Safari. Unfortunately, this device does not support voice recording Β· Recording Click the record button again to finish recording ... You can contribute this audio pronunciation of google translate ... More on howtopronounce.com
🌐 howtopronounce.com
1
October 16, 2019
audio - Getting pronunciation of a word using Google Translate API - Stack Overflow
I am trying to save the pronunciation of a French word into a .wav or .mp3 file. I was wondering if there was anywhere on the Google Translate API (since it has a pronunciation functionality) that More on stackoverflow.com
🌐 stackoverflow.com
How to get pronounce of the word in Google translate api? - Stack Overflow
In google translate website, if we translate it shows translation and also pronounce of the word. But when I use the Google translate rest API, it only return the translation, I need pronounce of ... More on stackoverflow.com
🌐 stackoverflow.com
🌐
Google Support
support.google.com β€Ί translate β€Ί answer β€Ί 6142468
Translate by speech - Computer - Google Translate Help
If your device has a microphone, you can translate spoken words and phrases. In some languages, you can hear the translation spoken aloud. Important: If you use an audible screen reader, we recommend
🌐
Leonardo English
leonardoenglish.com β€Ί blog β€Ί google-translate-superpowers
Google Translate Superpowers for English Learning: 9 Ways to Use This Powerful Translation Tool
May 6, 2025 - For a language that has a lot of strange words, like English, this is particularly useful. ... Repeat the word or phrase out loud. If it’s long, you can also try shadowing. Click the speaker icon to hear Google pronounce the word or phrase
🌐
Google Support
support.google.com β€Ί translate β€Ί answer β€Ί 6142468
Translate by speech - Android - Google Translate Help
If your device has a microphone, you can translate spoken words and phrases. In some languages, you can hear the translation spoken aloud. Important: If you use an audible screen reader, we recommend
🌐
App Store
apps.apple.com β€Ί ca β€Ί app β€Ί google-translate β€Ί id414706506
Google Translate App - App Store
Feature support varies by language: β€’ Text: Translate between languages by typing β€’ Offline: Translate with no internet connection β€’ Instant camera translation: Translate text in images instantly by just pointing your camera β€’ Photos: Translate text in taken or imported photos β€’ Dictation: Translate spoken words and phrases β€’ Conversations: Translate bilingual conversations on the fly β€’ Transcribe: Continuously translate someone speaking a different language in near real-time β€’ Handwriting: Draw text characters instead of typing β€’ Phrasebook: Star and save translated words an
Rating: 4 ​ - ​ 7.23K votes
🌐
WebsiteVoice
websitevoice.com β€Ί blog β€Ί google-pronounce-words-audio
Google Pronounce Words Audio Β· WebsiteVoice Blog | Add Free Text-to-Speech to Your Site
Another feature that Google translate offers is its pronounce word audio option. You can listen to the pronunciation of desired word or phrase in different languages.
Find elsewhere
Top answer
1 of 6
6

Right click the page and select "Inspect Element", then go to the network tab. Now, refresh the page with the network panel still open. Wait until nothing is showing up there anymore. While waiting, make sure not to get your mouse near the Listen button. Once nothing is showing up in the network panel, hover and click the listen button. As soon as you hover the listen button, an entry will appear that says "batchexecute". Find this entry. It should be above entries that say log?format=json&hasfast=….

Click on that and then on the right select the "Response" tab. There should be a bunch of random characters that go off the screen very far to the right

Select just that text and copy it. The easiest way to do this is to scroll all the way to the right first and then click and hold to the right of the ending quotation mark, then move your mouse up to the line above, then move your mouse down to reach the starting quotation mark, holding the mouse the whole time.

Go to the console tab and type v= then paste then press enter. Then, paste this into the console and press enter

{
const a = document.createElement("a");
a.href = "data:audio/mp3;base64,"+JSON.parse(v)[0];
a.download = "file.mp3";
a.click();
}

The mp3 file will download.

2 of 6
4
  1. Google search the word of which you want to download pronunciation by entering the query :"*How to pronounce *word**"
  2. Right-click the page and click View page source.
  3. Search for Mp3. screenshot
  4. click the mp3 link.
  5. Click the 3 dots and click Download.
🌐
Google Play
play.google.com β€Ί store β€Ί apps β€Ί details
Google Translate - Apps on Google Play
2 weeks ago - Google Translate helped me so much for years, but there's one bug in the app that I can't stand. If I use English voice input, in multi-word sentences, the last word is almost always dropped. If I say "It's more complicated than that" for example, all that's written down is "It's more complicated than".
Rating: 4.2 ​ - ​ 9.07M votes
🌐
Chinese-Forums
chinese-forums.com β€Ί learning chinese β€Ί speaking and listening skills β€Ί chinese pronunciation, pinyin, and audio samples
How accurate is Google Translate audio? - Chinese Pronunciation, Pinyin, and Audio Samples - Chinese-Forums
January 4, 2012 - hi all I am a self-learner (beginner level) Here in Perth, WA, I don't meet that many Mandarin-speakers. I rely on Google Translate to learn the sound of Chinese words. But how accurate is it? I guess individual characters and bi-syllabic words should be OK but in your opinion, does Google Transl...
🌐
Speechify
speechify.com β€Ί blog β€Ί google-pronounce-words-audio
Google Pronounce Words Audio: Learn Correct Pronunciation | Speechify
January 1, 2025 - With tools like Google’s audio pronunciation feature, translate.google.com, and various apps, you have a wealth of resources at your disposal. Whether you’re aiming to perfect your American English or any other language, consistent practice and the right tools will help you achieve your goals. So next time you’re unsure about how to pronounce a word...
🌐
CNET
cnet.com β€Ί culture β€Ί google translate now helps with pronunciation
Google Translate now helps with pronunciation - CNET
November 17, 2009 - Those trying to translate English into Hebrew, Arabic, or Persian will have to wait for the phonetic option, but Google has also added a feature that lets an English (or any other language) speaker phonetically spell out a word in Arabic, Persian, or Hindi and get a translation of that word in its native character set. And for those trying to translate other languages into English, Google has added a link that produces an audio version of the word or phrase in English.
Top answer
1 of 2
9

Since this question was asked, it's gotten much harder to "scrape" MP3s from Google Translate, but Google has (finally) set up a TTS API. Interestingly it is billed in input characters, with the first 1 or 4 million input characters per month being free (depending on whether you use WaveNet or old school voices)

Nowadays to do this using gcloud on the command line (versus building this into an app) you would do roughly as follows (I'm paraphrasing the TTS quick start). You need base64, curl, gcloud, and jq for this walkthrough.

  1. Create a project on the GCP console, or run something like gcloud projects create example-throwaway-tts
  2. Enable billing for the project. Do this even if you don't intend to exceed the freebie quota.
  3. Use the GCP console to enable the TTS API for the project you just set up.
  4. Use the console again, this time to make a new service account.
    • Use any old name
    • Don't give it a role. You'll get a warning. This is okay.
    • Select key type JSON if it isn't already selected
    • Click Create
    • Hold onto the JSON file that your browser downloads
  5. Set an environment variable to point at that file, e.g. export GOOGLE_APPLICATION_CREDENTIALS="~/Downloads/service-account-file.json"
  6. Get the appropriate access token:
    1. Tell gcloud to use that new project: gcloud config set project example-throwaway-tts
    2. Set a variable TTS_ACCESS_TOKEN=gcloud auth application-default print-access-token
  7. Put together a JSON request. I'll give an example below. For this example we'll call it request.json
  8. Lastly, run the following

     curl \
    -H "Authorization: Bearer "$TTS_ACCESS_TOKEN \
    -H "Content-Type: application/json; charset=utf-8" \
    --data-raw @request.json \
    "https://texttospeech.googleapis.com/v1/text:synthesize" \
    | jq '.audioContent' \
    | base64 --decode > very_simple_example.mp3
    

What this does is to

  • authenticate using the default access token for the project you set up
  • set the content type to JSON (so that jq can extract the payload)
  • use request.json as the data to send using curl's --data-raw flag
  • extract the value of audioContent from the response
  • base64 decode that content
  • save the whole mess as an MP3

Contents of request.json follow. You can see where to insert your desired text, adjust the voice or change output formats via audioConfig:

{
  'input':{
    'text':'very simple example'
  },
  'voice':{
    'languageCode':'en-gb',
    'name':'en-GB-Standard-A',
    'ssmlGender':'FEMALE'
  },
  'audioConfig':{
      'audioEncoding':'MP3'
  }
}

Original Answer

As Hugolpz alludes, if you know the word or phrase you want (via a previous Translate API call), you can get MP3s from a URL like http://translate.google.com/translate_tts?ie=UTF-8&q=Bonjour&tl=fr

Note that &tl=fr ensures that you get French instead of the default English.

You will need to rate-limit yourself, but if you're looking for a small number of words or phrases you should be fine.

2 of 2
4

Similar functionality is provided by the Speech Synthesis API (under development). Third-party libraries are already there, such as ResponsiveVoice.JS.

🌐
Quora
quora.com β€Ί How-does-Google-Translate-pronounce-the-words
How does Google Translate pronounce the words? - Quora
Answer: Thanks for A2A. Until answering this question, I have never listened to a Google pronunciation and find that it does a much better job than my SatNav. Early text-to-speech was done using synthetic phonemes. Each phoneme is a most basic sub-syllable sound. For example, using the word β€œwo...
🌐
Google Cloud
cloud.google.com β€Ί translate
Cloud Translation | Google Cloud
Dubbing a video in a foreign language requires Cloud Speech-to-Text, Translation, and Text-to-Speech APIs. Speech-to-Text API’s transcription of your video gets translated into desired languages by the Translation API; then Text-to-Speech API generates audio from the translated text.
🌐
Reddit
reddit.com β€Ί r/hebrew β€Ί google translate has audio pronunciation now!
r/hebrew on Reddit: Google Translate has audio pronunciation now!
September 28, 2021 - I’ve been using Duolingo (I’m aware it is limited), but half the new words are not pronounced and I’m not comfortable enough with the alphabet to sound them out! This is awesome ... Finally! Let me go try it. ... Still none for Yiddish tho πŸ˜”. But this is AMAZING ... This is particularly useful for Hebrew given that they don't always include niqud in the translation. Without audio or niqud there was no way to know for certain how a Hebrew word is pronounced.