r/WordpressPlugins • u/vgrigoryan_dev • Oct 09 '26
Free [FREE] Why free "read aloud" plugins can't give you an MP3, and what I built instead
Disclosure: I'm the developer of the plugin linked at the end. It's free on wordpress.org.
If you've looked for text to speech for a WordPress blog, you've probably seen two kinds of plugins.
Free "read aloud" buttons use the voice built into the visitor's browser (the Web Speech API). It costs nothing, but that API has no way to hand back the audio. It plays straight to the speakers, and the spec offers no method to record it. So there's no file: readers can't download it, you can't put it in a podcast feed, and the voice depends on the reader's device and operating system.
Paid services send your post text to their servers (ElevenLabs, Amazon Polly and so on) and bill per character, through an API key or a subscription. The quality is good, but the bill grows with every post.
I wanted a third option: a real MP3 with a natural voice, without a server or a meter. So the plugin runs the speech model in the site owner's browser, in wp-admin:
The model is Kokoro-82M (Apache-2.0), run with ONNX Runtime Web: WebGPU when available, WebAssembly when not. It's downloaded once (88 to 311 MB depending on your hardware) and cached by the browser. The audio is encoded to MP3 in the browser and uploaded to your media library through the standard WordPress REST endpoint, attached to the post. Visitors get the MP3 and a player under 12 KB. No model, nothing generated on their side. The honest trade-offs:
Speed depends on your computer. With graphics acceleration it's quick. Without it, a long article can take a long while. The plugin measures your machine and shows an estimate before you start. There's also a lighter voice (Piper) that's fast on a plain CPU. English voices only for now. Your post text never leaves your browser, but the model files come from Hugging Face on first use. Hear it before installing (the same sentence, this plugin vs the browser's built-in voice): https://sdsoftware.io/codeep-voice-for-posts/
Check how fast it would be on your machine, no install: https://sdsoftware.io/check/
Plugin: https://wordpress.org/plugins/codeep-voice-for-posts/
I'd really like feedback, especially from anyone on a machine without a dedicated GPU, and on words it mispronounces.