Skip to Content
Platform.Ontology

Translator API

Translates text on the device between languages.

Works without askingOn-device AIBuilt in AIWeb browsersWhile you use it

In one line

Can translate text on your device between languages, without sending it away

Translates text on the device between languages.

Page text stays local. Model downloads per language pair.

What it can and can't do

What the user does: You tap a button like Translate this page

It can

  • Translate page text or what you typed between two languages
  • Download a model for each language pair the first time
  • Keep the text on your device

It cannot

  • Start before a click or tap
  • Translate to a language pair whose model you did not download
  • Work in Firefox, Safari or on phones
  • Send your text to a server for this feature

How it differs between platforms: Chrome and Edge on computers only.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported1382025-06-24Availability may be subject to geographical restrictions.
EdgeSupported1482026-05-07None
FirefoxNot supportedNot availableNot listedNone
SafariNot supportedNot availableNot listedNone
Safari on iPhoneNot supportedNot availableNot listedNone
Chrome on AndroidNot supportedNot availableNot listedNone
Samsung InternetNot supportedNot availableNot listedNone

How a site asks for it

APITranslator.availability({sourceLanguage,targetLanguage}); Translator.create(...); t.translate(text)
Permissions policytranslator
Browser compat keysapi.Translator
How access is grantedgesture
What the user seesDownload per language pair on first use
Needs a secure context (HTTPS)Yes
Needs a user gestureYes
How long it lastsPer origin
How to take it backSite settings
Inside an iframeSame as top level; cross-origin iframes need a permissions policy where listed

Typical flow

  1. Call the API
  2. Browser applies its access rules
  3. Page receives the result

Data you get

What comes back: Translates text on the device between languages.
Shape: object
How often: on demand

FieldTypeUnitRangePrecision
languageslistNone39 language codespairs vary
availabilityenumNoneunavailable, downloadable, downloading, availablehidden per pair for privacy

Technical limits

  • Desktop only
  • Per pair download

The story

What it is

A page can translate text between languages using an AI model on your device.

For you

You click Translate and the text changes to your language. It works after a language pack downloads. Your words do not go to an outside service.

For makers

Makers add translation with no per message fee and without sharing user text. It opens markets and helps chat across languages. Quality may be lower than big cloud tools.

Where you see it

TypeExampleApps
gamesA browser multiplayer game translates in game chat live, so players from different countries can talk.None named
messagingA web chat translates a friend's message from Portuguese to English on tap.WhatsApp Web
travelA travel site translates reviews and signs in the page for a trip planner.None named
videoA video site translates captions on device as you watch.YouTube
shoppingA cross border store shows product details in your language.AliExpress
educationA learning site translates a lesson for a student who is learning the school language.None named
socialA social site translates a post under its text with one tap.X
enterpriseA customer support site translates a chat between agent and customer.None named

Risks

  • Quality varies
  • Language pack download

What the platform says

Good uses and abuse

Legitimate uses

  • Page translation

Known abuse

  • None

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2025-06, Chrome 138: Translator stable on desktop (Edge 148)

Sources

How well checked: Checked against real behavior.

On this page