Tool AT-W71REV. 2026-A
hreflang check: are your language versions correctly linked for Google?
Someone searching in Czechia should find your Czech page, not the German one. To make this happen, every language version lists all the others in its head with one hreflang line each, and every listed page must link back in the same way. If a return link is missing, cz appears instead of cs or the page redirects based on browser language, Google ignores the lines. The check tests this on the live pages and writes the corrected set for you.
- free
- no sign-up
- Sitemap and source code stay in the browser
01 / FETCH
Enter an address, see the links
Fetch · page and its language versions
The check tests the prerequisite: whether the language versions are correctly linked and reachable. Google decides which version it shows.
Without fetching: paste a sitemap or choose a file
Up to 5.000 entries. Codes and groups within the sitemap are checked, but no targets; use the address option for that.
Without fetching: paste source code
For test environments behind a password. If your system only adds the lines through JavaScript, copy the finished HTML from the developer tools (“Elements” view) and paste it here.
Without it, whether the page lists itself remains unknown.
The browser checks the sitemap and source code. They do not leave your device.
02 / LINKS
How Google links your language versions
To Google, each language version is initially a separate page. Google only learns that /kontakt and /cs/kontakt are the same thing in two languages from the set: one line per version, including itself, with a code and a full address starting with https://. Every version carries the same set. If the Czech page lacks the return link to the German one, Google ignores the lines on both pages according to its own documentation.
Why this is worthwhile: in the log files of a multilingual website with 277.809 sessions, visits dropped sharply where users’ own language was missing Kralisch and Berendt 2005. Pages not available in users’ native language are consistently visited less often Kralisch and Mandl 2006. And people searching in a foreign language face barriers even when formulating their search that native speakers do not encounter Chu et al. 2015. An English version or x-default therefore does not replace the Czech one.
Three methods, one set
Google treats three methods equally. It does not matter which you use, as long as they do not contradict each other. The check reads the head and Link header when fetching, and the sitemap when you paste it.
| Method | What a line looks like | Suitable when |
|---|---|---|
| Page head | <link rel="alternate" hreflang="cs" href="https://ihre-firma.de/cs/"> | you edit the pages yourself; the lines must be in the <head>, before any <img> or <iframe> |
| HTTP Link header | Link: <https://ihre-firma.de/cs/>; rel="alternate"; hreflang="cs" | the files are not HTML, such as PDF; syntax according to RFC 8288 |
| Sitemap | <xhtml:link rel="alternate" hreflang="cs" href="https://ihre-firma.de/cs/"/> | many pages are involved; every <url> lists all versions, including itself |
Google has discontinued the “International Targeting” report that showed hreflang errors in Search Console; the help page confirms this without a date, and according to Search Engine Roundtable (second-hand), it was phased out after 22.09.2022. Since then, anyone looking for errors needs an external tool.
03 / CODES
cs, not cz: the codes
A code always starts with the language according to ISO 639-1, optionally followed by the script and country: cs, de-AT, zh-Hant. A country alone will not work. cz is the abbreviation for Czechia and not a language code, but seems plausible because of the .cz domain. Letter case does not matter, but an underscore as in de_DE does; it often comes from og:locale. Codes are checked against an extract from the IANA Language Subtag Registry dated 2026-11-18.
| Value | Rule | Correct |
|---|---|---|
| cz | K2 · A country alone instead of a language | cs |
| at | K2 · A country alone instead of a language | de-AT |
| en-UK | K5 · EU, UN or UK as a region | en-GB |
| es-419 | K4 · Region outside ISO 3166-1 Alpha-2 | es |
| de_DE | K6 · Underscore instead of hyphen | de-DE |
| iw | K7 · Deprecated language code | he |
| de, at | K1 · Code does not follow the language, script, region format | one line per version |
More country abbreviations with suggestions: cz → cs, ua → uk, dk → da, gr → el, jp → ja, cn → zh, at → de-AT, us → en-US, gb → en-GB, ge → ka. Source: Google, IANA registry, RFC 5646, as of 26. November 2026.
Mix-ups: country abbreviations that are a different language
Some abbreviations are both a country and a completely different language. Google’s own example is be: Belgium is often intended, but Google reads Belarusian. The check reports a mix-up as an error if the target page’s lang or a path such as /en-gb/ contradicts it, otherwise as a note for confirmation. uk on a Ukrainian page is correct and produces no finding.
| Prefix | Language according to the registry | Often intended | Then correct, for example |
|---|---|---|---|
| be | Belarusian | Belgium | nl-BE |
| ch | Chamorro | Switzerland | de-CH |
| se | Northern Sami | Sweden | sv |
| si | Sinhala | Slovenia | sl |
| ca | Catalan | Canada | en-CA |
| ee | Ewe | Estonia | et |
| kr | Kanuri | South Korea | ko |
| uk | Ukrainian | Great Britain | en-GB |
Special cases on this website
This website is available in German and 15 other languages, 6 of them written from right to left. Three cases show where the registry recognises more than hreflang does. Sorani has no two-letter code; its version therefore uses hreflang="ku-IQ" and lang="ckb". Kurmanji uses hreflang="ku" and lang="kmr". Both are correct, because kmr and ckb belong to the macrolanguage ku according to the registry. Dari is listed as fa-AF, meaning Persian in Afghanistan.
Regional versions such as de-AT are worthwhile when more than the language differs. A comparison of 30 municipal websites each from Germany, Japan and the USA already found clear differences in language and content Cyr and Trevor-Smith 2004. Our Web design service builds multilingual websites; you maintain posts in other languages in the Content management system.
04 / RULES
All the rules the check uses
Every message names its rule and the source. The levels follow Google’s documentation and, where it says nothing, the frequency: Ahrefs found at least one problem on 67 percent of 374.756 domains with hreflang. A missing x-default accounted for the largest share (56,3 percent), followed by missing self-references (18 percent), redirected or broken targets (16,9), missing return links (15,3), non-canonical targets (8) and invalid values (4,6). The analysis is not peer-reviewed. Five levels are not supported by a Google rule; the table says which ones.
| Rule | Level | What is checked | Basis |
|---|---|---|---|
| K1 | Error | Code does not follow the language, script, region format | Google, “Localised versions”: “Supported language/region codes” section: ISO 639-1, ISO 15924, ISO 3166-1 Alpha-2 |
| K2 | Error | A country alone instead of a language | Google, “Localised versions”: “You can't specify the country code by itself” |
| K3 | Error | Country abbreviation that is a different language | Google, “Localised versions”: example “be” (Belarusian, not Belgium); languages according to the IANA registry |
| K4 | Error | Region outside ISO 3166-1 Alpha-2 | Google, “Localised versions”: “es-419” is not supported |
| K5 | Error | EU, UN or UK as a region | Google, “Localised versions”: reserved codes with no effect in Google Search |
| K6 | Error | Underscore instead of hyphen | RFC 5646: section 2.1 (hyphen separates); letter case does not matter according to 2.1.1 |
| K7 | Note | Deprecated language code | IANA Language Subtag Registry: Deprecated with Preferred-Value, File-Date 2026-11-18; Google’s handling is not documented. No Google rule supports the level. |
| F1 | Error | Address is incomplete | Google, “Localised versions”: “fully-qualified, including the transport method (http/https)” |
| F2 | Error | Line outside the head that Google reads | Google, “Valid elements in the head”: list of valid elements; the head ends after an invalid element |
| F3 | Warning | One code with two targets | Google, “Localised versions”: one target per code; which one applies when there are two is not documented |
| F4 | Warning | Head and Link header contradict each other | Google, “Localised versions”: three equivalent methods: HTML, HTTP header, sitemap |
| G1 | Error | Self-reference missing | Google, “Localised versions”: every version lists itself and all the others |
| G2 | Error | Return link missing | Google, “Localised versions”: without a return link, the lines are ignored |
| G3 | Error | Return link slightly off | Google, “Localised versions”: return link to the exact address of the version |
| G4 | Warning | Versions carry different sets | Google, “Localised versions”: every version lists all versions |
| G5 | Note | x-default missing | Ahrefs study 2023: Google calls x-default optional; the most common finding at Ahrefs, classed there as negligible. No Google rule supports the level. |
| G6 | Warning | x-default with different targets | Google, “Localised versions”: x-default as one fallback page for all versions |
| G7 | Warning | One address for two languages | Ahrefs study 2023: Ahrefs study 2023; Google’s documentation does not mention this case. No Google rule supports the level. |
| Z1 | Error | Target unreachable (only when fetching) | Google, “Localised versions”: a target that does not respond cannot link back |
| Z2 | Warning | Target redirects (only when fetching) | Ahrefs study 2023: Ahrefs study 2023; Google’s documentation does not mention this case. No Google rule supports the level. |
| Z3 | Error | Target has noindex (only when fetching) | Google, “Block indexing with noindex”: noindex as a meta tag or X-Robots-Tag removes the page from search |
| Z4 | Error | canonical points to another language (only when fetching) | Google, “Consolidate duplicate URLs”: canonical in the same language or the closest alternative |
| Z5 | Warning | canonical points to another address in the same language (only when fetching) | Google, “Consolidate duplicate URLs”: preference for addresses from hreflang groups |
| Z6 | Note | <html lang> does not match the code (only when fetching) | Google, “Localised versions”: Google does not use hreflang and lang to identify the language |
| Z7 | Note | Same title as the starting version (only when fetching) | Google, “Consolidate duplicate URLs”: only untranslated versions count as duplicates. No Google rule supports the level. |
| L1 | Warning | Redirect or different content based on browser language (only when fetching) | Google, “Managing multilingual websites”: no automatic redirects; Googlebot mostly comes from the USA without Accept-Language |
| L2 | Note | Vary: Accept-Language (only when fetching) | Google, “Managing multilingual websites”: Googlebot requests pages without Accept-Language |
| S3 | Note | Language only in the parameter | Google, “Managing multilingual websites”: parameters in the address are not recommended |
K3 is an error only when there is contrary evidence at the target; otherwise it is a note.
05 / TARGETS
What goes wrong at the targets
A set can be formally correct and still have no effect. If the Czech page has noindex, Google removes it from search entirely; however, this only works if robots.txt does not block it, which the robots.txt tester checks. If its canonical points to the German page, it declares itself a copy. Google recommends a canonical in the same language. If a target redirects, the set should list the final address directly; the Redirect planner plans migrations.
If a version has the same title as the German one, it is probably untranslated. It is then worth translating the service and explanatory pages first: when subject knowledge is limited, search behaviour depends on language Kralisch and Berendt 2005. You can see the title for each language in the Snippet preview.
Redirecting based on browser language seems convenient, but Google advises against it: Googlebot usually requests pages without a language preference and then does not find all versions. It is rarely right for people either. Multilingual people use each of their languages when searching, depending on the task Lowe and Steichen 2017, and they like clearly separated languages Steichen and Freund 2015, with a visible choice Ling et al. 2018.
A separate address for each language is therefore the key. An experiment shows how strongly language matters: it changed how much perceived risk reduces usability and satisfaction Alcántara-Pilar et al. 2018. The AI crawler check checks whether AI assistants may read your pages.
06 / RESEARCH
What the research says
There is no peer-reviewed research on hreflang itself; the rules come from Google’s documentation and the registry. The explanations on this page are based on 8 verified papers. Ten would be our target; no more could be reliably verified. The list with verification notes appears below.
- Language determines access. If users’ own language is missing, visits drop sharply Kralisch and Berendt 2005, Kralisch and Mandl 2006. That is why the check tests whether every version can be found.
- Separate rather than mixed. Results clearly separated by language are the most popular Steichen and Freund 2015, Ling et al. 2018. That is why there should be one address per language.
- Multilingual people choose for themselves. The language someone uses depends on the task and the person Lowe and Steichen 2017. That is why the check reports redirects based on browser language (S1).
- A foreign language is no substitute. Searching in a foreign language has its own barriers Chu et al. 2015. That is why x-default does not replace a version.
The SpotLens quick check shows how visible your business is overall, on Google and in AI assistants. How content needs to be structured for AI searches to cite it is explained under AI-SEO. More tools for discoverability are under SEO and visibility.
07 / FOR AI ASSISTANTS
Using this tool from an AI assistant
Assistants such as Claude or ChatGPT that speak the Model Context Protocol (MCP) can call this page’s calculation directly instead of rebuilding it. The server is public, needs no sign-in and stores nothing. The answer always includes the link to this page, the date of the data and the limits of the result.
- Endpoint
https://aureum-tech.com/mcp- Tool
werkzeug_hreflang_check- Transport
- Streamable HTTP, read-only
| Name | Required | Meaning |
|---|---|---|
url | no | Address of a language version, e.g. https://ihre-firma.de/kontakt. Public pages only, port 80 or 443. Not together with sitemap_xml or quelltext. |
sprache2 | no | Second language for the fetch with Accept-Language, e.g. cs or pl. Defaults to cs if not specified. |
sitemap_xml | no | Instead of the address: the text of an XML sitemap with hreflang entries. Codes and groups are checked, but no targets. |
quelltext | no | Instead of the address: a page’s HTML, such as the rendered HTML from the developer tools. Codes, format and the end of the head are checked. |
seiten_url | no | Only with quelltext: the page’s address. Without it, the self-reference remains unchecked. |
Questions where an assistant should call it
- “Are the language versions of example.de correctly linked?”
- “Why does Google show our German page in Czechia?”
- “Is hreflang="cz" correct?”
- “Are return links missing from this sitemap?”
How the connection works and what MCP can do in your own business is explained on the page about MCP integrations.
08 / COMMON QUESTIONS
Common questions about hreflang and language versions
Why does Google show the German page even when the links are correct?
The links are a prerequisite, not an instruction. Google only shows a version if it is in the index. That can fail because of noindex, a canonical pointing to the German page or a redirect based on browser language that means Googlebot never sees the Czech page. And Google treats a page with German text at a Czech address as a duplicate. These are exactly the cases the check tests at the targets. If everything is correct there, Google itself decides which version to show.
Do I need x-default?
No, Google calls it optional. x-default specifies which page someone gets if their language is not in your set, usually the main language or a language selection page. In Ahrefs’ analysis, a missing x-default was the most common finding of all, but Ahrefs itself considers it negligible. The check therefore reports it only as a note. What matters is this: if x-default is in the set, it must appear on every version with the same target.
Is the lang attribute enough?
No. <html lang="cs"> only says which language a page is written in, and according to its own documentation, Google uses neither lang nor hreflang to identify the language; Google determines that itself. Only hreflang says which pages are versions of each other. The check still compares lang with the code, because a mismatch often reveals a mix-up, such as “uk” on an English page.
Why does the check request pages without a language preference?
That is how Googlebot usually requests them too: according to Google, the crawler mainly comes from the USA and sends no Accept-Language header. If your website redirects based on browser language, Googlebot may never see all versions. The check therefore fetches the same address again with “de” and a second language, and reports if the result differs.
What applies to Bing and Seznam?
We have no verified statement on that. Bing’s guidelines page could not be read in full, second-hand reports contradict each other, and we found no help page for Seznam. The check therefore follows Google’s rules.
Where does the hreflang check stop?
It checks the prerequisites: valid codes, self-references and return links, and whether the targets are reachable and may be indexed. Google decides which version it shows and how high it ranks. The check only sees the HTML that is served, at most 20 versions per run, and it does not read the targets’ robots.txt. SpotLens gives an overall assessment of visibility.
09 / STUDIES AND SOURCES
What the tool is based on
The guidelines and notes above are based on these 8 scientific papers. Each has been verified through its DOI or the publisher’s page (most recently on 26. November 2026): it exists, has not been retracted, and its findings still apply to the question today.
Kralisch, A.; Mandl, T. (2006): Barriers to Information Access across Languages on the Internet: Network and Language Effects. Proceedings of the 39th Annual Hawaii International Conference on System Sciences (HICSS'06), p. 54b
Finding Log files and crawler data show that pages not available in users’ native language are consistently visited less often. Whether content exists in users’ own language matters more than how the pages are linked.
In the tool Explains why each language needs its own discoverable version.
doi.org/10.1109/HICSS.2006.71 · Conference paper
Kralisch, A.; Berendt, B. (2005): Language-sensitive search behaviour and the role of domain knowledge. New Review of Hypermedia and Multimedia 11 (2), pp. 221–246
Finding 277.809 sessions on a multilingual website and 165 survey respondents: access drops sharply when people’s own language is missing. On the site, non-native speakers search much like native speakers, except when they have little subject knowledge.
In the tool Supports the order in the checklist: translate service and explanatory pages first, as this is where customers lack subject knowledge.
doi.org/10.1080/13614560500402775 · Journal article
Steichen, B.; Freund, L. (2015): Supporting the Modern Polyglot: A Comparison of Multilingual Search Interfaces. Proceedings of the 33rd Annual ACM Conference on Human Factors in Computing Systems (CHI '15), pp. 3483–3492
Finding In an experiment with 885 participants, a clear separation by language was most popular, while mixed results lists were least popular.
In the tool Alongside Google’s advice, supports the explanation: one address per language, no partially translated pages.
doi.org/10.1145/2702123.2702541 · Conference paper
Ling, C.; Steichen, B.; Choulos, A. G. (2018): A Comparative User Study of Interactive Multilingual Search Interfaces. Proceedings of the 2018 Conference on Human Information Interaction & Retrieval (CHIIR '18), pp. 211–220
Finding A laboratory study with 25 people confirms the preference for clearly separated languages; how people search depends on the task.
In the tool Explains why the language selector should remain visible instead of silently redirecting.
doi.org/10.1145/3176349.3176383 · Conference paper
Lowe, R.; Steichen, B. (2017): Multilingual Search User Behaviors -- Exploring Multilingual Querying and Result Selection Through Crowdsourcing. Proceedings of the 25th Conference on User Modeling, Adaptation and Personalization (UMAP '17), pp. 303–307
Finding Multilingual people use each of their languages when searching; which one depends on the task and the person.
In the tool Alongside Google’s advice, supports rule S1: do not redirect based on browser language.
doi.org/10.1145/3079628.3079702 · Conference paper
Chu, P.; Komlodi, A.; Rózsa, G. (2015): Online search in English as a non-native language. Proceedings of the Association for Information Science and Technology 52 (1), pp. 1–9
Finding Eight focus groups with 36 people and 36 questionnaires: people searching in a foreign language face barriers that native speakers do not encounter, starting with formulating their search.
In the tool Explains why an English version or x-default does not replace the Czech version.
doi.org/10.1002/pra2.2015.145052010040 · Journal article
Cyr, D.; Trevor-Smith, H. (2004): Localization of Web design: An empirical comparison of German, Japanese, and United States Web site characteristics. Journal of the American Society for Information Science and Technology 55 (13), pp. 1199–1208
Finding 30 municipal websites each from Germany, Japan and the USA differ considerably, including in their language and content.
In the tool Only used to explain regional versions such as de-AT: a country is more than a language.
doi.org/10.1002/asi.20075 · Journal article
Alcántara-Pilar, J. M.; del Barrio-García, S.; Rodríguez-López, M. E. (2018): Does language matter? A cross-national comparison of the moderating effect of language on website information-processing. Journal of Business Research 88, pp. 66–78
Finding An experiment with Spanish and English shows that the language in which someone reads a website changes how strongly perceived risk reduces usability and satisfaction.
In the tool Explains why customers should find the version in their own language, rather than just any version.
doi.org/10.1016/j.jbusres.2018.03.011 · Journal article
Standards, authorities and manufacturer data
- Tell Google about localized versions of your page · Google Search Central, as of 21. September 2026, accessed on 26. November 2026
- Managing multi-regional and multilingual sites · Google Search Central, as of 10. Dezember 2025, accessed on 26. November 2026
- How to specify a canonical URL with rel="canonical" and other methods · Google Search Central, as of 10. Juli 2026, accessed on 26. November 2026
- Use valid HTML elements in the head · Google Search Central, as of 10. Dezember 2025, accessed on 26. November 2026
- Block Search indexing with noindex · Google Search Central, as of 10. Dezember 2025, accessed on 26. November 2026
- The International Targeting report is deprecated · Search Console Help, undated
- Language Subtag Registry · IANA, File-Date 2026-11-18
- RFC 5646: Tags for Identifying Languages, section 2.1 · IETF, September 2009
- RFC 8288: Web Linking, section 3 · IETF, Oktober 2017
- Sitemaps XML format · sitemaps.org
- Hreflang study (Patrick Stox) · Ahrefs, 10. August 2023, not peer-reviewed
10 / MORE TOOLS
Still have a question?
- AT-W42 · Businesses
Snippet preview
How does your page appear on Google? Title and description with pixel width, for desktop and mobile. - AT-W43 · Businesses
Schema generator
Structured data for your business: LocalBusiness, opening hours and FAQ as JSON-LD, ready to paste in. - AT-W44 · Businesses
Business Profile check
Is your Google Business Profile complete? What is missing, sorted by impact. - AT-W45 · Businesses
NAP check
Are your name, address and phone number the same everywhere? Compare entries from directories. - AT-W46 · Businesses
Keyword sorter
Which search terms belong together, and what is the searcher after? Lists sorted by topic and search intent. - AT-W47 · Home & business
Readability check
How easy is your text to understand? Readability index for German, with long sentences and difficult words highlighted.
Send us the work sheet or the CSV. We will put the links between your language versions in order and add another language on request, such as Czech.
+49 3744 4399760info@aureum-tech.comMon–Fri 8:00–17:00 · Straße der Jugend 5, 08228 Rodewisch