7

How do I download a pronunciation from Google Translation?

I'm using Google Chrome.

6 Answers 6

5

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=….

chrome firefox

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

enter image description here enter image description here

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.

1
  • Perfect and underappreciated solution. Thank you. Commented Apr 9, 2021 at 14:14
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.
1

You can use the online Listen App to download Google pronunciation as MP3 audio files.

1
  • It's not working. The downloaded file is empty. Also, I couldn't find an option to download pronunciation from foreign languages.
    – Clicker
    Commented Jul 2, 2017 at 7:21
1

None of these answers worked for me; after a bit of searching, I found a website called https://soundoftext.com/ that allows you to put in text, choose the language, and then be able to listen to and download the pronunciation. The voice is the exact same as Google Translate's -- hopefully this is helpful to anyone passing by this thread.

0

You can do this without any plugins or software. Any browser is capable of it. Here is a video showing how to do it in Microsoft Edge. You can follow the same method with Chrome.

1
0

For those that are Linux users, follow up to step 1 in @pfg's post only simply right click and hit copy request as curl (bash) then paste that after ffmpeg -i <( then append the rest of the pipes below.

ffmpeg -i <( paste curl command here | awk -F\" '/[/]/{print $7}' | head -1 | tr -d '\' | base64 -d) -ss 0 -t 60 output-filename.aac

After that you can convert it back to MP3 and it will be sharable with others.

The reason I am posting this is his solution didn't work for me. Network error

However just directly piping the curl'd input with an AWK selecting the base64 decoded segment and deleting the trailing escaping quotation into ffmpeg did work for me.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .