Use this free website language detector to see what language a page is written in and what language it says it is written in. Enter a URL and the tool loads the page, reads its language settings, and analyzes the visible text. It shows the HTML lang attribute, the Content-Language header, the detected content language, text direction, character set, and any hreflang versions. It also flags common setup problems. The tool reads only what any visitor can see and does not store the results.
A language check compares what a page declares with what it actually contains. When the two disagree, browsers, search engines, and screen readers can handle the page wrongly.
How to use the website language detector
- Enter the URL: type a domain such as example.com, or a full page address. If you leave out https://, the tool adds it.
- Press Detect language: the check usually takes a few seconds.
- Read the results: compare the declared language with the detected one, then review any items flagged.
- Copy: click any value to copy it, or copy the whole report.
How detection works
- HTML lang attribute: the lang value on the html tag is the main way a page declares its language.
- HTTP and meta signals: the Content-Language header, a language meta tag, and og:locale can also name a language.
- Hreflang links: link tags list alternate versions of the page in other languages or regions.
- Visible text: the tool looks at the writing system first, such as Latin, Cyrillic, or Arabic. For languages that share a script, it scores the text against lists of common words.
- Confidence: the result is rated High, Medium, or Low based on how much text was found and how clearly one language stands out.
What this tool does and does not do
This tool loads one page, the address you enter, and analyzes the first 1 MB of its HTML. It requests the page as a visitor who prefers English, so a site that picks a language from the visitor's settings or location may return a different version to other people. It does not run JavaScript, crawl other pages, or translate anything. Pages that build their text in the browser, have very little text, or mix several languages may give a low-confidence or incorrect result. The detector covers about 30 common languages and writing systems, so a language outside that set may be reported as a similar one or not detected. Only public websites on standard web ports can be checked, and the tool skips private and internal addresses.
What the results tell you
| Signal | Example | Why it matters |
|---|---|---|
| HTML lang | <html lang="en-US"> | Tells browsers, translation tools, and screen readers how to read the page. |
| Content-Language | Content-Language: en | A server-level hint that should agree with the lang attribute. |
| Detected language | English (High) | Shows what the text really is, so you can spot a wrong or missing declaration. |
| Hreflang | hreflang="fr-CA" | Helps search engines show the right language version to the right audience. |
| Text direction | dir="rtl" | Right-to-left languages such as Arabic and Hebrew need the right direction to display correctly. |
| Character set | UTF-8 | UTF-8 supports every language; older sets can break accents and non-Latin text. |
Use language checks on sites you own or have a legitimate reason to review. A mismatch is a configuration issue to fix, not a sign that a site is unsafe.
Worked examples
Checking a template default
A site built from a template may keep lang="en" even after its content is translated into Spanish. The detector shows Spanish as the detected language and flags the mismatch, so you know to update the lang attribute.
Reviewing a multilingual site
Enter the home page of a site with several language versions. The hreflang list shows which versions are declared and whether an x-default fallback is set. Missing versions or a missing x-default are quick things to fix.
Auditing accessibility
Screen readers use the lang attribute to choose the right pronunciation. If the tool reports no lang attribute, adding one is a simple accessibility fix.
A result with low confidence
If the confidence is Low, the page may have very little text, load its content with JavaScript, or mix languages. That is a limit of the check, not proof that the page has the wrong language.
Common mistakes when reading results
- Trusting the declaration alone. The lang attribute is set by the site owner and can be wrong or left at a default.
- Treating a low-confidence result as final. Short pages and closely related languages, such as Danish and Norwegian, are hard to separate.
- Checking only one page. Different pages and language folders on the same site can declare different languages.
- Mixing up language and country. en-GB and en-US are the same language with different regional versions.
- Ignoring the version the visitor sees. Sites that redirect by location or browser setting may show other visitors a different language.
Frequently asked questions
Is this website language detector free?
Yes. There is no sign-up. To keep the tool available for everyone, the number of checks per hour from one network is limited.
Is the URL I enter sent or stored?
The URL is sent to our server so it can load the page, because a browser cannot read other websites directly. The result is returned to you and not saved. We keep only a short-lived request counter used for the rate limit.
How accurate is the detection?
It is reliable for pages with enough text in a common language. It can be wrong for very short pages, pages built mostly with JavaScript, mixed-language pages, and languages that are very similar to each other. The confidence rating shows how much to trust the result.
Why does the declared language not match the detected language?
The lang attribute may have been left at a template default, or the page may be mostly in another language. Check the page text first, then update the lang attribute to match.
What is hreflang and why is it listed?
Hreflang links tell search engines which language or regional version of a page to show to each audience. The tool lists the versions it finds and notes when an x-default fallback is missing.
Why did the check fail?
The address may be misspelled, the site may be down, it may block automated requests, or it may use a non-standard port or a private address. Try the full URL, including the www version if needed.
Can I check any website?
You can check any public website you are allowed to view. The tool makes a single normal page request, similar to a visitor opening the page. It does not scan, crawl, or test for weaknesses.