(Transform your writing across the web with OpenAI and OpenAI-compatible APIs! ๐)
AI Text Rewriter Pro is a modern Chrome extension that seamlessly integrates AI rewriting into any webpage, textbox, and rich-text editor. Featuring 15 built-in modes including Retone, an in-textbox quick AI bubble, in-place preview toolbar, customizable aggressiveness slider (0.0 to 2.0), and compatibility with WhatsApp Web, Reddit, ChatGPT, and Notion.
- Install: Download from Chrome Web Store or load unpacked
- Setup: Add your OpenAI API key or connect to any OpenAI-compatible provider (Gemini, Groq, OpenRouter, DeepSeek, Ollama, LM Studio)
- Use: Click the in-textbox AI bubble or select text โ Right-click โ Choose your AI rewrite mode
- Enjoy: Watch your writing elevate with clean, high-precision AI assistance!
- ๐ซง In-Textbox Quick AI Bubble - Compact circular brand bubble inside textboxes and chat inputs for 1-click rewrites
- ๐๏ธ AI Aggressiveness & Temperature Slider - Custom gradient slider from
0.0(Strict & Precise) to2.0(Wild & Creative) with real-time feedback - ๐ก๏ธ In-Place Floating Confirmation Toolbar - Dynamic mode badge with official brand icon, green
Accept [Enter], and frostedDecline [Esc] - ๐ Universal Rich-Text Compatibility - Full support for WhatsApp Web, Reddit (ProseMirror), Lexical, Notion, ChatGPT, and contentEditable fields
- ๐ฏ Configurable Default Rewrite Mode - Choose your favorite mode (Retone, Humanize, Professional, Grammar, or Custom) as the primary 1-click action
- ๐จ Modernized Iconography & Studio UI - High-contrast color icons for all 15 modes, tabs, and action controls
- ๐ Zero-Flicker Theme Override - 3-way switcher (System, Light, Dark) with instant synchronous persistence
- ๐ค Multi-Provider LLM Presets - 1-click configuration for OpenAI, OpenRouter, Groq, Google Gemini, DeepSeek, Vercel, Ollama, and LM Studio
- โถ Atomic Undo & History - Safely revert any changes with keyboard shortcuts (
Ctrl+Shift+Z) or toolbar dismissal - ๐ Usage & Token Analytics - Track words rewritten, tokens saved, and most-used modes
- ๐ซง 1-Click In-Textbox Quick Bubble: Hover and click the brand bubble in active textboxes and chat prompts for instant rewriting!
- ๐ช Right-Click Context Menu: Select text anywhere on the web and pick from 15 curated writing modes
- ๐๏ธ Dynamic Aggressiveness Control: Adjust AI temperature from 0.0 to 2.0 with dynamic per-mode calibration
- ๐ญ 15 Built-in Writing Modes: Retone, Humanize, Professional, Academic, Technical, Casual, Confident, Empathetic, and more
- ๐จ Custom Mode Studio: Create and save your own rewrite prompts with custom instructions
- ๐ก๏ธ In-Place Preview & Safe Revert: Review changes inline and accept or decline with Enter / Esc
- ๐ WhatsApp Web & Reddit Compatible: Seamless multi-phase DOM dispatch for modern web apps
- โจ๏ธ Customizable Keyboard Shortcuts: Fast hotkeys for Retone (
Ctrl+Shift+R), Humanize (Ctrl+Shift+H), Professional (Ctrl+Shift+P), and Grammar (Ctrl+Shift+G) - ๐ง Universal LLM Support: Compatible with OpenAI, Google Gemini, Groq, DeepSeek, OpenRouter, Ollama, and LM Studio
- ๐ Secure Local Storage: API keys are stored securely in
chrome.storage.syncwith zero third-party telemetry
| Mode | Purpose | Perfect For |
|---|---|---|
| โจ Retone | Context-aware tone, clarity, vocabulary & grammar polish | General refinement, elevating draft quality |
| ๐ง Humanize | Make text sound natural and conversational | Robot-like content, stiff writing |
| โ๏ธ Grammar Fix | Correct spelling and grammar errors 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, technical instructions |
| ๐ Academic | Scholarly and structured formal style | Academic papers, essays, reports |
| ๐ข Marketing | Promotional and engaging sales copy | Product launches, ads, landing pages |
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-extensionfolder. - Open Chrome's Secret Lair ๐ช: Open Google Chrome, type
chrome://extensionsin 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-extensionfolder (the one containing themanifest.jsonfile, 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 API key from OpenAI Platform
- (Optional) Add custom base URL for OpenAI-compatible APIs
- 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+R- Retone selected text (Context, Clarity & Tone)Ctrl+Shift+H- Humanize selected textCtrl+Shift+P- Professional toneCtrl+Shift+G- Fix grammar and spellingUndo Rewrite- Configurable inchrome://extensions/shortcuts(e.g.,Ctrl+Shift+Z)
Okay, here's the slightly annoying part. This extension needs YOUR OpenAI 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 OpenAI 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 OpenAI Platform. You'll need an OpenAI account.
- Click "Create new secret key" or "+Create new secret key".
- Give your key a name (like "AI Rewriter Extension").
- COPY THIS KEY! ๐ It starts with
sk-and is a long string of random characters. Treat it like a password. Don't share it publicly! - Important: You won't be able to see this key again, so save it somewhere safe!
The extension includes built-in 1-click presets for curated cloud and local providers with dynamic latest-version aliases, plus full custom endpoint support:
| Provider | Icon | Endpoint / Base URL | Default Model | Key Format |
|---|---|---|---|---|
| OpenAI | ๐ข | https://api.openai.com/v1 |
chat-latest (Dynamic latest pointer) |
sk-... |
| OpenRouter | ๐ | https://openrouter.ai/api/v1 |
openrouter/auto (Smart Auto-Router) |
sk-or-v1-... |
| Groq | โก | https://api.groq.com/openai/v1 |
llama-3.3-70b-versatile |
gsk_... |
| DeepSeek | ๐ | https://api.deepseek.com |
deepseek-v4-flash |
sk-... |
| Google Gemini | โจ | https://generativelanguage.googleapis.com/v1beta/openai/ |
gemini-flash-lite-latest |
AIzaSy... |
| Vercel AI Gateway | โฒ | https://ai-gateway.vercel.sh/v1 |
openai/chat-latest |
API key |
| Ollama (Local) | ๐ฆ | http://localhost:11434/v1 |
llama3.2 |
Free / None |
| LM Studio (Local) | ๐งช | http://localhost:1234/v1 |
local-model (Loaded model) |
Free / None |
| Custom | โ๏ธ | User-defined | User-defined | Any compatible key |
Plugging in the Power Cord ๐
- Click the AI Text Rewriter Pro extension icon ๐งฉ or go to Extension Options.
- In the AI Provider Presets section, click on your provider card (e.g. OpenAI, Groq, Gemini, OpenRouter, DeepSeek, Ollama, or Custom).
- Paste your API key (if using cloud providers) or connect directly to local Ollama / LM Studio.
- Click "Test API Key" ๐งช โ Click "Save Settings" ๐พ.
- You should see a green success message confirming your connection!
โ 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 OpenAI account.
- Usage Costs $$$! OpenAI charges for API usage based on tokens. Check their pricing page! You are responsible for the usage associated with your key. Start with GPT-4o-mini for cost-effective rewrites. Don't blame us if you rewrite War and Peace and get a bill. ๐ธ
- Free Alternative: Use local models with LM Studio or Ollama for completely free, private AI rewriting!
- Focus or type in any text box, chat prompt (ChatGPT, Claude, Copilot), comment area, or rich-text editor (WhatsApp Web, Reddit, Notion, social platforms).
- A compact circular brand bubble appears neatly at the end of the textbox.
- Click the bubble to instantly rewrite with your configured default mode!
- Highlight any text you want to transform.
- Right-click directly on the selected text and hover over "โจ Rewrite with AI".
- Pick your desired mode from the 15 available styles or your saved custom prompts.
- Preview changes directly in-place with the floating action toolbar and press
Enterto Accept orEscto Decline.
Ctrl+Shift+Rโ Retone selected text (Context, Clarity & Polish)Ctrl+Shift+Hโ Humanize selected textCtrl+Shift+Pโ Professional business toneCtrl+Shift+Gโ Fix grammar and spellingUndo Rewriteโ Configurable hotkey (e.g.Ctrl+Shift+Z) inchrome://extensions/shortcuts
Create your own rewriting styles:
- Open Extension Options โ Custom Modes
- Enter a mode name and prompt instructions
- Save and use it like any built-in mode
- Export/import custom modes between devices
Track your writing productivity:
- Total rewrites performed
- Characters processed
- Most-used modes
- Daily usage trends
- Content Preservation: Maintains original meaning and context
- Smart Retries: Automatic exponential backoff for failed requests
- Length Validation: Configurable limits to manage costs
- Input Sanitization: Cleans whitespace and unwanted formatting
- Content Creators - Blog posts, social media, video scripts
- Professionals - Business emails, reports, documentation
- Students & Academics - Essays, research papers, study notes
- Non-Native Speakers - Natural phrasing and grammar correction
- Customer Support - Polite, empathetic, and clear replies
- Marketers - Create compelling copy
- Technical Writers - Clarify complex concepts
-
โจ
Retone: Context-aware refinement & polish ๐ช- Perfect for: Intelligently understanding the context of the writing and rewriting it with elevated tone, crystalline clarity, superior vocabulary, and flawless grammar.
-
๐ง
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.
-
๐ฏ
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.
-
๐
Academic: Scholarly and structured formal style ๐๏ธ- Perfect for: Academic papers, essays, literature reviews, and research summaries.
-
๐ข
Marketing: High-conversion promotional copy ๐ฃ- Perfect for: Product promotions, ad copy, value propositions, and landing pages.
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://extensionsand 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 the AI provider
- Check if your 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. 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 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 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. Slow down!500 Internal Server Error: The 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 the AI provider'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 Provider & Model:
- OpenAI (
chat-latest/gpt-4o-mini): High-accuracy, balanced tone adaptation and rapid responses. - Google Gemini (
gemini-flash-lite-latest): Ultra-fast latency and cost-effective daily rewriting. - Groq (
llama-3.3-70b-versatile): Near-instant inference speed for real-time drafting. - DeepSeek (
deepseek-v4-flash): Sophisticated reasoning and nuanced vocabulary enhancement. - Ollama / LM Studio (Local): 100% private, zero-cost offline rewriting with models like
llama3.2orqwen2.5.
- OpenAI (
-
Adjust Aggressiveness:
- Use
0.0 - 0.3(Strict) for error-free proofreading and academic precision. - Use
0.7 - 0.9(Balanced) for general email and communication polish. - Use
1.2 - 2.0(Creative / Wild) for marketing copy and storytelling.
- Use
-
Optimize Text Length:
- For rapid responses, keep single selections under 4,000 characters.
- Use the Concise mode for condensing long summaries.
- ๐ Multi-language Auto-Detection & Translation
- ๐ Voice Input Dictation & Polish
- ๐ฑ Mobile Browser Compatibility
- ๐ค Side-by-Side Model Comparison Studio
- ๐ Cloud Sync for Custom Prompt Templates
- ๐ Advanced Writing Style Insights
Contributions, bug reports, and feature suggestions are welcome!
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
- OpenAI, Google Gemini, Anthropic, Groq, and DeepSeek for powering the frontier AI models behind every rewrite.
- Chrome Extensions Platform & Manifest V3 for powerful web integration APIs.
- Open Source Community for modern toolkits and feedback.
If you find AI Text Rewriter Pro helpful:
- โญ Star the repository on GitHub
- ๐ฌ Share it with your colleagues and friends
- ๐ Report bugs & suggest new features
- ๐ซ Buy me a chai
Made with ๐ and ๐ซ chai by Supratim



