Declared Language vs Page Text Checker
Checks whether the language your markup declares matches what the text really is.
Use the tool
Why this tool exists
A page marked lang="nl" that is mostly German, or a translated page that was never translated, is a common hreflang failure. Paste the text and the declared code; the tool detects the script and the most frequent function words and tells you whether they match.
It is a simple heuristic: 11 Latin-script languages by common words, plus script detection for CJK, Cyrillic, Arabic, Hebrew, Greek, Devanagari and Thai. It cannot separate languages that share a script and it ignores the region part. Google does not use hreflang or lang to detect language and works it out itself.
How to use it
- Paste a paragraph of the page text.
- Enter the declared code, for example de-AT.
- Read the detected languages with their shares.
- Investigate any mismatch.
Frequently asked questions
How much text does it need?
At least a few sentences. Very short text is flagged as unreliable.
Which languages are covered?
English, Spanish, French, German, Italian, Portuguese, Dutch, Swedish, Polish, Turkish, Indonesian, plus scripts.
Is there a better detector?
The AI Language Identifier on this site covers 176 languages in the browser.
Does it check the region?
No.