What Language Is This?
Paste a few sentences, or drop a document, and see which language it is written in, the writing system it uses and how sure the answer is. Nothing you paste leaves your browser.
Example text. Replace it with your own.
Reading …
That file could not be read. Paste a few sentences from it instead.
This text is written in
Writing system: Confidence: HighMediumLow Less likely:
Type or paste a little more. A language is recognised reliably from a sentence or two.
This language was not recognised. The detector knows about 80 languages; a document in any of the 108 languages DocTranslator translates can still be translated.
Translate from Translate a documentThe text is checked in your browser and is not sent anywhere.
How the detector recognises a language
The first clue is the alphabet. Some writing systems belong to one language, or nearly so: Hangul is Korean, the Thai script is Thai, Greek letters are Greek, and kana mixed with Chinese characters is Japanese. When the text is in one of those scripts, the answer is almost certain.
Latin, Cyrillic, Arabic and Devanagari letters are shared by dozens of languages, so the detector looks at which letter sequences turn up most often. Every language has its own habits. English is full of "the", "ing" and "and"; Polish of "prz", "ów" and "dz"; German of "sch" and "ein"; Spanish of "que" and "ción". The text is compared with the typical sequences of about 80 languages, and the closest match wins.
When the answer is less certain
The confidence shown with each answer says how far ahead the winner was. Three situations bring it down:
- Very short text. A greeting or a name does not hold enough letter patterns to decide. Two or three full sentences are usually plenty.
- Close relatives. Bosnian, Croatian and Serbian in Latin letters are written almost the same way, as are Indonesian and Malay. Hindi, Marathi and Nepali share the Devanagari script and many words. When two such languages run close, both are named.
- Mixed text. An English email that quotes a French contract is read as a whole, and the language with more text wins. Paste the part you are unsure about on its own.
The detector names languages, not regional varieties. It cannot tell Brazilian from European Portuguese, or the Spanish of Mexico from that of Spain; their spelling differs too little.
Checking a document, not just a sentence
Drop a PDF, Word, Excel, PowerPoint, InDesign (IDML) or EPUB file, or a plain text file, and the detector reads its text in your browser and names the language from the document as a whole. It is a quick check before you send a file for translation, and a way to catch an attachment that is not in the language you expected.
A scanned document has no text to read. For a scan or a photo, first get the text out with Image to Text, then paste it here.
From knowing to translating
When you upload a document to DocTranslator, you choose the language it is written in and the one you want, from 108 languages. Once you know the first, the rest is a few clicks, and the translated file keeps the layout of the original.
Language Detector FAQ
Is the text I paste sent anywhere?
No. The language is worked out by a small program running in your browser. Neither the text nor a document you drop is sent to DocTranslator or anyone else.
How many languages can it recognise?
About 80, including all the widely spoken ones. A language outside that list is reported as not recognised rather than guessed. DocTranslator itself translates documents in 108 languages.
How much text does it need?
A sentence or two is usually enough for a confident answer. Below about 20 characters the detector waits for more text.
Why does it list another language as less likely?
Because the two languages share many letter patterns, and the text did not separate them clearly. Bosnian and Croatian, or Indonesian and Malay, are typical pairs. More text usually settles it.
Can it tell me the language of a scanned PDF?
Not directly, because a scan is a picture with no text in it. Read the text out with Image to Text first, then paste it here.
Is it free?
Yes, with no account and no limit. Translating a document is a separate service, with the first page shown translated free before you pay, where available.
Know the language, then translate it
DocTranslator translates documents between 108 languages and keeps their layout.
Translate by Language and Format
Popular Language Pairs
