pndurette/gTTS
Python library and CLI tool to interface with Google Translate's text-to-speech API
This tool helps you convert written text into spoken audio files. You provide any amount of text, and it generates natural-sounding MP3 audio that you can save or use in other applications. It's ideal for content creators, educators, or anyone needing to transform written content into spoken word quickly.
2,594 stars. Used by 13 other packages. Available on PyPI.
Use this if you need to turn text into an MP3 audio file for things like voiceovers, audiobooks, or spoken instructions.
Not ideal if you require enterprise-grade text-to-speech with guaranteed uptime and advanced voice customization, as this tool relies on an undocumented Google Translate feature.
Stars
2,594
Forks
382
Language
Python
License
MIT
Category
Last pushed
Dec 15, 2025
Commits (30d)
0
Dependencies
2
Reverse dependents
13
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/pndurette/gTTS"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Related tools
nateshmbhat/pyttsx3
Offline Text To Speech synthesis for python
KoljaB/RealtimeTTS
Converts text to speech in realtime
n1teshy/yapper-tts
offline text to speech and free SOTA LLM APIs to let your programs speak to you
dputhier/pygtftk
A python package and a set of shell commands to handle GTF files
wannaphong/ttsmms
TTS with The Massively Multilingual Speech (MMS) project