(Transform your writing with Google Gemini AI precision and style! ๐)
AI Text Rewriter Pro is a powerful Chrome extension that revolutionizes your writing using Google's advanced Gemini AI models. Perfect for content creators, professionals, students, and anyone who wants to enhance their writing with AI assistance. Features 17+ built-in rewriting modes, custom prompts, grammar checking, undo functionality, and seamless integration across all websites.
- Install: Download from Chrome Web Store (coming soon) or load unpacked
- Setup: Add your Google Gemini API key in extension settings
- Use: Select text on any website โ Right-click โ Choose AI rewriting mode
- Enjoy: Watch your writing transform with professional AI assistance!
Chrome Extension AI Writing Tools | Google Gemini Text Rewriter | AI Grammar Checker | Professional Writing Assistant | Content Creation Tools | Text Improvement Software | AI-Powered Editor | Writing Enhancement Extension | Productivity Tools for Writers | Automated Content Editing
Ever stared at a sentence you wrote and thought, "Wow, I sound like a bored robot trying to order pizza"? ๐ค๐ This extension is your secret weapon! It uses the mighty Google Gemini AI (multiple models available, from gemini-1.5-flash
to gemini-2.0-flash-lite
) to magically rewrite your text directly in input fields and text areas across the web.
Select some text, right-click, pick a vibe, and BAM! ๐ฅ New words. Hopefully better words. Sometimes... interesting words. It's AI, folks, it's a wild ride! ๐ข
- ๐ญ 17 Professional Writing Modes - From humanize to technical precision
- ๐จ Custom Mode Creator - Build your own rewriting styles
- โถ Undo Functionality - Instantly revert any rewrite
- โจ๏ธ Keyboard Shortcuts - Lightning-fast rewriting with hotkeys
- ๐ Usage Analytics - Track your writing improvements
- ๐ Dark Mode - Easy on the eyes, beautiful interface
- ๐ Multiple AI Models - Choose from latest Gemini models
- ๐ค Settings Export/Import - Backup and share your configurations
- ๐ก๏ธ Enhanced Error Handling - Robust retry logic and user-friendly messages
- ๐ฏ Smart Text Validation - Length limits and content filtering
- ๐ช Magic Wand Right-Click Action: Select text in almost any editable field, right-click, and BOOM - rewrite options appear!
- ๐ญ 17 Professional Writing Modes: From humanize to technical precision, empathetic to persuasive - we've got every tone covered!
- ๐จ Custom Mode Creator: Build your own rewriting styles with personalized prompts
- โถ Undo Functionality: Instantly revert any rewrite with a single click
- โจ๏ธ Keyboard Shortcuts: Lightning-fast rewriting with customizable hotkeys
- ๐ง Powered by Google's Brainiac Gemini: Multiple model options including
gemini-1.5-flash
,gemini-1.5-pro
, andgemini-2.0-flash-lite
- ๐ Secure API Key Storage: Uses
chrome.storage.sync
to save your precious Gemini API key (syncs across your Chrome browsers!) - ๐จ Modern Options Interface: Dark mode support and intuitive settings management
- ๐ Usage Analytics: Track your writing improvements and most-used modes
- ๐ข Smart Notifications: Helpful popups that tell you what's happening (and fade away gracefully)
- ๐ก๏ธ Enhanced Error Handling: Robust retry logic and user-friendly error messages
Mode | Purpose | Perfect For |
---|---|---|
๐ Humanize | Make text sound natural and conversational | Robot-like content, stiff writing |
โ Grammar Fix | Correct spelling and grammar only | Quick proofreading, error correction |
๐ Professional | Business-appropriate formal tone | Emails, reports, official documents |
๐ Polite | Courteous and respectful language | Customer service, delicate situations |
๐ Casual | Friendly, informal conversation | Social media, casual emails |
๐ช Confident | Assertive and decisive language | Presentations, negotiations |
โค๏ธ Empathetic | Understanding and caring tone | Support messages, sensitive topics |
๐ฏ Persuasive | Compelling and convincing | Sales copy, proposals, arguments |
โก Concise | Clear and to-the-point | Headlines, summaries, tweets |
๐ Detailed | Comprehensive and thorough | Explanations, tutorials, guides |
๐จ Creative | Engaging and imaginative | Marketing copy, storytelling |
๐ฌ Technical | Precise and specification-focused | Documentation, instructions |
๐ Cheeky | Playful and slightly sarcastic | Social media, casual content |
๐ Beginner-Friendly | Simple and accessible language | Educational content, how-tos |
โ๏ธ Composer | Generate content from instructions | Create new text from prompts |
๐ Translate | Convert to English or improve clarity | International content, clarity |
๐ Summarize | Extract key points concisely | Long documents, research |
Alright, since this isn't (yet?) on the Chrome Web Store (because who has time for reviews? ๐), you gotta load it manually like a true tech wizard (or someone who can follow instructions).
- Grab the Goods ๐๏ธ: Download the extension files. Either clone the repository or download the ZIP and unzip it somewhere you won't accidentally delete it later. Let's call this magical place the
ai-rewriter-extension
folder. - Open Chrome's Secret Lair ๐ช: Open Google Chrome, type
chrome://extensions
in your address bar, and hit Enter. Spooooky! - Flip the Super Secret Developer Switch ๐ต๏ธโโ๏ธ: Look for a toggle labeled "Developer mode" (usually in the top right corner). Click it. If it's on, you're basically a hacker now. Congrats.
- Shove the Folder at Chrome ์ฑ: Click the "Load unpacked" button that magically appeared. A file browser window will pop up.
- Point and Shoot ๐: Navigate to and select that
ai-rewriter-extension
folder (the one containing themanifest.json
file, not the zip file!). Click "Select Folder" or "Open". - Bask in the Glory (or fix errors) ๐: If all went well, you should see the "AI Text Rewriter Pro" extension card appear on the page! If you see angry red errors, you probably messed up step 5. Go back and try again, champ. ๐ช
- Pin for Easy Access: Click the puzzle piece icon in Chrome's toolbar and pin the AI Text Rewriter Pro extension for quick access.
๐ Ta-da! The extension icon should appear in your Chrome toolbar!
- Click the extension icon or right-click โ "Settings"
- Get your free API key from Google AI Studio
- Paste your API key and test the connection
- Customize your settings (models, modes, shortcuts)
- Save and start rewriting!
Right-Click Method:
- Select text in any editable field
- Right-click on the selected text
- Choose "โจ Rewrite with AI" โ pick your desired mode
- Watch the magic happen!
Keyboard Shortcuts:
Ctrl+Shift+H
- Humanize selected textCtrl+Shift+P
- Professional toneCtrl+Shift+Z
- Undo last rewrite
Okay, here's the slightly annoying part. This extension needs YOUR Google Gemini API Key to actually talk to the AI. Think of it like needing a password to get into the cool AI club.
Why? Because accessing powerful AI models costs money (or at least has usage limits), and Google needs to know who's asking! This extension makes requests directly from your browser using your key.
Where to Snag This Magical Key? ๐ค
- Go to the Google AI Studio. You'll likely need a Google account.
- Click the button that says something like "Create API key".
- It might ask you to create a project first. Just follow the prompts, nod wisely, and click "Agree" to things you probably won't read.
- Eventually, it will reveal your SECRET API KEY. It's a long string of random letters and numbers.
- COPY THIS KEY! ๐ Treat it like a password. Don't share it publicly!
Plugging in the Power Cord ๐
- Click the AI Text Rewriter Pro extension icon ๐งฉ in your Chrome toolbar. This should open the modern Options page.
- Alternatively: Go back to
chrome://extensions
, find the AI Text Rewriter Pro card, click "Details", then "Extension options". So many clicks!
- Alternatively: Go back to
- You'll see a field labeled "Gemini API Key". It's a password field, so you won't see the key as you paste (oooooh, security! โจ).
- PASTE your copied API key into this box.
- Click the glorious "Save Key" button. ๐พ
- You should see a happy green message saying "API Key saved successfully!". โ If you see an angry red message, well... Houston, we have a problem. ๐ (Did you paste the whole key?).
โ IMPORTANT NOTE ABOUT YOUR KEY โ
- Keep it Secret, Keep it Safe! ๐ Don't commit it to public code, don't paste it in random chat rooms. It's linked to your Google account.
- Usage Might Cost $$$! Google often has a free tier for their APIs, but heavy usage could potentially incur costs. Check their pricing! You are responsible for the usage associated with your key. Don't blame us if you rewrite War and Peace and get a bill. ๐ธ
Okay, installed? โ API key saved? โ Ready to rock? โ Let's rewrite!
- Find a Victim... I Mean, a Text Box ๐ฏ: Go to any website with a text input field (
<textarea>
, some<input>
fields). Think email drafts, comment boxes, social media posts, online notepads... you get the idea.- Heads Up: This probably won't work on super fancy custom editors like Google Docs or Notion directly, as they do weird things. It definitely won't work on
chrome://
pages (like the extensions page itself) for security reasons! Stick to normal web pages (http/https).
- Heads Up: This probably won't work on super fancy custom editors like Google Docs or Notion directly, as they do weird things. It definitely won't work on
- Type Your Soon-to-be-Glorious Words โจ๏ธ: Write something. Anything! Pour your heart out, or just type "the quick brown fox jumps over the lazy dog".
- Highlight the Chosen Ones โจ: Select the text you want to transform using your mouse or keyboard.
- Invoke the Menu! Right-Click Pow! ๐ฑ๏ธ๐ฅ: Right-click directly on the selected text.
- Behold! The Menu! ๐คฉ: Hover over the "โจ Rewrite with AI" option in the context menu that pops up.
- Pick Your Mode ๐ญ: Choose one of the 17 available modes from the sub-menu (Humanize, Professional, Creative, Technical, etc.).
- Patience, Grasshopper... ๐ฑ: A sleek notification will appear showing the progress. The extension sends your text and chosen mode to the selected Gemini AI model. Response time depends on text complexity and your selected AI model. ๐น
- Witness the Transformation! ๐ช: If the AI gods smile upon you, the selected text will be replaced with the rewritten version! ๐
Create your own rewriting styles:
- Go to Settings โ Custom tab
- Enter a name and detailed prompt
- Save and use it like any built-in mode
- Export/import custom modes between devices
Track your writing improvements:
- Total rewrites performed
- Characters processed
- Most-used modes
- Usage timeline
- Rate Limiting: Prevents API overuse
- Text Length Limits: Configurable maximum text size
- Error Recovery: Automatic retries with exponential backoff
- Safety Filters: Content moderation built-in
- Multiple AI Models: Choose between Gemini 1.5 Flash, Pro, or 2.0
- Dark Mode: Beautiful dark interface
- Keyboard Shortcuts: Customizable hotkeys
- Undo History: Keep track of recent changes
- Settings Backup: Export/import all configurations
Version 2.1.1 introduces comprehensive error handling to keep you informed every step of the way:
- API Key Validation: Instant feedback on missing or invalid API keys
- Network Error Handling: Clear messages for connection issues
- Rate Limit Detection: Helpful notifications when API limits are reached
- Content Safety Filters: Informative messages about blocked content
- Clickable Error Messages: Click on API key errors to open settings directly
- System Notifications: Native Chrome notifications for setup reminders
- Progressive Error Messages: Context-aware help based on error type
- Auto-Recovery: Intelligent retry logic for temporary issues
Error Type | What It Means | How to Fix |
---|---|---|
๐ "No API key configured" | Missing Gemini API key | Click notification to open settings |
๐ซ "Invalid API key format" | Incorrect key format | Check your key starts with "AIza" |
โก "Rate limit reached" | Too many requests | Wait a few minutes before trying again |
๐ "Network error" | Connection issues | Check your internet connection |
๐ก๏ธ "Content blocked" | Safety filters triggered | Try rephrasing your text |
โฐ "Request timeout" | Server response delay | Try again with shorter text |
- Content Creators - Adapt tone for different audiences
- Business Professionals - Polish emails and documents
- Students - Improve academic writing
- Customer Service - Craft appropriate responses
- Social Media Managers - Match brand voice
- Non-native Speakers - Enhance English fluency
- Marketers - Create compelling copy
- Technical Writers - Clarify complex concepts
-
๐
Humanize
: Make text sound natural and conversational ๐คโก๏ธ๐งโ๐จ- Perfect for: Robot-like content, stiff writing, overly formal text that needs a conversational flow.
-
โ
Grammar Fix
: Your personal proofreader ๐ง- Perfect for: Quick error correction without changing tone or meaning. Focuses purely on spelling and grammar.
-
๐
Professional
: Business-appropriate formal tone ๏ฟฝ- Perfect for: Work emails, reports, official documents, presentations, and corporate communication.
-
๐
Polite
: Courteous and respectful language- Perfect for: Customer service, delicate situations, requests, and when you need to sound diplomatic.
-
๐
Casual
: Friendly, informal conversation- Perfect for: Social media posts, casual emails, friendly messages, and relaxed communication.
-
๐ช
Confident
: Assertive and decisive language- Perfect for: Presentations, negotiations, leadership communication, and when you need to sound authoritative.
-
โค๏ธ
Empathetic
: Understanding and caring tone- Perfect for: Support messages, sensitive topics, consoling someone, and emotional communication.
-
๐
Cheeky
: Playful and slightly sarcastic- Perfect for: Social media content, casual writing, humor, and when you want to add personality.
-
๐ฏ
Persuasive
: Compelling and convincing language- Perfect for: Sales copy, proposals, arguments, marketing content, and calls-to-action.
-
โก
Concise
: Clear and to-the-point- Perfect for: Headlines, summaries, tweets, bullet points, and when brevity matters.
-
๐
Detailed
: Comprehensive and thorough- Perfect for: Explanations, tutorials, guides, documentation, and in-depth content.
-
๐จ
Creative
: Engaging and imaginative- Perfect for: Marketing copy, storytelling, creative writing, and content that needs flair.
-
๐ฌ
Technical
: Precise and specification-focused- Perfect for: Documentation, instructions, technical writing, and professional specifications.
-
๐
Beginner-Friendly
: Simple and accessible language- Perfect for: Educational content, how-to guides, explaining complex topics simply.
-
โ๏ธ
Composer
: Generate content from instructions ๐ง- Perfect for: Creating new text from prompts. Type your instruction (e.g., "write email asking for project update"), select it, and choose Composer to generate fresh content.
-
๐
Translate
: Convert to English or improve clarity- Perfect for: International content, non-native English text, and improving readability.
-
๐
Summarize
: Extract key points concisely- Perfect for: Long documents, research papers, articles, and when you need the main points.
Yeah, sometimes technology just says "NOPE". ๐ โโ๏ธ Here's a comprehensive guide:
๐ญ It's Not Working AT ALL!
- API Key: Did you actually save your API key correctly in the options? Is it the right key? Double-check!
- Reload Extension: Go to
chrome://extensions
and click the little refresh icon ๐ on the AI Text Rewriter Pro card. Sometimes extensions get sleepy. - Reload Page: Try refreshing the webpage (F5) you're trying to use it on.
- Check Console (Background): Go to
chrome://extensions
, find the AI Text Rewriter Pro card, and click the "Service worker" link. Look for RED ERROR MESSAGES in the console window that pops up after you try to use the extension. Copy/paste these if you need help! - Check Console (Page): On the webpage where it's failing, right-click anywhere, select "Inspect", and go to the "Console" tab. Try using the extension again. Any RED ERRORS there?
"API Key not working"
- Verify key is correctly copied from Google AI Studio
- Check if your Google account has API access enabled
- Test connection in Settings โ General โ Test API Key
๐ซ Error: Cannot access chrome:// URL
- You're trying to use the extension on a Chrome settings page (like
chrome://extensions
). For security reasons, Chrome blocks extensions from messing with these pages. Use it on a regularhttp://
orhttps://
website.
"Cannot rewrite on this page"
- Extension only works on regular websites (http/https)
- Won't work on Chrome internal pages (chrome://)
- Ensure you're in an editable text field
"Text not replacing"
- Click in the text field before selecting text
- Try refreshing the page and attempting again
- Check browser console for detailed error messages
โจ Weird Output (Options, Asterisks *
, Emails when you didn't ask?)
- The AI can be a bit... creative. We've tried to tell it very sternly in the prompts to JUST give the rewritten text and nothing else (no markdown like
*emphasis*
, no "Option 1:", etc.). - If you still get weird formatting or unexpected content (like a full email for "Professional Tone"), the AI might be ignoring instructions. We added some cleanup code, but it's not perfect. Prompt engineering is hard! ๐คทโโ๏ธ
๐ฆ Error: Content blocked by API...
- The AI's safety filters might have flagged your original text or the requested rewrite (especially possible with "Cheeky"). Try rephrasing your original text or using a different mode.
"Too many requests"
- Built-in rate limiting prevents API overuse
- Wait 60 seconds and try again
- Consider upgrading your Google AI Studio plan for higher limits
๐ API Errors (4xx/5xx Status)
400 Bad Request
: Often means the model name is wrong or the request format is broken. Try switching AI models in settings.401 Unauthorized
/403 Forbidden
: Almost always an API Key problem. Is it correct? Is it enabled? Does your Google Cloud project have the API enabled?404 Not Found
: The API endpoint URL might be wrong.429 Too Many Requests
: You might be hitting rate limits on the free tier. Slow down!500 Internal Server Error
: Google's servers are having a hiccup. Try again later. โ
- Check the browser console (F12) for detailed error messages
- Test your API connection in the settings
- Try different AI models if one isn't working
- Report issues with specific error messages
- Your API Key: Stored locally in your browser, never shared
- Your Text: Sent directly to Google's servers, not stored by us
- Usage Data: Optional analytics stored locally only
- No External Tracking: No third-party analytics or tracking
- Open Source: Inspect the code to verify privacy practices
-
Choose the Right Model:
- Gemini 1.5 Flash: Fastest, most cost-effective
- Gemini 1.5 Pro: More capable, better for complex tasks
- Gemini 2.0 Flash: Latest features, experimental
-
Optimize Text Length:
- Keep selections under 2000 characters for best speed
- Break long documents into smaller sections
- Use concise mode for lengthy content
-
Use Custom Modes:
- Create specific prompts for recurring tasks
- More targeted results than generic modes
- Save time with personalized workflows
- ๐ Multi-language Support - Rewrite in different languages
- ๐ Voice Input - Dictate text for rewriting
- ๐ฑ Mobile Support - Browser extension for mobile
- ๐ค AI Model Comparison - Side-by-side results
- ๐ Template Library - Pre-made prompts for common tasks
- ๐ Integration APIs - Connect with other writing tools
- ๐ Advanced Analytics - Writing improvement insights
Hey, if you have ideas to make this less buggy or more awesome, or if you found a hilarious bug (like it rewriting everything into pirate speak ๐ดโโ ๏ธ - which would be kinda cool, actually), feel free to:
- Open an issue on the GitHub repository (if this is on GitHub... otherwise, uh... tell the developer?).
- Fork it, fix it, and submit a pull request (again, GitHub stuff).
We appreciate the help making this thing slightly less likely to explode. ๐ฅ
This extension is licensed under the MIT License.
Basically, this means you can do almost whatever you want with this code (use it, copy it, modify it, sell it - though good luck with that!), as long as you include the original copyright and license notice.
BUT, there's NO WARRANTY. If this extension accidentally deletes your masterpiece novel, formats your hard drive, or makes your coffee cold... tough luck. Use at your own risk! ๐
- Google Gemini AI - Powering the intelligence behind every rewrite
- Chrome Extension APIs - Making seamless integration possible
- Open Source Community - Inspiration and best practices
- Beta Testers - Feedback that shaped this extension
- Special thanks to the Google Gemini team for their amazing AI technology!
- Thanks to the Chrome extension development community for all the resources and inspiration! ๐
- And a big shoutout to you, the user! Thanks for trying out this extension and making the internet a slightly more interesting place! ๐โจ
Enjoying AI Text Rewriter Pro? Here's how you can help:
- โญ Star the repository (if open source)
- ๐ฌ Share with friends who write content
- ๐ Report bugs to help improve the extension
- ๐ก Suggest features for future versions
- โ Buy me a chai (because coffee is overrated!)
If you like this extension, consider buying me a coffee! โ (Just kidding, I don't drink coffee. But I appreciate the thought!)
Transform your writing today with AI Text Rewriter Pro! โจ
Made with ๐ and lots of โ (actually ๐ซ chai) by Supratim
Happy Rewriting! May your words be ever in your favor! โจ