A Chrome extension that automatically reads selected text aloud from any webpage, with intelligent voice selection and immediate stop functionality when text is deselected.
- 🎯 Instant text-to-speech conversion of selected text
- 🛑 Automatic speech stopping when text is deselected
- 🗣️ Optimized for Indian English voice (falls back to other English voices if unavailable)
- 🔄 Handles multiple selections seamlessly
- 🎚️ Customized speech settings for clarity
- 🔍 Works on any webpage
- Clone this repository:
git clone https://github.com/DivineDarshan/Text-to-Speech-Chrome-Ext- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- Select any text on any webpage
- The extension will automatically start reading the selected text
- Deselect the text or select different text to stop the current reading
- Close the tab to stop speech immediately
The extension consists of three main components:
- Background Script: Manages the core text-to-speech functionality and voice selection
- Content Script: Handles text selection events and communicates with the background script
- Manifest: Defines extension permissions and configuration
- Speech Rate: 0.9 (90% of normal speed)
- Pitch: 1.1 (slightly higher than normal)
- Volume: 1.0 (maximum)
- Voice Selection: Prioritizes Indian English voices, with fallback to GB/US English
The extension requires minimal permissions:
activeTab: To access the current tab's contenttabs: To manage speech when tabs are closed
Contributions are welcome! Feel free to submit issues and enhancement requests on the GitHub repository.
MIT License
Created and maintained by DivineDarshan