Transform clickbait YouTube titles into clear, accurate descriptions using AI
YouTube AI Title Replacer is a Chrome extension that combats clickbait by replacing misleading video titles with AI-generated, accurate descriptions. Know exactly what you're watching before you click.
- Clickbait titles waste your time with vague, sensational language
- Misleading thumbnails don't match video content
- Hard to find quality content in a sea of attention-grabbing titles
- Decision fatigue from trying to guess what videos actually contain
Our extension:
- 📝 Extracts video transcripts automatically
- 🤖 Uses AI (Gemini) to generate accurate titles
- 🎯 Replaces clickbait with clear, descriptive titles
- 🔒 Privacy-focused - processes data securely
| Original | AI-Generated Title |
|---|---|
![]() |
![]() |
- ✅ One-click title replacement - Simple button on each video
- ✅ AI-powered accuracy - Uses Google's Gemini AI
- ✅ Works everywhere - Homepage, search, recommendations
- ✅ Original title preservation - Hover to see original
- ✅ Smart transcript processing - Optimized for best results
- ✅ No background processing - Only runs when you want it
- Download the extension files
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (top right)
- Click "Load unpacked" and select the extension folder
- The extension is now active on YouTube!
git clone https://github.com/yourusername/youtube-ai-title-replacer.git
cd youtube-ai-title-replacer-
Get API Keys:
- Supadata API - For transcript extraction
- Google AI Studio - For Gemini AI
-
Configure the extension:
cp config.example.js config.js
-
Add your API keys to
config.js:const CONFIG = { SUPADATA_API_KEY: 'your_supadata_key_here', GEMINI_API_KEY: 'your_gemini_key_here' };
-
Load the extension in Chrome
- Navigate to YouTube (any page with videos)
- Look for the "AI Title" button next to video titles
- Click the button on any video you want to analyze
- Wait for processing (usually 2-3 seconds)
- See the new title - hover to view the original
- Frontend: Vanilla JavaScript (Chrome Extension)
- APIs: Supadata (transcripts) + Google Gemini (AI)
- Architecture: Client-side processing with API integration
manifest.json- Extension configurationcontent.js- Main logic and DOM manipulationconfig.js- API key configuration (not tracked)
🔒 Zero data collection - We don't store, track, or collect any personal information
✅ Efficient resource usage - Runs only when needed, no constant background processes or CPU drain
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Chrome Web Store publication
- Firefox extension support
- Batch processing for multiple videos
- Custom AI prompts for different title styles
- Title history and undo functionality
- User preferences and settings page
- Some videos may not have transcripts available
- AI-generated titles are limited to transcript content
- Extension requires manual activation per video
Made with ❤️ by divyanshxcode and Aayush4532!
Star ⭐ this repository if you found it helpful!

