GTTS
Visit ToolgTTS is a Python library and CLI tool that interfaces with Google Translate's text-to-speech API. It allows users to convert text into spoken MP3 data for various audio applications.
At a glance
Trending
gTTS is a Python library and CLI tool that interfaces with Google Translate's text-to-speech API. It allows users to convert text into spoken MP3 data for various audio applications.
Trending
About
gTTS (Google Text-to-Speech) is a versatile Python library and command-line interface (CLI) tool designed to interact with Google Translate's text-to-speech API. It enables users to convert written text into spoken MP3 audio data, which can then be saved to a file, a file-like object (bytestring) for further audio manipulation, or streamed to stdout. A key feature is its customizable speech-specific sentence tokenizer, which handles unlimited text lengths while preserving proper intonation, abbreviations, and decimals. The tool also offers customizable text pre-processors for pronunciation corrections. While leveraging Google Translate's speech functionality, it's important to note that this project is not affiliated with Google or Google Cloud and is distinct from Google Cloud Text-to-Speech.
Capabilities
Pricing & Plans
Open Source
Free
FAQs
Trending