Text To Speech Ninja


Add functionality to WordPress site to read blogs out loud in more than 30 languages and write blogs by speech in more than 30 languages.

There is no need to create an account it’s completely free. Just install the plugin and enjoy the whole features of the plugin.

Useful Links:


  1. Add a play button to any post/page by shortcode “[tta_listen_btn]”.
  2. Write your post by speech from the mobile, desktop, tab, or any device.
  3. Write comment by speech on any post.
  4. Unlimited text to speech and vice versa.
  5. Add more functionality to the website for a range of users including the visually impaired and the old people.
  6. Customization of button color, width and button text.
  7. Live preview of play button during customization.
  8. Add custom CSS and custom class to the button.
  9. Change recording language to any language.
  10. Change listening language to any language.
  11. Choose a voice from more than 20 voices.
  12. Unlimited speech to text and vice versa.
  13. Customization of listening in block editor.


  • Add play button to any post.
  • Write post by voice.
  • Customization of button.
  • Choose listening voice.
  • Choose recording language.
  • Documentation.
  • Gutenburg Support.
  • Customize the button in block editor, Block Name ( Customize Button ).


This plugin provides 1 block.

  • Text To Speech Ninja


  1. Download and unzip the plugin
  2. Upload the entire “text-to-audio” directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to “Text To Audio” menu and configure your settings


How to enable “speechSynthesis“ on FireFox?

Notice: This solution only for FireFox Desktop.
Open FireFox browser, search about:config on a new tab. Now search with this string and enable as true.
a. media.webspeech.synth.enabled

How to enable “SpeechRecognition“ on FireFox?

Notice: This solution only for FireFox Desktop.
Open FireFox browser, search about:config on a new tab. Now search with this string and enable as true.
a. media.webspeech.recognition.enable
b. media.webspeech.recognition.force_enable

Can I add button in Gutenburg block?

Yes, you can add listening button from block editor. Open you block editor and search Customize Button then add it.
Now you can change color, backgroundColor, width. And also add custom_css.

How to change button text?

You can change button text 2 ways one is by shortcode attribute. Another way is adding filter. But filter always overrides the shortcode attributes. Here is short code Example :
[tta_listen_btn listen_text=”Listen” pause_text=”Pause” resume_text=”Resume” replay_text=”Replay” start_text=”Start” stop_text=”Stop”]

Filter Example :
Install the plugin Code Snippets Then Select Snippet > Add New Create a new snippet with this block of code

add_filter( 'tta__button_text_arr', 'tta__button_text_arr_callback' );
function tta__button_text_arr_callback ( $button_text_arr ) {

    // Listen button
    $text_arr['listen_text'] = 'Listen'; // paste custem text
    $text_arr['pause_text'] = 'Pause'; // paste custem text
    $text_arr['resume_text'] = 'Resume'; // paste custem text
    $text_arr['replay_text'] = 'Replay'; // paste custem text

    // Record button text
    $text_arr['start_text'] = 'Start'; // paste custem text
    $text_arr['stop_text'] = 'Stop'; // paste custem text

    return $text_arr;

How to add custom css class to button?

Add class on shortcode as an attribute. Example : [tta_listen_btn class="custom_class"]

How can I change button background and text color?

Yes, you can change buttons background and text color from plugins dashboard’s customization menu. also from block editor by applying the customization button block.


November 14, 2022 1 reply
Good plugin. Thank you
November 9, 2022 1 reply
I love this FREE text-to-speech tool with audio quality better than most. I think it will go far. I can selectively put the shortcode at the top of posts I want read (once settings are set correctly) and exclude the home page. The addition of a shortcode with a single toggle button on the interface at the top is very simple and clean looking. I think the tool will go far in future versions. Could use better help/directions. Unless I'm mistaken, it doesn't appear to work on mobile devices due to limitations in the technology, at least according to other plugins I've tried that use the same technology -- that's what THEY say. Currently, the only other mobile plugin options I've found so far appears to be expensive paid tools or Speak It!, which has an awkward interface. But, for what it does on my site and the situation, I give 5 stars.
September 7, 2022 3 replies
IDK How, but it somehow works. Sometimes, it cuts the Text. Just 200 Words are spokeen and not everything. Make it better and take some fees. 🙂
May 19, 2022 1 reply
No gimmicks, no API keys to obtain, just pure pleasure. As a joke I have the computer cursing at my wife, and she just made the sofa for me,... the one in the garage !
Read all 6 reviews

Contributors & Developers

“Text To Speech Ninja” is open source software. The following people have contributed to this plugin.


Translate “Text To Speech Ninja” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


1.2.1 (2023-01-28)

  • Improved: Documentation improved.
  • Added: .pot file added for translation.
  • Updated: Plugin name from Text To Audio to Text To Speech Ninja.

1.2.0 (2023-01-04)

  • Fixed: speechSynthesis pause after 10 – 15 seconds issue fixed.
  • Tested: WordPress verison 6.1.1 tested.

1.1.6 (2022-10-22)

  • Tested: WordPress verison 6.1 tested .
  • Improved: Button UI improved.

1.1.5 (2022-10-22)

  • Added: enable/disable option for adding button to every post.
  • Improved: Settings UI improved.
  • Improved: Documentation improved.

1.1.4 (2022-10-09)

  • Button Icon : Button Icon display hide/show option added.
  • Tabs: Settings tab rearranged.

1.1.3 (2022-09-24)

  • Button text : Listeing and Recoding button text change option added throw filter and attribute.
  • Action Links: Plugin action Links added.
  • Documentation: Documentation Improved.
  • Filter added: tta__button_text_arr, tta__content_title, tta__content_description filter added.

1.1.2 (2022-09-14)

  • Bugfixed: is_plugin_active error fixed.
  • Improved: FireFox api missing notice update.

1.1.1 (2022-07-23)

  • Bugfixed: FireFox api missing alert bug fixed.
  • Improved: Documentation Improved.

1.1.0 (2022-07-23)

  • Feature: Customization of listening button from block editor. Block Name ( Customize Button )
  • Added : Documentation added for how to enable SpeechRecognition and speechSynthesis on FireFox.
  • Solved: FireFox SpeechRecognition and speechSynthesis issue solved.

1.0.4 (2022-07-12)

  • Changed: shortcode from [wps_listen_btn] to [tta_listen_btn]
  • Changed: Files name changed.
  • Fixed: Customization UI issue fixed.

1.0.3 (2022-06-17)

  • Fixed: Button CSS issue fixed.
  • Fixed: Button alignment issue fixed.
  • Added: Support ticket button added.
  • Added: Review button added.

1.0.2 (2022-05-26)

  • Make dashboard responsive.
  • Ask for a feature button added.
  • Browser support documentation added.
  • Bugfixed.

1.0.1 (2022-05-23)

  • Gutenburg support added.

1.0.0 (2022-05-18)

  • Initial release.