A Chrome extension that summarizes any web page using AI. Get a concise summary, key takeaways, sentiment analysis, and reading time — all in one click.
- One-click summarization — summarize any web page instantly
- Key points extraction — 3-5 bullet-point takeaways
- Sentiment analysis — positive, neutral, or negative tone detection
- Reading time — estimated reading time of the original page
- Copy & Export — copy to clipboard or export as Markdown
- Summary history — browse your last 20 summaries
- Dark/light theme — respects system preference with manual toggle
- Configurable — choose model, summary length, and more
-
Clone this repository:
git clone https://github.com/hoeberigs/page-summarizer.git
-
Open Chrome and navigate to
chrome://extensions -
Enable Developer mode (top-right toggle)
-
Click Load unpacked and select the
page-summarizerfolder -
Click the extension icon, go to Settings, and enter your OpenAI API key
- Navigate to any web page you want to summarize
- Click the Page Summarizer extension icon
- Hit Summarize Page
- View the summary, key points, and sentiment
- Copy or export the results as Markdown
Open the extension settings to configure:
| Setting | Options | Default |
|---|---|---|
| Model | gpt-4o-mini, gpt-4o |
gpt-4o-mini |
| Summary Length | Brief, Detailed | Brief |
- Vanilla JavaScript — no build step, no frameworks
- Chrome Extension Manifest V3 — modern extension architecture
- OpenAI API — GPT models for summarization
- Chrome Storage API — local persistence for settings and history
page-summarizer/
├── manifest.json # Extension manifest
├── background.js # Service worker (API calls)
├── content.js # Content script (page extraction)
├── popup/
│ ├── popup.html # Popup UI
│ ├── popup.css # Styles with dark/light theme
│ └── popup.js # Popup logic
├── options/
│ ├── options.html # Settings page
│ ├── options.css
│ └── options.js
└── icons/ # Extension icons
- Your API key is stored locally in Chrome storage and is only sent to OpenAI's API
- Page content is sent to OpenAI for summarization and is not stored on any server
- Summary history is stored locally on your device
MIT