6 3
Contact Author Sign in to rate

gTTS text to speech support

0.03MB. Updated 2020-03-15. Only supports Anki 2.1.x.
The author has shared 13 other item(s).


Requires Anki 2.1.20 or later. This add-on is an example of how third-party TTS services can be plugged into Anki 2.1.20. If you're an end user wanting to add audio to your cards, consider using the AwesomeTTS add-on instead, which is better supported: https://ankiweb.net/shared/info/1436550454 If you do want to use this add-on, once installed, you can use the following in your card template to read the Front field aloud: {{tts en_US voices=gTTS:Front}} Replace en_US with the language of your choice. For more on TTS, please see https://apps.ankiweb.net/docs/manual.html#text-to-speech Source available at https://github.com/ankitects/anki-addons/blob/master/code/gtts_player/__init__.py


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author


on 1610321421
on 1609924360
superb bro
on 1609234945
not working on nixos

when clicking on play button
no players found for TTSTag(field_text='erste', lang='en_US', voices=['gTTS'], speed=1.0, other_args=[])

also {{tts-voices:}} shows nothing

this is weird, because the python gtts lib does not require api key as I can tell



I should have restarted


other error

raise ValueError(
ValueError: Unable to find token seed! Did https://translate.google.com change?

prob solution https://stackoverflow.com/a/65378198/3574379
on 1599611707
Want to confirm that we cannot go faster than 1X speed? I can't seem to speed it up. Otherwise great.
on 1598066443
With this add-on we don't need to input mp3 audio file to each of our card. This add-on can save our time greatly!
on 1586514484
good !
on 1585674101
Now you know how we feel!
on 1585234587
very good your explanation!! thks
on 1581364012
Is there a way to get this amazing add on to work on ankidroid as well?
Comment from author
I'm afraid add-ons only work in the computer version, though please note AnkiDroid has its own text to speech system in the app.