Language Detector

Paste any text to identify its language among more than 180 languages. You also get its ISO codes, writing system, and close alternatives.

  • 180+ languages
  • ISO 639 codes
  • Instant & private
Your text
Detected language
Start typing to detect the language.
How to use

How to use Language Detector

  1. 01

    Paste your text

    Type or paste a sentence or more. Longer text gives more reliable results.

  2. 02

    See the language instantly

    The detected language, its ISO 639 codes, and the writing system appear as you type.

  3. 03

    Check alternatives

    Similar languages such as Spanish and Portuguese are listed with their relative scores.

Guide

About Language Detector

Language Detector identifies the language of any text, from English and Spanish to Swahili, Tagalog or Kazakh. It also gives you the standard ISO codes, the writing system and the closest alternative matches.

How it works

Every language has a statistical "fingerprint" made of the three-letter sequences, or trigrams, that appear most often in it. English is full of "the", "ing" and "and", while Spanish favors "que", "los" and "ión". The tool breaks your text into trigrams and compares them with profiles of more than 180 languages using the open-source franc library. The closest profile wins.

Before comparing, the detector checks the script (Latin, Cyrillic, Arabic, Devanagari, Han and others). This narrows the candidates immediately, which is why text in Japanese or Greek is recognized almost instantly.

What you can use it for

  • Translation: find out which language a message is in before you translate it.
  • Customer support: route emails and tickets to the right team.
  • Developers: get the correct ISO code for lang attributes, APIs and localization files.
  • Data cleaning: check the languages in a dataset or survey export.

Tips for the best results

  • Give it at least one full sentence. Single words and names are often ambiguous.
  • Closely related languages, such as Spanish and Portuguese or Serbian and Croatian, can score close together. Check the alternatives list.
  • For mixed-language text, test each part separately. The detector returns the dominant language.
  • Remove URLs, code and numbers, which add noise without telling the tool anything about the language.

At a glance

Languages
180+ languages
Codes
ISO 639-1 and ISO 639-3
Also shows
Writing system, alternatives
Engine
franc (trigram profiles)
Minimum text
About 20 characters
Privacy
Runs in your browser
Use Language Detector Read the guideWhat Language Is This? How to Identify Any Language From Text
FAQ

Questions about this tool

Something missing? Write to contact@ultratoolsai.com.

How does language detection work?

It compares the character patterns (trigrams) in your text with statistical profiles of 187 languages using the open-source franc library.

How much text do I need?

A single sentence of 20 or more characters usually works. Very short text, names, or mixed-language text can be ambiguous.

What are ISO 639 codes?

Standard language codes. ISO 639-1 uses two letters (for example en) and ISO 639-3 uses three (for example eng).

Is my text sent anywhere?

No. Detection runs entirely in your browser.