Generate high-quality, AI-powered translated subtitles for YouTube videos using your own API key.
Your API key stays in your browser. No backend servers, no data collection, no tracking.
Choose from 7 AI providers:
- Cloud: OpenAI, Anthropic (Claude), Google (Gemini), Groq, OpenRouter
- Local: LM Studio, Ollama - Run models on your own hardware!
Unlike sentence-by-sentence translation, BringYourSub analyzes the entire video context first, ensuring:
- Consistent terminology throughout
- Natural-sounding translations
- Proper handling of technical terms
Display both original and translated subtitles simultaneously - perfect for language learners!
No captions on the video? No problem. Automatically falls back to OpenAI's Whisper for audio transcription.
Customize subtitle position by dragging them anywhere on the video player.
Turkish, English, German, Spanish, French, Italian, Portuguese, Russian, Japanese, Korean, Chinese, Arabic, and many more!
- Background opacity control
- Sync offset adjustment
- Font size options
- Auto-apply on generation
| Provider | Type | Models | Free Tier |
|---|---|---|---|
| OpenAI | Cloud | GPT-4o, GPT-4o-mini, o1 | β |
| Anthropic | Cloud | Claude 3.5 Sonnet, Opus, Haiku | β |
| Cloud | Gemini 2.0, 1.5 Pro/Flash | β | |
| Groq | Cloud | Llama 3.3, Mixtral, Gemma | β |
| OpenRouter | Cloud | 100+ models | Varies |
| LM Studio | Local | Any GGUF model | β (Free) |
| Ollama | Local | Any Ollama model | β (Free) |
Before installing, make sure you have:
- OpenAI API Key - Get one from platform.openai.com
- Download the latest release from the Releases page
- Extract the ZIP file to a folder
- Open your browser and go to the extensions page:
- Chrome: Type
chrome://extensions/in the address bar - Edge: Type
edge://extensions/in the address bar - Brave: Type
brave://extensions/in the address bar
- Chrome: Type
- Enable Developer mode (toggle in the top-right corner)
- Click Load unpacked
- Select the
bringyoursub-chrome/distfolder - The extension icon will appear in your toolbar
- Download the latest release from the Releases page
- Extract the ZIP file to a folder
- Open Firefox and type
about:debuggingin the address bar - Click This Firefox in the left sidebar
- Click Load Temporary Add-on
- Navigate to
bringyoursub-firefox/distfolder and selectmanifest.json - The extension icon will appear in your toolbar
Note: Firefox temporary add-ons are removed when the browser is closed. For permanent installation, the extension needs to be signed by Mozilla.
- Node.js 18 or higher
- npm (comes with Node.js)
- Open Command Prompt or PowerShell
- Clone the repository:
git clone https://github.com/Vartmor/bringyoursub.git cd bringyoursub - Install dependencies:
npm install
- Build the extensions:
npm run build
- Follow the browser-specific instructions above to load the extension from:
- Chrome:
bringyoursub-chrome/dist - Firefox:
bringyoursub-firefox/dist/manifest.json
- Chrome:
- Open Terminal
- Clone the repository:
git clone https://github.com/Vartmor/bringyoursub.git cd bringyoursub - Install dependencies:
npm install
- Build the extensions:
npm run build
- Follow the browser-specific instructions above to load the extension
- Open Terminal
- Clone the repository:
git clone https://github.com/Vartmor/bringyoursub.git cd bringyoursub - Install dependencies:
npm install
- Build the extensions:
npm run build
- Follow the browser-specific instructions above to load the extension
-
Get an API Key (or use local models)
- OpenAI: platform.openai.com
- Anthropic: console.anthropic.com
- Google: aistudio.google.com
- Groq: console.groq.com
- Local: No API key needed with LM Studio or Ollama
-
Open a YouTube Video
- Navigate to any YouTube video
-
Click the Extension Icon
- Select your AI provider
- Enter your API key (if required)
- Choose a model
- Select target language
- Enable "Dual Subtitles" for language learning (optional)
- Click "Generate Subtitles"
-
Customize & Export
- Drag subtitles to reposition
- Adjust opacity and sync offset in Settings
- Copy to clipboard or download as .SRT file
# Install dependencies
npm install
# Build for production
npm run build
# Watch mode (development)
npm run watchbringyoursub/
βββ bringyoursub-chrome/ # Chrome extension (MV3)
β βββ extension/
β β βββ background/ # Service worker
β β βββ content/ # Content scripts
β β βββ popup/ # Popup UI
β βββ shared/
β β βββ ai-core/ # AI pipeline modules
β βββ manifest.json
βββ bringyoursub-firefox/ # Firefox extension (MV2)
βββ build.mjs # esbuild configuration
βββ package.json
βββ tsconfig.json
Have a suggestion or found a bug? Please open an issue on GitHub.
See CONTRIBUTING.md for more details.
This extension uses a Bring Your Own Key (BYOK) architecture. Your API key is:
- Stored locally in your browser
- Never sent to any server except OpenAI's API
- Never logged or tracked
See SECURITY.md for more details.
MIT License - Muhammed Koseoglu
See LICENSE for more information.
- OpenAI for GPT and Whisper APIs
- Anthropic for Claude AI
- Google for Gemini AI
- Groq for ultra-fast inference
- OpenRouter for unified API access
- LM Studio for local model support
- Ollama for local model support


