A powerful Chrome extension that transforms text into different tones using AI. Select text on any webpage or paste it into the extension popup to change its tone to professional, happy, excited, and more!
- Professional - Business-appropriate and formal
- Happy - Positive and upbeat
- Excited - High energy and enthusiastic
- Angry - Frustrated and stern
- Sarcastic - Witty and ironic
- Formal - Academic and structured
- Casual - Conversational and relaxed
- Friendly - Warm and approachable
- Select text on any webpage to see a floating button
- Click the button to instantly transform the selected text
- Or paste text directly into the extension popup
- Replace selected text directly on the webpage
- Works with input fields, text areas, and editable content
- Fallback to clipboard copy for protected content
- One-click copy to clipboard
- View transformation history (last 5 transformations)
- Clean, minimalist interface
-
Download or Clone
git clone <repository-url> cd ToneShift
-
Open Chrome Extensions
- Navigate to
chrome://extensions/
- Enable "Developer mode" (toggle in top right)
- Navigate to
-
Load Extension
- Click "Load unpacked"
- Select the
ToneShift
folder
-
Start Using Immediately!
- Click the extension icon and start transforming text
- Uses our provided API key for immediate access
- No configuration required!
For unlimited usage and higher quotas:
-
Get Free Gemini API Key
- Visit Google AI Studio
- Sign in with Google account
- Click "Create API Key"
- Copy the key (starts with
AIza
)
-
Configure Extension
- Click extension icon → Settings gear ⚙️
- Paste your API key
- Click "Save"
- Immediate access - No setup required
- Limited quota - Shared among all users
- Perfect for testing the extension
- Google Gemini 1.5 Flash - Fast and reliable
- FREE tier: 15 requests/minute, 1,500 requests/day
- No credit card required for basic usage
- Higher quotas available with paid plans
- Select text on any webpage
- Click the floating 🎭 button that appears
- Choose a tone from the options
- Click "Transform Text"
- Copy or replace the transformed text
- Click the extension icon in your toolbar
- Paste or type text in the input area
- Select your desired tone
- Click "Transform Text"
- Copy the result to clipboard
- View History: See your last 5 transformations
- Reuse Previous: Click on any history item to reload it
- Character Limit: Up to 2,000 characters per transformation
- Keyboard Shortcuts: Press Escape to hide the floating button
ToneShift/
├── manifest.json # Extension configuration
├── popup.html # Main popup interface
├── popup.js # Popup logic and API calls
├── content.js # Text selection and page interaction
├── content.css # Styles for injected elements
├── background.js # Service worker for API handling
├── styles.css # Main popup styles
├── icons/ # Extension icons
│ ├── icon16.png
│ ├── icon48.png
│ └── icon128.png
└── README.md
- Manifest V3 - Latest Chrome extension format
- Google Gemini API - Gemini 1.5 Flash for text transformation
- Chrome Storage API - Settings and history persistence
- Chrome Tabs API - Page interaction and text replacement
- Chrome 88+ (Manifest V3 support)
- Edge 88+ (Chromium-based)
- Other Chromium browsers with Manifest V3 support
- Text Processing: Sent to Google Gemini API for transformation only
- No Data Storage: Text is not stored on external servers
- Local Storage: API keys and history stored locally in browser
- No Tracking: No analytics or user tracking
activeTab
- Access current webpage for text selectionstorage
- Save settings and history locallyscripting
- Inject content script for text selection
- API key validation and secure storage
- Input sanitization and length limits
- Content Security Policy protection
- XSS prevention measures
"Our provided API quota is exhausted!"
- This means our shared API key has reached its daily limit
- Simply get your own FREE Google Gemini API key
- Visit Google AI Studio and follow the setup
- Your personal key gives you 1,500 free requests per day!
"Please configure your API key first"
- This appears if both our provided key and your personal key are unavailable
- Get a free API key from Google AI Studio
- Paste it in settings (gear icon) and click "Save"