# Convert Text to Speech

**URL:** <https://forum.wixstudio.com/t/convert-text-to-speech/40654>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [June 20, 2022, 7:15am UTC](https://forum.wixstudio.com/t/convert-text-to-speech/40654 "2022-06-20T07:15:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppremkumar055](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ppremkumar055/32/30378_2.png) [@ppremkumar055](https://forum.wixstudio.com/u/ppremkumar055)\
**Post date:** [June 20, 2022, 7:15am UTC](https://forum.wixstudio.com/t/convert-text-to-speech/40654/1 "2022-06-20T07:15:22Z")

</div>

Hi guys,

Can anyone tell me how can convert any text into speech? This is a text we want to convert into speech only user clicks on speak button.

 ![](https://us1.discourse-cdn.com/wix/original/3X/1/9/192194ece4f03671baf126886493799a208a58e6.png)

And what if we want to speak only selected words when the user clicks on speak button?

Can we achieve this by using Google Cloud Text to Speech API or do we have any inbuilt NPM packages?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ppremkumar055](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ppremkumar055/32/30378_2.png) [@ppremkumar055](https://forum.wixstudio.com/u/ppremkumar055)\
**Post date:** [August 29, 2022, 2:11pm UTC](https://forum.wixstudio.com/t/convert-text-to-speech/40654/2 "2022-08-29T14:11:30Z")

</div>

Any response?
