edge-tts-universal and MsEdgeTTS
These two tools are competitors, as both aim to provide programmatic access to Microsoft Edge's text-to-speech service, with "travisvn/edge-tts-universal" specifically targeting JavaScript environments without OS or browser dependencies, and "Migushthe2nd/MsEdgeTTS" being a Python module built on the same underlying API.
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.
About MsEdgeTTS
Migushthe2nd/MsEdgeTTS
A simple Azure Speech Service module that uses the Microsoft Edge Read Aloud API. https://www.npmjs.com/package/msedge-tts
Provides fine-grained audio control via SSML markup for rate, pitch, and volume adjustment, with support for multiple neural voices and output formats (WebM, MP3, WAV, etc.). Streams audio directly or writes to files, and optionally captures sentence/word boundary metadata for precise timing synchronization. Works server-side in any Node.js runtime and supports custom HTTP agents for proxy configurations.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work