Language Detector
Approximately detect the language of a text (PT, EN, ES, FR, DE, IT) by letter and bigram frequency analysis. Heuristic, no API. Everything in your browser.
What the detector actually looks at
You got a spreadsheet with mixed customer reviews, or a subtitle file with no language tag, and you need to tell Portuguese from Spanish before sending anything to review. Paste the passage in the box above and the guess shows up immediately, along with the score for each candidate. The comparison covers six languages: Portuguese, English, Spanish, French, German and Italian.
Under the hood there is no AI model and no API call. The tool splits your text into words and counts how many match a list of roughly eighteen function words per language (the, of, and, de, que, der, di, le). The score line under the result is literally that count. Since 'de', 'que', 'para' and 'con' belong to both the Portuguese and the Spanish lists, short sentences tie easily, and Portuguese wins any tie.
Give it at least two or three full sentences. Headlines, product name lists and code snippets almost never contain function words, so the result comes back as Undetermined, which beats a confident wrong guess. Read the score before trusting it: 7 against 1 is conclusive, 2 against 2 is not. Everything runs in your browser, so you can paste internal material without sending it to any server.
Frequently asked questions
Why does it say Undetermined for text that is obviously Portuguese?
Does it tell Brazilian Portuguese from European Portuguese?
What about Dutch, Polish or Japanese?
Related Tools
Detector de Idioma (trigrama)
Adivinha PT/EN/ES por presença de trigramas comuns.
Homophonic Substitution Cipher
Replace each letter with one of several numbers/symbols from a homophonic alphabet, distributed proportionally to letter frequency. More resistant to frequency analysis than monoalphabetic substitution.
Detector de Voz Passiva (PT)
Conta frases com voz passiva por heurística: "foi/foram/é/são/era + verbo no particípio (-ado/-ido)".