Clone repo or download source code
python -m pip install -r requirements.txtpython -m venv venv
venv\Scripts\activate
python -m pip install -r requirements.txt💡 It's recommended to use a virtual environment to avoid dependency conflicts with other Python projects.
python app.pyOr double-click app.py if file associations are properly configured on Windows.
- ✅ Enter text in a modern, styled tkinter GUI
- ✅ Converts entered text to speech using Microsoft Edge TTS (multilingual)
- ✅ Saves audio to a temporary
.mp3file - ✅ Plays it back instantly with
pygame - ✅ Works offline once dependencies are installed
- ✅ Clean threading ensures GUI stays responsive during TTS generation
edge-tts– Leverages Microsoft’s online speech synthesispygame– Lightweight audio playback for.mp3outputttkbootstrap– Modern Bootstrap-inspired GUI styling for tkintertempfile,uuid,os,asyncio,threading,tkinter– Standard Python libraries
- Add ability to export
.mp3files to a user-defined location - Voice selection previews
- Custom speaking rate and pitch sliders
- Support for macOS and Linux platforms
This app was only tested on Windows 10/11.
Microsoft's built-in TTS options are surprisingly limited and clunky, which is why this tool was hacked together in one morning to solve a real personal need.
Temporary .mp3 files are created in your OS temp directory and may be cleaned up manually if needed (though they’re generally small and disposable).
MIT License – Free for personal and commercial use.
Created with Python
If you like this, ⭐️ the repo.