rany2/edge-tts
Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
Easily convert written text into natural-sounding speech, complete with optional subtitles, using Microsoft's advanced text-to-speech technology. You provide the text, select a voice, and receive an audio file (like MP3) and a subtitle file (SRT). This is ideal for content creators, educators, or anyone needing high-quality spoken audio from text.
10,304 stars. Used by 10 other packages. Available on PyPI.
Use this if you need to quickly generate spoken audio and corresponding subtitles for videos, presentations, or accessibility features without a complex setup or API keys.
Not ideal if you require highly customized speech markup beyond adjusting rate, volume, or pitch, or if you need to integrate with a service that already has a built-in text-to-speech option.
Stars
10,304
Forks
976
Language
Python
License
—
Category
Last pushed
Dec 12, 2025
Commits (30d)
0
Dependencies
4
Reverse dependents
10
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/rany2/edge-tts"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Compare
Related tools
travisvn/edge-tts-universal
Use Microsoft Edge's online text-to-speech service in Node.js, browsers, or any JavaScript...
Migushthe2nd/MsEdgeTTS
A simple Azure Speech Service module that uses the Microsoft Edge Read Aloud API....
lobehub/lobe-tts
🎤 Lobe TTS - A high-quality & reliable TTS/STT library for Server and Browser
hs-CN/msedge-tts
This library is a wrapper of MSEdge Read aloud function API. You can use it to synthesize text...
LibreSpark/LibreTTS
TTS-文本转语音/文本转语音前端,兼容OpenAI、EdgeTTS等接口