How To Convert Text Into Audio Using Notepad

Rate this post

This post will teach you how convert the input text to speech using Microsoft’s inbuilt speech software by importing it using notepad. 
This is a really simple notepad trick. Its pretty fun. 

How To Convert Text Into Audio Using Notepad:

1: Open Notepad. You can do this by searching for Notepad in the windows search
    Or Press Win+R and type Notepad and Press Enter.
2: Now, Copy following program and paste it in Notepad–


Dim message, sapi
message = InputBox(“A Best Text to Audio converter”+vbcrlf+”From – https://hexcode.in”,”Text to Audio converter”)
Set sapi = CreateObject(“sapi.spvoice”)
sapi.Speak message

3: Now lets save the code we entered above. The code has to be saved in .vbs format rather than standard .txt format.
4: Now navigate yourself to the location where the code is stored. in my case it was stored on the desktop so i will just go to the desktop and check for it. You can see that the file we saved was in the Visual Studio Script ( vbs ) format.
5: Now just double click on the saved file and Enter the text you want to hear in the text box. The moment you click OK , You can hear the text you entered as Audio.

Whatsapp Broadcast Number - 9812736696

Like our Facebook Page Join our Facebook Group
Profile photo of Dinesh Sangwan
Show full profile

I'm a 22 years old passionate blogger and Graduate in Computer Science. Mainly I write for how to save money online. Apart from blogging, I love Video Games, Hollywood Movies, Playing Volleyball and listening music.

We will be happy to hear your thoughts

      Leave a reply

      Reset Password