
Loading…
Writing tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
83 letters. Detection runs in your browser with franc-min (MIT), which knows 76 languages. Very short text is unreliable.
Loading the detector…
Sentences appear here once there is text.
Need Language Detector as a full app for your team or customers? We build it with your workflow. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The language detector stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Turn this into a full content product. Buy once, own the source, and try each one live first.


Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demoPaste or type text into the box and the tool names the language straight away. It is useful before you translate, when you receive a message in a language you do not recognise, when you clean a dataset of mixed-language reviews, or when you need the right language code for an HTML lang attribute.
The panel on the right lists the top five matches with a relative score bar. The first line is the best guess. Below it a short note tells you how far to trust it. The note depends on how much text you gave and how far ahead the first match is from the second. If the note says low confidence, add more text.
Under the bars you see which writing systems the letters belong to, for example Latin 100% or Cyrillic 92% and Latin 8%. This is separate from the language guess and works for any Unicode script, including some that the language models do not cover. When the text is in Hebrew, Armenian, Georgian, Khmer, Lao or Tibetan, the tool names the script instead of guessing a language.
The sentence by sentence panel splits the text at full stops, question marks and line breaks and detects each part. Each language gets its own colour dot, and the summary shows how many sentences belong to each language. Very short sentences are skipped because they are unreliable.
For a language that the free translator supports, a button opens the text translator with the source language and your text already filled in. You can also copy the result or download it as a CSV with the codes and scores.
Detection is statistical. It struggles with very short text, with text that is mostly numbers, names or code, and with closely related languages. It identifies the language, not the dialect, and it cannot tell transliterated text such as Hindi written in Latin letters from English reliably.
It compares the three-letter sequences (trigrams) in your text with a statistical profile of each language, using the open-source franc-min library. The language whose profile fits best ranks first. It also checks which Unicode scripts the letters belong to.
franc-min ships models for 76 languages: the major world languages plus many African and South-East Asian ones. It covers Latin, Cyrillic, Arabic, Devanagari, Bengali, Tamil, Telugu, Thai, Korean, Japanese, Chinese and Greek scripts, among others. Hebrew, Armenian and Georgian are recognised as scripts only.
Trigram statistics need material. With fewer than about 20 letters, closely related languages such as Spanish and Portuguese, or Croatian and Bosnian, look almost identical. Add a full sentence and the result usually becomes clear; the confidence note warns you when it is not.
Yes. The sentence-by-sentence view runs the detector on each sentence and colours them, so an email that mixes English and Spanish shows both. Sentences shorter than 12 letters are marked too short.
They are franc relative scores: the best match is 100% and the others show how close they are. They are not probabilities, and two bars near each other mean the text is ambiguous.
No. The detector is a small script that runs in your browser, and your text is never sent anywhere.