AI Language Detector
Not sure what language a message, a label or a paragraph is in? Paste it here and find out. The detector names the most likely language, shows the runners-up, and can check mixed text line by line.
How to Detect a Language
Quick answer: paste or type your text into the box and read the most likely language at the top of the result. Tick the line-by-line box for text that mixes languages.
-
1
Paste your text
Type or paste anything into the box: a sentence, a message, a paragraph, or a few lines from a document.
-
2
Read the answer
The most likely language appears straight away with a short note on how reliable it is. The runners-up are listed with a percentage each.
-
3
Check the writing system
See whether the letters are Latin, Cyrillic, Arabic, Han or another script, which helps when two languages share a script.
-
4
Check mixed text
Tick Check each line on its own to see the language of every line, which is useful for a list of reviews or messages in different languages.
What You Get
How Language Detection Works
Every language has its own habits. Certain letters go together often, certain endings are common, and certain short words appear again and again. English has "the" and "ing", Spanish has "ción" and "que", German has "sch" and "ung". A language detector measures these habits. It breaks your text into short runs of three letters and counts which runs appear. Then it compares the counts with a profile built from many texts in each language, and the closest profile wins.
This tool does the comparison in your browser, with a small library that loads the first time you type. The text never goes to a server, so it is safe to paste private messages or documents.
Short Text and Similar Languages
The more text you give, the better the guess. A paragraph is almost always identified correctly. A single word is hard, because many words are spelled the same in several languages. Closely related languages are the hardest pairs, for example Spanish and Portuguese, Czech and Slovak, or Norwegian and Danish. If the top two results are close, the tool says so, and a longer sample usually settles it.
Names, numbers and web addresses carry no language information, so remove them if the result looks wrong. Text written in a language but typed in the Latin alphabet, such as Hindi written with English letters, may be reported as another language or as unknown.
When to Use It
- You received a message or a document and do not know what language it is in, before you translate it.
- You are sorting reviews, emails or survey answers by language.
- You are checking that a page or an app string is in the language you meant to write it in.
- You are learning a language and want to confirm what a text on a sign, a label or a menu is.
For counting the words or characters of a text, try the Word Counter, and to turn text into speech, use Text to Speech.
Using It to Learn and Check
Language learners often meet text they cannot place: a song title, a street sign, a label on food. Paste it in and the detector tells you what you are looking at. Writers and translators use it to double-check that a paragraph slipped into the wrong language, for example when a document mixes English and Spanish, or when a machine translation returned something unexpected. Teachers can use it with a class to compare how the same sentence looks in different languages, using the example buttons under the text box as a start.
It is also a quick way to see how much of a long text is really in one language. Paste a page of reviews with one review per line, tick the line-by-line option, and you can see at a glance which lines are in which language.
Writing Systems
Under the result the tool also names the writing system found in your text, such as Latin, Cyrillic, Arabic, Hebrew, Devanagari, Greek, Thai, Hangul or Han characters. This can be handy by itself. If the text is in Cyrillic, for example, the language is probably Russian, Ukrainian, Bulgarian or another Slavic language, and the ranking below tells you which. If it is in Han characters with Hiragana or Katakana mixed in, it is Japanese. The writing system never needs a model, so it is exact.
Frequently Asked Questions
Common questions about language detection