A Chrome extension that uses Google's Gemini AI to summarize articles and web pages.
- Three summary types: Brief, Detailed, and Bullet Points
- One-click summarization: Summarize any article with a single click
- Copy to clipboard: Easily copy summaries for sharing
- Secure API storage: Your API key is stored locally in Chrome
- Works on most websites: Extracts content from articles, blogs, news sites
- Download or clone this repository to your computer
- Open Chrome and go to
chrome://extensions/ - Enable Developer Mode (toggle in top right corner)
- Click "Load unpacked" button
- Select the folder containing the extension files
- The extension will appear in your Chrome toolbar
If you're creating from scratch:
- Create a new folder named
ai-summarizer - Add these 7 files to the folder:
manifest.jsonpopup.htmlpopup.jsoptions.htmloptions.jsbackground.jsicon.png(optional: any 128x128 image)
- Follow Method 1 steps above
Before using the extension, you need a Gemini API key:
- Get a free API key from Google AI Studio
- Sign in with your Google account
- Click "Create API Key" → "Create API key in new project"
- Copy the generated API key (starts with
AIza) - Configure the extension:
- Click the extension icon in Chrome toolbar
- Click "Settings"
- Paste your API key
- Click "Save Settings"
- Navigate to any article or webpage you want to summarize
- Click the AI Summarizer icon in Chrome toolbar
- Select your preferred summary type:
- Brief: 2-3 sentence summary
- Detailed: Comprehensive summary
- Bullet Points: Key points as bullets
- Click "Summarize" and wait 10-20 seconds
- Copy the summary using the "Copy" button
ai-summarizer/ ├── manifest.json # Extension configuration ├── popup.html # Main popup interface ├── popup.js # Popup functionality ├── options.html # Settings page ├── options.js # Settings functionality ├── background.js # Background script ├── icon.png # Extension icon (128x128) └── README.md # This file
- Chrome 88+ or Edge 88+ (Chromium-based browsers)
- Active internet connection (for API calls)
- Google account (for API key)
- "Scripting" permission (automatically granted)
-
"API key not found" error
- Go to Settings and save your API key again
- Make sure you're using a valid Gemini API key
-
"Could not extract text" error
- Refresh the page and try again
- Try a different article or website
- Some sites may block content extraction
-
"Model not found" error
- The extension will automatically try different models
- Wait a moment and try again
- Ensure your API key has access to Gemini API
-
Extension not appearing
- Restart Chrome
- Re-load the extension from
chrome://extensions/ - Check for errors in Chrome's extension console
- Press
F12to open Developer Tools while the popup is open - Check the Console tab for error messages
- Verify your API key is correctly saved in Settings
- Your API key is stored locally in Chrome's sync storage
- No data is sent to any servers except Google's Gemini API
- Only the webpage text you're summarizing is sent to Google
- No tracking or analytics are included
- Free tier: Google AI Studio offers free API credits for new users
- Rate limits: Free tier has usage limits; check Google AI Studio for details
- Best results: Works best with articles, news, blogs, and content-heavy pages
- Not supported: PDFs, videos, or paywalled content may not work well
Found a bug or have a feature request?
- Check existing issues
- Create a new issue with details
- Or submit a pull request
This project is provided as-is for educational and personal use.
- Uses Google's Gemini API
- Icons from Material Design
- Built for Chrome Extensions Manifest V3
Need help? Create an issue or check the Google AI Studio documentation