edge-tts-universal and edge-tts
These two tools are competitors, as both aim to provide JavaScript environments with access to Microsoft Edge's online text-to-speech service without external dependencies like Edge itself, Windows, or an API key, meaning a user would likely choose one over the other for the same task.
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 edge-tts
andresayac/edge-tts
Edge TTS is a Node or Bun package that allows access to the online text-to-speech service used by Microsoft Edge without the need for Microsoft Edge, Windows, or an API key.
Supports 36+ audio formats (MP3, WebM, OGG, WAV, PCM) with real-time streaming, word-boundary metadata extraction, and fine-grained prosody control (pitch, rate, volume). Reverse-engineers Microsoft Edge's internal TTS API through WebSocket communication, enabling access to neural voices without authentication. Provides both a programmatic TypeScript API and CLI tooling, with modular architecture for seamless integration into Node/Bun applications.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work