Home › Text Tools › Language Detector

Language Detector

Paste a sentence or paragraph to find out what language it is written in. You get the most likely language with a confidence ranking of alternatives, the writing systems used in the text, and an optional line-by-line check for mixed-language documents.

Last updated:

Detected language Paste some text

Ranking

    Advertisement
    Advertisement

    How to use the Language Detector

    1. Paste your text. A sentence or two (20+ words) gives the most reliable result.
    2. Read the detected language, its native name, ISO code and confidence.
    3. Check the alternatives: closely related languages such as Spanish and Galician can score close together.
    4. Look at the writing systems to see which scripts appear and how much of the text each covers.
    5. Turn on line-by-line to detect each line separately, for example in subtitles or multilingual lists.

    How language detection works

    The detector works in two steps. First it classifies every letter by writing system (Unicode script). Many languages have their own script, so Korean Hangul, Thai, Georgian, Armenian, Greek, Tamil or Khmer text is identified from the letters alone, and Japanese is recognized by its hiragana and katakana. Chinese text is checked for Simplified versus Traditional character forms.

    For scripts shared by many languages (Latin, Cyrillic, Arabic, Devanagari, Hebrew, Bengali) it compares the text with language profiles. The franc model, an open-source library, scores how well the text's three-letter sequences (trigrams such as “the”, “ing”, “ión”) match profiles of 180+ languages. The built-in detector instead counts each language's most frequent short words (“the, and, of” for English, “und, der, die” for German) and characteristic letters such as ñ, ß, ø, ł, ő or ă.

    Languages that are easy to confuse

    Pair or groupWhyClues to look for
    Danish / Norwegian BokmålNearly identical written vocabularyDanish af, mig, efter, hvad; Norwegian av, meg, etter, hva
    Spanish / Galician / PortugueseShared Latin roots and endingsSpanish ñ, el, los; Galician unha, non; Portuguese ã, õ, não
    Malay / IndonesianStandard forms of one languageMalay kerana, boleh, sahaja; Indonesian karena, bisa, saja
    Croatian / Serbian / BosnianMutually intelligible standardsSerbian often uses Cyrillic; Croatian tko, što, Serbian ko, šta
    Czech / SlovakClose relativesCzech ř, ů, ě; Slovak ľ, ä, ô
    Russian / Ukrainian / BelarusianShared Cyrillic alphabetRussian ы, э; Ukrainian і, ї, є, ґ; Belarusian ў
    Hindi / Marathi / NepaliAll written in DevanagariHindi है, और; Marathi आहे, आणि; Nepali छ, र
    Arabic / Persian / UrduShared Arabic scriptPersian پ چ ژ گ; Urdu ٹ ڈ ڑ ے

    Tips for accurate results

    • Use full sentences. Names, brands, numbers and single words often exist in several languages.
    • Remove code, URLs and hashtags before checking; they add English-looking letter patterns.
    • Split mixed documents with the line-by-line option instead of checking them as one block.
    • Read the ranking: when the top two scores are close, the text may fit both languages.

    Frequently asked questions

    How does the language detector work?

    It first looks at the writing system: many languages have a unique script (Greek, Korean Hangul, Thai, Armenian…). Within shared scripts it compares the text against language profiles: the franc model compares sequences of three letters (trigrams) with profiles for 180+ languages, and the built-in detector counts each language's most common words and special letters.

    How much text do I need?

    One short sentence is often enough for distinct languages, but 20 or more words give a reliable answer. Single words and names can belong to several languages, so the result for very short input is marked as low reliability.

    Why are similar languages sometimes confused?

    Closely related languages such as Danish and Norwegian, Spanish and Galician, Malay and Indonesian or Serbian, Croatian and Bosnian share most of their common words and spelling. Check the ranking: when two scores are close, both are plausible.

    Which engine is used?

    When your browser can load the franc library from the CDN, its trigram model ranks 180+ languages. If it cannot load (for example offline), the built-in detector covers 80+ major languages and every distinct script instantly. The result card says which engine produced the answer.

    Can it detect mixed-language text?

    The main result reports the dominant language. Turn on line-by-line mode to check each line separately, and the writing-system table shows when several scripts are mixed.

    What are ISO 639-3 codes?

    ISO 639-3 is the international standard of three-letter language codes, such as eng for English, spa for Spanish and cmn for Mandarin Chinese. They are shown so you can use the result in software and data files.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Unicode Character LookupFind Unicode characters by name or code point and copy them with UTF-8, HTML and code escapes.Special CharactersCopy and paste 1,500+ symbols: arrows, math, currency, stars, checkmarks, © ® ™ and more.Cyrillic TransliterationConvert Bulgarian, Russian and Ukrainian Cyrillic to Latin and back using official rules.Hidden Character DetectorFind and remove zero-width spaces, non-breaking spaces and other invisible Unicode characters.Bibliography GeneratorBuild an alphabetized bibliography in APA 7, MLA 9, Chicago or Harvard style.Accent KeyboardClick to insert é, ñ, ü, ç, ß and other accented letters for 11 languages, then copy.Arabic KeyboardType Arabic online with a full on-screen keyboard, harakat and Arabic-Indic digits, then copy.Russian KeyboardType Russian online with a ЙЦУКЕН or phonetic on-screen keyboard, then copy your Cyrillic text.NATO Phonetic Alphabet TranslatorSpell any text as Alfa, Bravo, Charlie, hear it spoken, or decode code words back to text.Pig Latin TranslatorTranslate English to Pig Latin and back, keeping capital letters and punctuation intact.Hindi KeyboardType Hindi online with an InScript or phonetic Devanagari keyboard, then copy your text.Urdu KeyboardType Urdu online with a phonetic keyboard or Roman Urdu typing, then copy your Urdu text.Persian KeyboardType Persian (Farsi) online with the standard ISIRI layout or Finglish typing, then copy.Greek KeyboardType Greek online with the standard Greek layout or Greeklish, accents included, then copy.Hebrew KeyboardType Hebrew online with the standard Israeli layout or phonetic typing, with niqqud.Korean KeyboardType Korean Hangul online with the 2-set Dubeolsik keyboard; jamo combine automatically.Ukrainian KeyboardType Ukrainian online with the ЙЦУКЕН keyboard or Latin translit, incl. ї, є, ґ and ʼ.Bulgarian KeyboardType Bulgarian online with the BDS or phonetic keyboard or Latin typing, then copy.Bengali KeyboardType Bengali (Bangla) online with InScript or phonetic typing, then copy your text.Tamil KeyboardType Tamil online with the InScript layout or phonetic (Tanglish) typing, then copy.Thai KeyboardType Thai online with the standard Kedmanee keyboard layout, then copy your Thai text.Gujarati KeyboardType Gujarati online with InScript or phonetic English typing, then copy your text.Punjabi KeyboardType Punjabi (Gurmukhi) online with InScript or phonetic typing, then copy your text.Armenian KeyboardType Armenian online with the phonetic keyboard or Latin typing, then copy your text.Amharic KeyboardType Amharic online in Ge’ez script (ፊደል): consonant + vowel phonetic typing, then copy.Burmese KeyboardType Burmese (Myanmar Unicode) online with the standard layout, then copy your text.Czech KeyboardType Czech online with č, ř, š, ž, ě, ů and á using the Czech QWERTZ layout or shortcuts.French KeyboardType French online with é, è, ç, à, ê and œ: AZERTY layout, accent shortcuts and buttons.Georgian KeyboardType Georgian online (Mkhedruli) with a phonetic QWERTY keyboard and copy your text.German KeyboardType German online with ä, ö, ü and ß: QWERTZ layout, umlaut shortcuts and quick buttons.Hieroglyphics TranslatorWrite your name in Egyptian hieroglyphs with a cartouche, key chart and PNG download.Hungarian KeyboardType Hungarian online with ő, ű, á, é and ö using the Hungarian QWERTZ layout or shortcuts.Italian KeyboardType Italian online with à, è, é, ì, ò and ù using the Italian layout or accent shortcuts.Japanese KeyboardType Japanese hiragana and katakana online from romaji or the JIS kana layout, then copy.Kannada KeyboardType Kannada online with phonetic English typing or the InScript Kannada layout, then copy.Kazakh KeyboardType Kazakh online in Cyrillic with ә, і, ң, ғ, ү, ұ, қ, ө and һ, or phonetically.Khmer KeyboardType Khmer (Cambodian) online with the standard NiDA keyboard, subscripts and copy.Kurdish KeyboardType Kurdish online: Sorani (Arabic script, right to left) or Kurmanji (Latin with ç ê î ş û).Gen Z Slang TranslatorTranslate Gen Z slang to plain English and back, with a definition for every term on hover.Hiragana and Katakana QuizLearn the Japanese kana with a chart, flashcards and a timed typing quiz that tracks your mistakes.Korean Romanization ConverterConvert Hangul to Revised Romanization with sound-change rules, plus McCune–Reischauer.Online Math KeyboardOn-screen math keyboard for fractions, exponents, roots, Greek and operators, as Unicode text or LaTeX.Resume Action Verbs300+ resume power verbs by skill, plus a checker that swaps weak verbs in your bullet points.Standard Galactic Alphabet TranslatorTranslate English to the Standard Galactic Alphabet (enchanting table letters) and back, with PNG.Text Abbreviation TranslatorTranslate texting shorthand like lol, brb, idk and ngl into plain English, or the other way.UwU TranslatorTurn normal text into cute uwu / owo speak with stutters, faces and an intensity slider.Wingdings TranslatorTranslate text to Wingdings symbols and decode Wingdings back to English, with copy-ready Unicode.Wrong Keyboard Layout FixerFix text typed with the wrong keyboard layout: Ghbdtn → Привет, EN↔RU/UA/HE/AR/EL, Dvorak, AZERTY.Yoda Speak TranslatorReorder English into wise, backwards Yoda-style speech with optional hmms. Copy in one click.Chinese KeyboardType Chinese characters online with pinyin input, Simplified or Traditional, then copy your text.Happy Birthday in Different LanguagesSay “Happy birthday” in 115 languages with native script, romanization and audio.I Love You in Different LanguagesSay “I love you” in 129 languages with native script, pronunciation guide and audio.IPA KeyboardType International Phonetic Alphabet symbols online with clickable charts and = shortcuts.Your Name in JapaneseWrite your name in Japanese katakana with romaji reading, spelling options and a name card.Lao KeyboardType Lao online with the standard Lao keyboard layout, tone marks and Lao digits, then copy.Macedonian KeyboardType Macedonian online in Cyrillic with ѓ, ќ, ѕ, џ, љ, њ, using the layout or phonetic Latin.Malayalam KeyboardType Malayalam online with phonetic English typing or InScript, including chillu letters.Marathi KeyboardType Marathi online with the InScript Devanagari keyboard or phonetic typing, then copy.Mongolian KeyboardType Mongolian Cyrillic online with ө and ү, using the Mongolian layout or phonetic Latin.Nepali KeyboardType Nepali online with Romanized phonetic typing or InScript Devanagari, then copy.Pashto KeyboardType Pashto online right-to-left with ټ, ډ, ړ, ږ, ښ, ځ, څ, ڼ, ګ, ې and ۍ, then copy.Pirate Speak TranslatorTranslate English into pirate talk with a 500+ phrase dictionary, exclamations and read aloud.Polish KeyboardType Polish online with ą, ć, ę, ł, ń, ó, ś, ź and ż using shortcuts or the Polish layout.Portuguese KeyboardType Portuguese online with ã, õ, ç, á and ê: Brazilian ABNT2, Portugal layout and shortcuts.Romanian KeyboardType Romanian online with ă, â, î, ș and ț (comma below) with the standard layout or shortcuts.Rune TranslatorWrite English in Elder Futhark, Younger Futhark or Anglo-Saxon runes and read runes back.Serbian KeyboardType Serbian online in Cyrillic or Latin, or convert Latin typing to Cyrillic as you type.Shakespearean English TranslatorTurn modern English into Shakespeare-style Early Modern English: thou art, doth, methinks.
    See all 80 Online Keyboards & Languages →