Free Hreflang Tag Checker
Check hreflang tags for invalid language codes, missing self-references, missing return links, x-default and broken alternate URLs – with clear steps to fix international SEO problems.
What is an Hreflang Tag Checker?
Hreflang tags (<link rel="alternate" hreflang="de" href="...">) tell search engines which language or country version of a page to show each user. A hreflang tag checker validates the codes, confirms each page references itself and that every alternate page links back.
Hreflang errors are why the English page ranks in Germany or the US page shows in the UK. Google ignores hreflang pairs without return links, so this checker opens every alternate URL and confirms the link back.
What the Hreflang Tag Checker checks
Every problem comes with plain-English steps to fix it, and every result is added to your downloadable Technical SEO report.
Finds invalid ISO language/region codes, underscores and common mistakes like en-UK or jp.
Confirms the page lists itself in its own hreflang set.
Opens up to 15 alternates and checks that each one links back.
Flags a missing x-default fallback version.
Finds alternate URLs that redirect, return 404 or other errors.
Detects canonicals that point away from the page and break hreflang.
How to use the Hreflang Tag Checker
Click Load Example above to see a real result first.
Enter a page URL
Use a page that exists in several languages, such as your homepage.
Click “Check Hreflang”
The tool reads the tags in the HTML and HTTP header and opens every alternate page.
Read the “Fix first” tab
Critical issues such as missing return links come first, with step-by-step fixes.
Review the hreflang set
Every row should show a valid code, status 200 and “Yes” for links back.
Common problems and how to fix them
| Problem | Why it matters | How to fix it |
|---|---|---|
| Missing return links | Google ignores the pair. | Use the identical hreflang set on every language version. |
| Wrong codes (en-UK, jp) | The tag is ignored. | Use en-GB, ja, ko etc. – language first, then region. |
| No self-reference | The set is incomplete. | Include the page itself in its own hreflang list. |
| Alternates redirect or 404 | Google drops the alternate. | Point every tag to the final live URL. |
| Canonical to another language | Hreflang is ignored. | Use self-referencing canonicals on every version. |
Frequently asked questions
Do I need hreflang for a single-language site?
No. Hreflang is only needed when you have the same content in several languages or for several countries.
What is x-default?
x-default marks the version Google shows when no other language or region matches the user, usually your main page or language picker.
Can I use hreflang in the sitemap instead?
Yes. Hreflang works in the HTML head, the HTTP Link header or the XML sitemap. Use one method consistently.
Is en-UK correct?
No. The ISO country code for the United Kingdom is GB, so use en-GB. “uk” on its own means Ukrainian.
Does Bing use hreflang?
Bing mainly uses the content-language meta tag and html lang attribute, so set those correctly as well.
Related free tools
Built and maintained by the AM Digital Marketing Agency SEO team. Last updated: .
Want us to fix it for you?
Our team fixes technical SEO issues, speed and indexing problems – and optimizes your site for Google, AI Overviews and ChatGPT.