Add text to speech to your website
Give your readers a Listen to this article button. It reads the article aloud right on your page, with no app or plugin for them to install.
It makes your site more accessible to people with low vision, dyslexia and reading difficulties, and lets everyone listen on the go. Why every website should have one.
How it works
- Create a free account and add your website's domain.
- Pick the language, voice and look from the menus, then copy the code it makes into your article template. On WordPress, use our plugin instead.
- Readers press the button and hear the article. The audio is prepared as soon as the first reader opens a new or edited article, so it's usually ready before anyone presses play, and everyone after that gets it instantly.
Try it and make your code
Pick a language, voice and look. The preview below updates as you go, and the code underneath is ready to copy.
Choose how the button should work, then copy the code into your pages. No coding needed.
Create a free account and add your website to get your player key, then replace YOUR_PLAYER_KEY in the code. The same menus are on your account page and fill the key in for you.
Options
| Attribute | What it does |
|---|---|
data-key | Your player key, from your account page. Required. |
data-lang | The article's language, for example english, french or arabic. The slug is the last part of each language page's address. |
data-target | A CSS selector for the article text. Defaults to article. Use something like .post-body if your theme is different. |
data-voice | Optional. A voice id from /api/voices?lang=english. |
data-color | Optional. The button colour as a hex code, such as #0b6bcb. |
data-style | Optional. One of neutral, happy, excited, calm, sad, angry, serious. Default neutral. |
data-label | Optional. Button text, such as "Écouter l'article". |
To skip parts of the page (captions, ads, "related posts"), add data-ttsmp3-skip to those elements.
WordPress
Use our plugin, no code needed:
- Download the TTSMP3 Listen Button plugin (zip).
- In WordPress, go to Plugins → Add New → Upload Plugin, choose the zip, then Activate.
- Open Settings → TTSMP3 Listen Button, paste your player key, and pick the language, voice and style from the menus.
The button then appears on every post. You can hide it on single posts, or place it yourself with the [ttsmp3_player] shortcode.
Usage
Each account includes a monthly number of characters for the player. Characters count once, when an article's audio is first made (and again only for parts you edit). Search engines and other robots never trigger it. See pricing.