How to detect a language
How reliable is detection?
For a few sentences in one language, detection is usually very reliable. It becomes uncertain with very short text (one or two words), names, text that mixes languages, and closely related languages such as Danish and Norwegian, Czech and Slovak, or Malay and Indonesian. Transliterated text – for example Hindi or Arabic written in Latin letters – is often identified poorly.
| Confidence | What it means |
|---|---|
| 90–100% | Clear match |
| 60–89% | Probably right; check if the text is short or mixed |
| Below 60% | Uncertain – add more text or look at the other candidates |
Next steps
Once you know the language, translate the text with the Text Translator or a language-pair page such as Arabic to English.
Which browsers can translate?
| Browser | Built-in translation |
|---|---|
| Google Chrome 138+ on Windows, macOS, Linux, ChromeOS | Yes |
| Microsoft Edge 148+ on Windows and macOS | Yes |
| Chrome or Edge on Android and iPhone | Not yet |
| Firefox, Safari | Not yet |
| Older Chrome or Edge versions | No – update the browser |
How the translation works
Docelora does not run its own translation server. The tool calls the Translator API built into your browser – an on-device translation model provided by Google in Chrome (version 138 and later, on Windows, macOS, Linux and ChromeOS) and by Microsoft in Edge (version 148 and later). The model and the language packs are downloaded by the browser itself and run on your computer. Your text stays on your device, which also means translation works the same whether you are signed in or not and costs nothing.
The Translator API is not yet available in mobile browsers, Firefox or Safari. On those, the page tells you that translation is unavailable rather than pretending to work. Which language pairs are offered depends on the browser and its version; the tool checks before translating.
How accurate is machine translation?
Machine translation is good for understanding a text, drafting a reply or translating everyday content quickly. It is not a substitute for a professional translator when accuracy matters. Common weaknesses are idioms, humour, tone and politeness, ambiguous short phrases, specialist terminology, and names. For legal, medical, immigration, financial or safety-critical documents, use a qualified or certified translator.
Related tools
Frequently asked questions
How do I find out what language a text is in?
Paste it and select Detect language. The most likely languages are listed with their confidence.
How much text do I need?
A sentence or more. Single words are often ambiguous between languages.
Why are two similar languages listed?
Closely related languages share many words; the tool shows both with their probabilities.
Can it detect mixed-language text?
It reports the dominant language and other candidates; it does not split the text by language.
Can it detect the script, such as Cyrillic or Arabic?
It identifies the language rather than the script, but the language usually tells you the script.
Does it work on transliterated text?
Often not well – for example Urdu or Hindi typed in Latin letters.
Is the detection done online?
No. The browser’s own detection model runs on your computer.
Can I detect the language of a document?
Copy a paragraph from it and paste it here, or use the Document Translator, which detects the source language automatically.
What does “und” mean?
It stands for “undetermined”. The tool hides it and asks for more text.
Is my text sent to a server?
No. Translation is done by the model built into your browser, on your computer. Docelora does not receive or store your text.
Why does it say translation is unavailable?
Your browser does not include the Translator API. It is available in Google Chrome 138 or later and Microsoft Edge 148 or later on a computer. Mobile browsers, Firefox and Safari do not offer it yet.
Does it work on my phone?
Not yet. The browsers’ built-in translation models are currently available only on desktop and laptop computers.
Why is the first translation slow?
The first time a language pair is used, the browser downloads its language pack. Later translations of that pair start straight away.
Is it free?
Yes. There is no account, no character limit per day and no cost: the browser’s own model does the work.
How accurate is it?
Usually good for everyday text and for understanding the meaning, but not perfect. Check names, numbers, dates and anything important, and use a professional translator for legal or medical documents.
Can I translate a whole document?
Yes – the Document Translator handles TXT, Markdown, HTML, Word (.docx) and PDF files, and the Subtitle Translator handles SRT and VTT files.
How much text can I paste?
Up to 50,000 characters at a time in the text box. Longer texts are translated line by line, so very long pastes take longer.
Are line breaks and paragraphs kept?
Yes. The text is translated line by line, and blank lines and paragraph breaks are preserved.
Can I use the translation commercially?
You can use the output as you wish, but you remain responsible for checking it. Machine translation can be wrong, so have important published text reviewed.
Does it remember my text?
No. Nothing is saved; reloading the page clears the boxes. The browser keeps only its downloaded language packs.
Which languages can I choose?
The list shows more than 50 languages, but the browser decides which pairs it can translate. If a pair is not available, the tool tells you before anything happens.
Last reviewed: 8 November 2026.