MsEdgeTTS and edge-tts
These are competitors offering alternative implementations of the same Microsoft Edge text-to-speech API, with the first using Azure Speech Service endpoints and the second using the online service directly.
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.
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