A powerful browser extension that provides instant AI-powered translation for any text on the web. Simply select text and translate it using multiple AI providers including OpenAI, Claude, Gemini, DeepSeek, and OpenRouter.
- 🌐 Instant Translation: Select any text on any webpage and get instant translations
- 🤖 Multiple AI Providers: Choose from OpenAI, Claude (Anthropic), Gemini, DeepSeek, or OpenRouter
- 🎨 Beautiful Neumorphic UI: Clean, modern design with smooth animations
- 📋 One-Click Copy: Copy translated text with a single click
- 🌍 Multiple Languages: Support for English, Spanish, French, German, Chinese, Japanese, Persian, Arabic, Russian, and more
- 🔒 Local Storage: All API keys stored locally in your browser
- Download or clone this repository
- Open your browser and navigate to:
- Chrome:
chrome://extensions/ - Edge:
edge://extensions/ - Brave:
brave://extensions/
- Chrome:
- Enable Developer mode (toggle in the top right)
- Click Load unpacked
- Select the
TranslateExtentionfolder
Before using AiTranslator, you need to obtain an API key from one of the supported providers:
- Visit OpenRouter
- Sign up for a free account
- Generate an API key
- Choose a model (e.g.,
mistralai/mistral-7b-instruct)
- Visit OpenAI Platform
- Sign up and add credits to your account
- Generate an API key
- Visit Anthropic Console
- Sign up for an account
- Generate an API key
- Visit Google AI Studio
- Sign in with your Google account
- Create an API key
- Visit DeepSeek Platform
- Sign up for an account
- Generate an API key
- Click the AiTranslator icon in your browser toolbar
- Click Open Settings
- Select your preferred Backend Provider
- Paste your API Key in the corresponding field
- (For OpenRouter) Enter your chosen model name
- Select your Default Target Language
- Click Save Settings
- Select Text: Highlight any text on a webpage
- Click the Icon: A green translation icon will appear next to your selection
- Choose Language: Select your target language from the dropdown
- Translate: Click the "Translate" button
- Copy: Use the Copy button to copy the translation to your clipboard
The floating translation panel appears when you click the green icon:
- Clean neumorphic design
- Language selector
- Instant translation
- Copy button
Configure your AI provider and API keys in the settings page with an intuitive interface.
- All API keys are stored locally in your browser using
chrome.storage.local - No data is sent to any third-party servers except the AI provider you choose
- Your translations are processed directly by your selected AI provider
TranslateExtention/
├── manifest.json # Extension configuration
├── background.js # Background service worker (API calls)
├── content.js # Content script (UI injection)
├── popup.html # Extension popup
├── popup.css # Popup styles
├── popup.js # Popup logic
├── options.html # Settings page
├── options.js # Settings logic
└── icons/ # Extension icons
├── icon-16.png
├── icon-48.png
├── icon-64.png
└── icon-128.png
- Manifest V3: Latest Chrome extension format
- Vanilla JavaScript: No frameworks required
- Chrome Storage API: For persistent settings
- Fetch API: For AI provider communication
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - feel free to use this project for personal or commercial purposes.
Developed by: TheRealPourya
GitHub: @xPOURY4
If you encounter any issues or have questions:
- Open an issue on GitHub
- Follow @TheRealPourya on X for updates
- Initial release
- Support for 5 AI providers
- Neumorphic UI design
- Multi-language support
- One-click copy functionality
Made with ❤️ by TheRealPourya
