edge-tts-universal and edge-tts
These two tools are competitors, with one implementing the Edge TTS service in JavaScript/TypeScript for web environments and the other providing a command-line tool and Go library for similar text-to-speech functionality.
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
bytectlgo/edge-tts
Edge TTS is a command-line tool based on Microsoft Edge's text-to-speech service, supporting multiple languages and voices. It can be used both as a command-line tool and as a Go library in your projects.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work