A Chrome extension that extracts and formats transcripts from YouTube videos with multiple output options.
- Extract transcripts from any YouTube video with available captions
- Multiple transcript formats supported:
- Plain Text (.txt)
- SubRip Subtitle (.srt)
- WebVTT (.vtt)
- Optional timestamp inclusion
- Copy to clipboard functionality
- Download transcripts in your preferred format
- Clean, modern user interface
- Multiple fallback methods for reliable transcript extraction
- Clone this repository:
git clone https://github.com/yourusername/youtube-transcript-scraper.git- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- Navigate to any YouTube video
- Click the extension icon in your Chrome toolbar
- Click "Get Transcript" to extract the video's transcript
- Choose your preferred format (TXT, SRT, or VTT)
- Toggle timestamps on/off as needed
- Copy to clipboard or download the formatted transcript
The extension is built using vanilla JavaScript and follows Chrome's Manifest V3 specifications. Key components:
manifest.json: Extension configurationpopup.html/js: User interface and interaction handlingcontent.js: Transcript extraction logictranscriptData.js: Shared transcript formatting functionality
MIT License
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request