# GenAI Translator

> GenAI Translator is a Chrome extension that translates selected text using Gemini, OpenRouter, DeepSeek, Chrome's on-device AI or Google Translate.

- URL: https://afixer.app/projects/genai-translator
- Part of: Projects
- Language: en

Chrome extension that translates selected text and helps you write in another language, with the AI provider of your choice.

- [Chrome Web Store](https://chromewebstore.google.com/detail/genai-translator/nnnlbcgpgpgbdhanhcdcooclbfaifabc)

- **Runs on**: Chrome
- **Built with**: TypeScript
- **First released**: 2025

![Store illustration: the GenAI Translator box over a Spanish article, with the selected sentence in English, Speak and Study buttons and a field to ask about the translation](https://afixer.app/projects/genai-translator.webp)

Select text on any page and translate it from the right-click menu, the icon that appears next to the selection, the toolbar popup or Chrome’s side panel. It also works the other way round: focus a text field, write in your own language, and it puts a translation into the field for you to review before you send it.

## Translating a selection

The translation opens in a box next to the text, with the detected source language on top. With an AI provider the result streams in as the model writes it, and what it contains depends on what you selected:

- **A word:** its pronunciation, each meaning with the part of speech, a short definition in both languages, and examples
- **A phrase or idiom:** pronunciation, an explanation in both languages, and examples
- **A sentence or more:** the full translation, then the harder words and any idioms in it, each with its pronunciation

Under the result, Speak reads it aloud, Study saves it to your word list, and a chat field takes follow-up questions about the translation. The icon next to a selection can show every time, or only while you hold a modifier key, so it stays out of the way when you select text for other reasons.

## Popup and side panel

The toolbar popup has a Quick Translate tab: type or paste text and translate it there. The side panel shows the same result and chat beside the page, keeps a separate translation for each tab, and has its own quick-translate box for text that isn’t on the page.

![Store illustration: Chrome's side panel next to a Spanish article, showing the English translation and a chat answering what a phrase means](https://afixer.app/projects/genai-translator-sidepanel.webp) 

_The side panel, with a follow-up question about the translation. Illustration from the Chrome Web Store listing._

## Writing assistant

Focus a text field, such as an email, a chat message or a comment box, and click the icon on it or press Alt+W. Write in any language in the Write & Translate panel and the extension rewrites it in the language you’re writing to, with three settings:

- **Write in:** Auto-detect picks up the language of the page and remembers it for the session, or choose one
- **Tone:** neutral, formal, casual, friendly, professional or persuasive
- **Language level:** simple, intermediate, advanced or native-like

Insert puts the text into the field, where you can still edit it before sending; Regenerate writes another version and Copy copies it. Insert works in plain text fields, rich editors and fields built with React or Vue; if a page doesn’t accept the text, it is copied to the clipboard instead. The panel never opens on password fields, and it keeps its keystrokes away from chat apps like Telegram, Slack and Discord, which otherwise pull focus back to their own message box.

The icon on a field can show whenever a field is focused, only while you hold a modifier key, or never, leaving the keyboard shortcut.

![Store illustration: the Write and Translate panel over an email form, turning an English sentence into Spanish with a friendly tone and native-like level, with Insert, Regenerate and Copy buttons](https://afixer.app/projects/genai-translator-compose.webp) 

_The writing assistant on an email form. Illustration from the Chrome Web Store listing._

## Providers

| Provider             | API key  | What you get                                                                                                  |
| -------------------- | -------- | ------------------------------------------------------------------------------------------------------------- |
| Google Translate     | None     | Plain translation only: no word breakdown or chat, and the writing assistant translates without tone or level |
| Chrome’s built-in AI | None     | Gemini Nano on your own device, in Chrome 138 or later once Chrome has downloaded the model                   |
| Google Gemini        | Your own | A free key from Google AI Studio; the Gemini API isn’t offered in every country                               |
| OpenRouter           | Your own | Many models behind one key, free ones included                                                                |
| DeepSeek             | Your own | DeepSeek’s models, with an optional thinking mode (off by default)                                            |

For Gemini and OpenRouter you pick a model plus fallback models, which are tried in order when the main one fails. Each of the three cloud providers can hold several keys: they are used in turn, and a key that hits a rate limit or is rejected hands over to the next. Output can be set to precise, balanced or creative.

On first run, a setup page walks you through choosing a provider, adding a key if it needs one, and picking your target language.

## History and study

Translations are saved to a history page. Words and phrases you save with Study go to a word list, which you can export as CSV, and into flashcards scheduled by spaced repetition (the SM-2 algorithm): rate a card Again, Hard, Good or Easy and it comes back when it’s due. Flashcards can be filtered by language and read aloud automatically.

![Store illustration: a flashcard showing the Spanish word ambición and its English meaning, card 3 of 12 due, with Again, Hard, Good and Easy buttons](https://afixer.app/projects/genai-translator-study.webp) 

_A flashcard from the study page. Illustration from the Chrome Web Store listing._

## Languages

You can translate into 102 languages. The extension’s own interface is in 14: Arabic, Bengali, Chinese (Simplified), English, French, German, Hindi, Italian, Japanese, Korean, Portuguese, Russian, Spanish and Vietnamese. Text-to-speech uses the voices your browser and system provide, with the voice and language you choose.

## Privacy

API keys, settings, translation history and the word list stay in your browser’s storage. Text you translate goes straight to the provider you chose, with no server of mine in between, and with Chrome’s built-in AI it never leaves your device. While no target language has been chosen, normally only on first run, the extension asks ipinfo.io for your country code to suggest one; the setup page also uses it to turn Gemini off where Google doesn’t offer its API.

The extension asks for storage, the right-click menu, the active tab and the side panel, and runs a script on every page so the selection icon and the writing assistant can work there.

## Related projects

- **[Speed Master](https://afixer.app/projects/speed-master)**  
Remembers a playback speed for every creator on YouTube, TikTok and Facebook, and applies your preferred YouTube quality.  
Per-creator speed
- **[HTTP Header Modifier](https://afixer.app/projects/small#http-header-modifier)**  
Chrome extension that adds, changes or removes request headers on the URLs you choose.  
Per-URL rules
- **[Dev Tools](https://afixer.app/projects/small#devtools)**  
Everyday developer utilities in one web app that works offline.  
7 tools
