on-device translations / chrome translator api demo
built with astro · bun · vite

Translate locally.
No network. No leaks.

A live demo of Chrome’s built-in Translator API. Every keystroke is translated by a model that lives on your machine — no servers in the loop, no telemetry, no API keys. Pick a pair, type, watch the words stream in.

39languages
∞pairs (via en hub)
0network calls

Your browser can’t run this demo on-device.

The Chrome Translator API ships only in desktop Chrome 138+ (and Edge Canary/Dev experimentally), on capable hardware. Here’s what is needed to unlock it.

0 chars ↵ for newline · streams above 40 chars
— —
en → es checking…

Detect the language

on-device · LanguageDetector API

Paste any text — Chrome's LanguageDetector returns ranked language guesses with confidence scores, locally and without network calls.

0 chars detects on every keystroke
    — —
    language ← text checking…

    How the model size shows up

    first-use download · per pair
    Per language pack
    ~hundreds of MB
    First call
    downloads, streams progress
    Subsequent calls
    instant, sequential
    Cleanup threshold
    purges if disk < 10 GB

    The Translator API doesn’t expose a byte-exact size before download — the bar above fills as downloadprogress events arrive from the monitor callback during Translator.create().

    All 39 supported languages

    on-device · BCP-47 codes
    ar
    —
    Arabic
    العربية
    bg
    —
    Bulgarian
    Български
    bn
    —
    Bengali
    বাংলা
    cs
    —
    Czech
    Čeština
    da
    —
    Danish
    Dansk
    de
    —
    German
    Deutsch
    el
    —
    Greek
    Ελληνικά
    en
    —
    English
    English
    es
    —
    Spanish
    Español
    fi
    —
    Finnish
    Suomi
    fr
    —
    French
    Français
    hi
    —
    Hindi
    हिन्दी
    hr
    —
    Croatian
    Hrvatski
    hu
    —
    Hungarian
    Magyar
    id
    —
    Indonesian
    Bahasa Indonesia
    it
    —
    Italian
    Italiano
    iw
    —
    Hebrew
    עברית
    ja
    —
    Japanese
    日本語
    kn
    —
    Kannada
    ಕನ್ನಡ
    ko
    —
    Korean
    한국어
    lt
    —
    Lithuanian
    Lietuvių
    mr
    —
    Marathi
    मराठी
    nl
    —
    Dutch
    Nederlands
    no
    —
    Norwegian
    Norsk
    pl
    —
    Polish
    Polski
    pt
    —
    Portuguese
    Português
    ro
    —
    Romanian
    Română
    ru
    —
    Russian
    Русский
    sk
    —
    Slovak
    Slovenčina
    sl
    —
    Slovenian
    Slovenščina
    sv
    —
    Swedish
    Svenska
    ta
    —
    Tamil
    தமிழ்
    te
    —
    Telugu
    తెలుగు
    th
    —
    Thai
    ไทย
    tr
    —
    Turkish
    Türkçe
    uk
    —
    Ukrainian
    Українська
    vi
    —
    Vietnamese
    Tiếng Việt
    zh
    —
    Chinese (Simplified)
    中文
    zh-Hant
    —
    Chinese (Traditional)
    繁體中文

    Hardware requirements

    desktop only
    Chrome
    138 +
    OS
    Win 10/11 · macOS 13+ · Linux
    RAM
    16 GB
    CPU cores
    4 +
    GPU VRAM
    > 4 GB
    Free disk
    22 GB
    Mobile
    — not available —
    Firefox / Safari
    — no JS surface —