What it does
edge-tts lets you use the online text-to-speech voices that Microsoft Edge uses for reading pages aloud, without opening the Edge browser. You give it text and it saves an MP3 file, plus optional subtitles.
There are many voices in many languages, and you can change the speed, volume and pitch. It can also play the speech straight away.
It is an unofficial tool that talks to Microsoft's online service, so your text is sent to Microsoft and it only works while that service allows it. It can be used from the command line or inside Python programs.
Who it's for
Hobbyists and developers who want free, natural-sounding narration for videos, audiobooks or apps.
Can I use it without coding?
With some setup. Installed with Python and used by typing commands; there is no app window. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Mac, Windows, Linux
- Computer
- An ordinary computer is fine
- Privacy
- Sends what you give it to an online service
- API key
- Not needed
Try it
- Install Python, then install edge-tts with Python's package installer.
- Type your text into the edge-tts command and choose a voice to save it as an audio file.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- No standard license listed. Check the GitHub page before using it for business.
- What you type or upload is sent to an online service. Avoid sharing private or sensitive information.
- More on staying safe
Where people are talking about it
- Edge TTSHacker News · Jan 2025