edge-tts and edge-tts-universal

These are ecosystem siblings—parallel implementations of the same Microsoft Edge TTS API for different runtime environments (Python vs. JavaScript), allowing developers to access identical functionality across their language of choice.

edge-tts
76
Verified
edge-tts-universal
60
Established
Maintenance 6/25
Adoption 25/25
Maturity 25/25
Community 20/25
Maintenance 10/25
Adoption 8/25
Maturity 24/25
Community 18/25
Stars: 10,304
Forks: 976
Downloads: 1,559,634
Commits (30d): 0
Language: Python
License:
Stars: 59
Forks: 14
Downloads:
Commits (30d): 0
Language: TypeScript
License: AGPL-3.0
No risk flags
No risk flags

About edge-tts

rany2/edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key

Leverages Microsoft Edge's cloud TTS API by reverse-engineering the WebSocket protocol it uses, providing async Python bindings alongside CLI tools (`edge-tts`, `edge-playback`) for batch synthesis. Supports 100+ neural voices across languages with prosody control (rate, pitch, volume), subtitle generation, and integrates with automation frameworks like Home Assistant.

About edge-tts-universal

travisvn/edge-tts-universal

Use Microsoft Edge's online text-to-speech service in Node.js, browsers, or any JavaScript environment WITHOUT needing Microsoft Edge or Windows or an API key

Replicates Microsoft's WebSocket protocol with custom headers (Sec-WebSocket-Version, MUID authentication) and timing-aware chunk synthesis, working across Node.js, Deno, Bun, and edge runtimes via Web standard APIs. Offers multiple entry points (Universal, Node.js-optimized, Browser, WebWorker) with tree-shakable imports, from ~30KB gzipped for browser-only to ~46KB for full Node.js functionality, plus streaming APIs with metadata events (WordBoundary, SentenceBoundary) for subtitle synchronization.

Scores updated daily from GitHub, PyPI, and npm data. How scores work