Hreflang Tag Checker

Extract and validate multilingual `` tags, ISO language-country codes, and `x-default` fallback configurations.

Popular examples: https://google.comhttps://github.comhttps://wikipedia.org
Multilingual ISO Validation

Verify ISO 639-1 language codes and ISO 3166-1 Alpha-2 region annotations.

x-default Fallback Check

Check for mandatory hreflang="x-default" tags for unmatched language regions.

URL Resolution

Ensure alternate link href target URLs resolve correctly to absolute HTTPS endpoints.

Parsing international hreflang attributes...

Total Hreflang Annotations

0

x-default Fallback Status

Present

Extracted Hreflang Tags
Language / Region CodeDeclared Href TargetResolved Full URL

Why Hreflang Tags are Crucial for Global SEO

Hreflang annotations (<link rel="alternate" hreflang="lang-code" href="...">) inform search engines which language and country targeting is intended for localized versions of a website. When configured properly, Google automatically routes visitors to the correct language version in regional search engine results.

How to Use the Hreflang Tag Checker

1 Enter Page URL

Paste any internationalized webpage address into the input box.

2 Click Check Hreflang

Our auditor inspects the <head> element to parse all alternate language links.

3 Validate Codes

Verify ISO language/region codes and confirm the presence of x-default fallbacks.

Hreflang Implementation Best Practices

Recommended
  • Always include reciprocal (return) hreflang tags on target localized pages.
  • Declare an hreflang="x-default" tag for un-targeted global users.
  • Use valid ISO 639-1 language codes (e.g., en, es, fr).
  • Combine region codes correctly (e.g. en-US, en-GB, fr-CA).
Common Mistakes
  • Avoid using invalid country codes without specifying a language first.
  • Do not point hreflang URLs to broken 404 links or redirecting targets.
  • Avoid missing return links between translated versions.
  • Don't use relative URLs inside hreflang href attributes.

Frequently Asked Questions (FAQ)

The x-default hreflang tag specifies a fallback landing page for international search users when no specific language or region code matches their browser settings.

If Page A points an hreflang="fr" tag to Page B (French version), Page B MUST point an hreflang="en" tag back to Page A. If return links are missing, Google ignores the annotations.

Hreflang tags can be declared in the HTML <head> section, in HTTP response headers (useful for non-HTML files like PDFs), or inside XML Sitemaps.

No. The language code (ISO 639-1) is mandatory. You cannot specify a country code by itself (e.g. hreflang="us" is invalid; it must be en-us).

Related Meta & HTML SEO Tools