Translate web pages in real time, in your browser.
Atlas Translation translates whole pages, selected text, and documents with Google, Bing, Yandex, DeepL, or LibreTranslate. It works on Chromium-based browsers (Chrome 109+, Edge, Brave, Opera, Vivaldi) and on Firefox.
Atlas Translation is a modified fork of TWP - Translate Web Pages by FilipePS. Huge thanks to FilipePS and every contributor of the original project. See NOTICE.md.
Atlas Translation is published in four places. Install it only from these:
| Store | Browser | Where |
|---|---|---|
| Firefox Add-ons (addons.mozilla.org) | Firefox on desktop | Atlas Translation, once approved by Mozilla |
| Chrome Web Store | Chrome, Brave, Opera, Vivaldi | Atlas Translation, once published |
| Microsoft Edge Add-ons | Microsoft Edge | Atlas Translation, once certified |
| Firefox for Android | Firefox for Android | Same listing as Firefox Add-ons. Search for Atlas Translation. |
Other extensions with a similar name are not Atlas Translation. Store links will be added here once the listings are live.
- Page translation in place, with the original text shown on hover (optional).
- Selected text translation from the right-click menu, the popup, or a hotkey.
- Translation services
- Google Translate (default)
- Bing Translator
- Yandex Translate
- DeepL (official API, your own key)
- Groq (AI, your own key)
- OpenRouter (AI, your own key; you choose the model)
- LibreTranslate (your own server and key)
- When a service fails, the next enabled service that supports the language translates the text. A service that fails three times in a row is skipped for five minutes (see Notes and limits).
- Text-to-speech for translated text (Chromium 109+ and Firefox).
- Update check script that uses the GitHub API and respects the rate limit (see Checking for updates).
- Per-site and per-language rules: never translate a site or language, always translate, auto-translate links.
- Keyboard shortcuts for toggling, showing the original, and switching services.
- About page with the installed version, credits, license, and links. Open it from the popup's options menu or from Settings.
- Themes: System, Light, or Dark (Style → Theme). The settings page and the popup look the same in Chromium browsers and Firefox. The layout follows Chrome's settings page.
- Light on memory: translations are cached with a bounded in-memory cache, and finished requests are released.
Chromium 109 or newer is required. Text-to-speech uses the offscreen document API, which Chromium added in version 109.
- Download
atlas-translation-<version>-chromium.zipfrom the Releases page. - Unzip it. Open
chrome://extensions(or the equivalent page in your browser), turn on Developer mode, and click Load unpacked. Select the unzipped folder.
The .crx file in the release is the signed package for the same version. Chrome and Edge only install .crx files
from the Web Store or through an enterprise policy, so use the ZIP for normal sideloading.
Install Atlas Translation from addons.mozilla.org (the store listing). That is the only Firefox build Mozilla signs.
The GitHub release also has atlas-translation-<version>-firefox.xpi. When the release runs with submit_amo on, Mozilla signs it as an unlisted add-on: it is never listed or published. Its add-on ID is in firefox_manifest.json. If the file is unsigned, Firefox refuses it, so use it only in Firefox Developer Edition, Nightly, or ESR with xpinstall.signatures.required set to false. It has no self-hosted updates.
Firefox for Android: install from addons.mozilla.org once the store listing is published. There is no install path for the GitHub build.
When the add-on is listed on addons.mozilla.org, the workflow sends a build without update_url, because AMO refuses that key on listed add-ons. Listed updates come from AMO.
The helper is a small desktop program (Windows, macOS, Linux) written in Rust, in tools/atlas-updater. It is
optional. It does three things for the extension:
- Updates your unpacked copy. Chrome, Edge and Brave never update a folder you loaded with "Load unpacked". The helper installs the newest release into that folder, after checking its SHA-256.
- Offline translation. It runs the offline engine (
tools/atlas-engine) with the language packs you install, so pages and selected text can be translated without sending them to a web service. - A window of its own. A tray icon opens the helper's settings: the folder, the language packs, and the update check. It runs in the background from the tray, not in a terminal.
The helper has the same version as the extension (for example 0.0.2.1). Download it from the release next to the extension zip. See tools/atlas-updater/README.md for the details.
Requirements: Node.js 22 or newer.
npm ci
npm run check # validates manifests, JavaScript syntax, referenced files, and locales
npm run build # Chromium (.zip, .crx) and Firefox (.zip, .xpi) in ./build
npm run build:chromium # only Chromium
npm run build:firefox # only Firefox
npm run locales:check # translators: missing messages and placeholder mismatches, per localeThe CRX is signed with the PEM key in the CRX_PRIVATE_KEY environment variable. Keep the same key for every release, so
the extension ID does not change. Without it, a new key is generated for each build.
Releases are made by hand: Actions > Release > Run workflow. Pushing a tag does not publish anything (the workflow no longer
starts on tags). Choose build-and-test to build without publishing, or build-and-release to publish one GitHub release.
The version must match manifest.json (for example 9.8.1.0). The release notes come from the matching section in CHANGELOG.md.
| Workflow | What it does |
|---|---|
release.yml |
Runs on a v* tag. Builds both packages, submits Firefox to AMO, and publishes the GitHub release with all files. |
chromium.yml |
Builds the Chromium ZIP and CRX. Also runs by hand from the Actions tab. |
firefox.yml |
Builds the Firefox ZIP and XPI. Turn on submit when you run it by hand to submit to AMO. |
update-check.yml |
Runs weekly and writes the update check to the run summary. |
Every build writes a summary to its run page (Actions → run → Summary): versions, file sizes, SHA-256 checksums, lint output, and the AMO submission log. A failed AMO submission does not stop the GitHub release.
Store uploads (Chrome Web Store, Edge Add-ons, addons.mozilla.org) are described in docs/store-publishing.md.
Repository secrets used by the workflows (all optional):
CRX_PRIVATE_KEY: PEM private key for the.crxsignature. Keep it secret and back it up.AMO_JWT_ISSUERandAMO_JWT_SECRET: addons.mozilla.org API credentials for signing the XPI.
The version lives in five files: manifest.json, firefox_manifest.json, package.json, package-lock.json, and tools/atlas-updater/Cargo.toml (the helper). Cargo needs three numbers, so the fourth part is stored after a +: 0.0.2.1 is 0.0.2+1.
The version badge at the top of this README shows the latest published release. The release workflow sets it, and the
daily README sync sets it when a release is made by hand. So it can show the previous version until a new release is
published. Set the files at once:
npm run version:sync -- 9.8.2.0 # writes every file; warns if CHANGELOG.md has no "## 9.8.2.0" section
npm run version:check # prints each version and fails if they differnpm run check runs the same comparison, so CI fails when the versions disagree. The release workflows use
scripts/sync-version.mjs too.
This fork has its own version numbers, starting at 0.0.1.0. The upstream project's releases do not change this version.
The release workflows read these secrets. Add them in Settings → Secrets and variables → Actions → New repository secret (or with the GitHub CLI, shown below). Never commit them, and never paste them into an issue or a chat.
| Secret | Needed for | Where the value comes from |
|---|---|---|
CRX_PRIVATE_KEY |
Chromium .crx signing. Required: the Chromium workflow fails without it. |
Generate it once (below). Keep a backup copy: losing it changes the extension ID for every user. |
AMO_JWT_ISSUER |
Signing the Firefox .xpi |
addons.mozilla.org → Developer Hub → Tools → Manage API Keys (you need a Firefox Account). Use the JWT issuer value. |
AMO_JWT_SECRET |
Signing the Firefox .xpi |
Same page: the JWT secret is shown once when you generate the key. |
Create the Chromium key (one time, on your own computer):
openssl genrsa -out atlas-translation-key.pem 2048
# Store it as a secret. The workflow reads the PEM text.
gh secret set CRX_PRIVATE_KEY < atlas-translation-key.pem
# Keep atlas-translation-key.pem in a password manager, then delete the local copy.Store the Firefox keys the same way:
gh secret set AMO_JWT_ISSUER --body "<issuer value from AMO>"
gh secret set AMO_JWT_SECRET --body "<secret value from AMO>"Firefox has two listings, and each one has its own add-on ID. Both are published from the Release workflow.
- GitHub (
unlisted): the ID isbrowser_specific_settings.gecko.idinfirefox_manifest.json. Withsubmit_amoon, the.xpiis signed by Mozilla as an unlisted add-on, never listed, and the signed file is attached to the GitHub release. - Firefox store (
listed): the ID isFIREFOX_STORE_IDin.github/workflows/firefox.yml. The workflow removesupdate_urland sends the version to addons.mozilla.org through the API, using theAMO_JWT_*secrets. Mozilla reviews every version before it is public. The store add-on is separate, so GitHub users and store users never mix.
Steps:
- Add
AMO_JWT_ISSUERandAMO_JWT_SECRETas secrets (see Release secrets above). - Check the store listing text in
.github/amo-metadata.json, then set the repository variable (or a secret)AMO_LISTING_READYtotrue(Settings → Secrets and variables → Actions → Variables). Until it istrue, the store step is skipped, so no empty listing is sent. - Run Release with
action: build-and-releaseandsubmit_amoon. The GitHub build is signed as an unlisted add-on. The store version is sent for review. The first store submission creates the add-on under the store ID. - Screenshots are the one step the API cannot do. Upload
store/screenshots/once in the Developer Hub (Manage listing → Screenshots). Later versions keep them. - Bump the
versioninmanifest.jsonandfirefox_manifest.jsonbefore each tag. AMO rejects a version number that already exists.
Firefox signing also needs the add-on ID in firefox_manifest.json to belong to your AMO account. This fork uses its own ID, so
the first upload creates the add-on under your account. If you change the ID later, you must sign with the new one too.
The release workflow can upload the Chromium package to your existing Edge listing and submit it for certification. It
runs in .github/workflows/edge.yml, after a release is published. Without these secrets the job is skipped.
| Secret | Where the value comes from |
|---|---|
EDGE_PRODUCT_ID |
The product ID (a GUID) on your extension's Overview page in Partner Center. It's in the address bar between microsoftedge/ and /packages. |
EDGE_CLIENT_ID |
Partner Center → Microsoft Edge → Publish API → Create API credentials. |
EDGE_API_KEY |
The API key from the same page. It expires, so note the date and create a new one before then. |
Do the first submission by hand in Partner Center. The API can only update a listing that already exists. After that, each release uploads the new package and submits it. Edge can take up to seven business days to certify an update. Certification notes are set in the workflow. Keep the listing text and screenshots in Partner Center.
npm run update:check queries the GitHub API for the latest release of loxdpsy/AT and compares it with the version in
manifest.json. It checks the API rate limit first (GET /rate_limit, which does not use up the quota) and skips the lookups when
too few requests remain. Add --upstream to also check FilipePS's project. Set GITHUB_TOKEN to raise the limit from
60 to 5,000 requests per hour. The Update check workflow runs this every Monday and writes the result to the run summary.
The interface strings live in _locales/<language>/messages.json, with English in _locales/en. To see what a
language still needs:
npm run locales:check # one line per language
node scripts/check-locales.mjs pl --details # the messages of one language, with each problemThe report lists:
- missing: a message that English has and the language does not. Chrome shows English for it.
- extra: a message the language has and English does not. The extension never uses it.
- empty: a message with no text.
- placeholder: a
$NAME$or$1that differs from English. For example, a placeholder that is declared but not used, or a$1that is missing. Fix these first, because the text shows the placeholder name instead of the value.
Only placeholder, empty and extra problems fail npm test. Missing messages are normal while a language is being translated.
manifest.json Chromium manifest (MV3, service worker)
firefox_manifest.json Firefox manifest (MV3, background scripts)
service_worker.js Chromium background entry point
lib/mv3-shims.js Small shims that let the MV2-era code run on MV3
background/ Translation services, cache, text-to-speech, background logic
contentScript/ Page translation and selected-text UI
offscreen/ Offscreen audio player used by Chromium (MV3)
options/ Settings page
popup/ Toolbar popup
_locales/ Interface translations
scripts/ Build, check, and update-check scripts
.github/workflows/ Release builds for Chromium and Firefox, and the weekly update check
The full privacy policy, written for store listings, is in docs/privacy-policy.md.
What leaves your browser. Text is sent to a translation service only when you ask for a translation: a page, a selection, or a word. The text goes to the service you chose in Translations (Google, Bing, Yandex, DeepL, Groq, OpenRouter, or your own LibreTranslate server). Each service handles the text under its own privacy policy.
- DeepL keys are sent only to
api.deepl.comorapi-free.deepl.com. - Groq keys are sent only to
api.groq.com, and OpenRouter keys only toopenrouter.ai. - LibreTranslate requests go only to the server address you enter.
- The extension has no accounts, analytics, or telemetry. Nothing is sent to the project's authors.
- All code ships inside the package. The extension does not load code from the internet while it runs.
What is stored. Settings, your API keys, and the translation cache are kept in the browser's extension storage on your computer. Clear the cache in Storage. Removing the extension deletes all of it.
Permissions and why they are needed.
<all_urls>: to translate any page you open.activeTabandcontextMenus: the toolbar button and the right-click menu.storage: settings and the cache.webRequest: reads each page'sContent-Typeheader so PDFs can be recognised. It does not change or block requests.offscreen(Chromium only): plays text-to-speech audio.webNavigation(optional): asked for only when you turn on Automatically translate when clicking a link.
Third-party helper sites. Translate PDF opens websites run by others: pdf.translatewebpages.org,
pdftohtml.translatewebpages.org, and onlinedoctranslator.com. Files you upload there go to those sites, not through
this extension. Do not upload confidential documents to them.
Keys. Anyone who has your DeepL key can use your quota. If a key leaks, revoke it in your DeepL account and create a new one.
Updates. The update checker (scripts/check-update.mjs) and the Update check workflow run on GitHub, not in your
browser. They call the GitHub API and nothing else.
Reporting a security problem. Please do not open a public issue. Use GitHub's private vulnerability reporting (Security tab → Report a vulnerability). If that option is not turned on for the repository yet, ask the maintainer for a private way to report it.
The icon is the Atlas Translation mark: a blue card with the white Atlas mark, and a grey card with the translate symbol. While a page is translated, the blue side of the icon is used for the toolbar and the popup.
The icon sources are icons/icon.svg and icons/icon-translated.svg. The PNG sizes in icons/ and store/store-logo-300.png are rendered from them.
- Translation services are external. Google, Bing, Yandex, DeepL, and LibreTranslate have their own terms and limits. DeepL and LibreTranslate need your own key or server.
- Yandex reads a short-lived session id from a public page. If Yandex changes that page, the service stops until the code is updated.
- Fallback between services is per browser and resets when the browser restarts the extension. The popup still shows the service you chose, even when another one translated the page. Only the enabled services are used as fallbacks.
- Text-to-speech needs an audio-capable context. Chromium uses an offscreen document (Chromium 109+). Firefox plays directly.
Atlas Translation is licensed under the Mozilla Public License 2.0. See LICENSE. The original TWP project is also MPL-2.0 and is credited in NOTICE.md.