Language Detector
Paste any text and find out what language it is — 176 languages, with confidence scores, detected entirely in your browser.
Other possibilities
🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.
The Language Detector answers one question fast: what language is this text? Paste a sentence, a paragraph or a whole document and it names the language, shows how confident it is, and lists the runners-up so you can see when a call is genuinely close. It covers 176 languages — not just the obvious European ones, but Bengali, Amharic, Telugu, Khmer, Yoruba, Cebuano, Welsh and a long tail of regional languages too.
Under the hood it runs Facebook AI Research's fastText lid.176 language-identification model (CC BY-SA 3.0) — the same model used in real language pipelines — re-implemented in plain JavaScript so it executes on your own machine. It reads character n-grams rather than looking words up in a dictionary, which is why it copes with names, slang, typos and text that shares an alphabet with a dozen other languages. The first time you use the tool your browser downloads the 0.7 MB model file; after that it is cached and works with no internet connection at all.
Two modes cover the common jobs. By default the whole box is treated as one piece of text, which is what you want for identifying a document, an email or a support ticket. Tick “Detect each line separately” and every line is labelled on its own — handy for a mixed-language spreadsheet column, a translation file, or a list of comments scraped from several countries. Either way the text never leaves your device: there is no upload and no API call, so it is safe for material you could not paste into a remote translation service.
How to use
- Paste or type the text you want to identify into the box.
- Wait a moment on first use while the language model downloads (0.7 MB, cached afterwards).
- Read the detected language and its confidence score at the top.
- Check the runners-up underneath when the top score is low — close languages show up there.
- Tick “Detect each line separately” to label every line of a mixed-language list on its own.
Examples
Paste the message body to see whether that enquiry is Portuguese or Spanish before you route it.
Turn on per-line detection and label a column of user comments language by language.
Confirm every line of a localisation file is actually in the language the file claims.
Danish vs Norwegian, Indonesian vs Malay, Serbian vs Croatian — the confidence bars show how close the call really was.