A Chrome extension that analyzes selected text on any webpage to determine whether it was written by AI or a human. Get instant probability scores and verdicts powered by industry-leading AI detection APIs.
- Instant Analysis: Right-click any selected text to analyze it for AI-generated content
- Multiple API Providers: Choose from 7 different AI detection services
- Visual Scoring: Color-coded results (red/yellow/green) with percentage scores
- Inline Tooltips: See results directly on the page without leaving context
- Detailed Popup: View comprehensive analysis including word count and timestamp
- Easy Configuration: Simple settings page for API key management
- Connection Testing: Verify your API credentials before use
| Provider | Website | Free Tier |
|---|---|---|
| GPTZero | gptzero.me | Yes |
| Originality.ai | originality.ai | Limited |
| Sapling AI | sapling.ai | Yes |
| Copyleaks | copyleaks.com | Trial |
| ZeroGPT | zerogpt.com | Yes |
| Writer.com | writer.com | Yes |
| Content at Scale | contentatscale.ai | Limited |
-
Clone this repository:
git clone https://github.com/yourusername/ai-text-detector.git
-
Open Chrome and navigate to
chrome://extensions/ -
Enable Developer mode (toggle in top-right corner)
-
Click Load unpacked and select the cloned folder
-
The extension icon will appear in your toolbar
- Click the extension icon and select Configure API Key
- Choose your preferred API provider from the dropdown
- Enter your API key (obtain from provider's website)
- Click Test Connection to verify credentials
- Click Save Settings
- Select any text on a webpage (minimum 50 characters)
- Right-click and choose "Analyze with AI Detector"
- View results in:
- Inline tooltip: Appears near selected text
- Extension popup: Click extension icon for details
| Score | Verdict | Meaning |
|---|---|---|
| 70-100% | Likely AI-Generated | High probability of AI authorship |
| 40-69% | Mixed/Uncertain | Unclear origin, may be partially AI |
| 0-39% | Likely Human-Written | Low probability of AI authorship |
ai-text-detector/
├── manifest.json # Extension configuration
├── background.js # Service worker with API integrations
├── content.js # Content script for page interactions
├── content.css # Tooltip styling
├── popup.html/js/css # Extension popup interface
├── options.html/js/css # Settings page
└── icons/ # Extension icons (16, 32, 48, 128px)
- JavaScript (ES6+) - No build step required
- Chrome Extension Manifest V3 - Latest extension standard
- Chrome APIs: Storage, Context Menus, Runtime, Tabs
- Pure CSS3 - No frameworks, minimal footprint
- API keys are stored locally in Chrome's encrypted storage
- Text is sent only to your selected API provider for analysis
- No data is collected or stored by this extension
- No analytics or tracking
This extension requires no build process. Simply edit the files and reload the extension in Chrome.
# Make changes to files
# Go to chrome://extensions/
# Click the refresh icon on the extension cardContributions are welcome! Please feel free to submit a Pull Request.
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
AI detection is not 100% accurate. Results should be used as one factor among many when evaluating text origin. False positives and negatives can occur. Always use human judgment in conjunction with automated tools.