Free tool

Hreflang checker

Validate a page's hreflang tags: every language and country code, the self-reference and x-default, and whether each alternate page loads and links back.

Hreflang checker
Enter a page from a store that sells in several languages or countries.
Reads the page’s hreflang tags, validates each language and country code, then opens every alternate to confirm it loads and links back.

The hreflang rules that matter

  • Every page lists every version, including itself.
  • Every alternate links back with the same set of tags.
  • Codes are language first, then optional country: fr, fr-CA, en-GB. Countries only, not regions like EU.
  • Add x-default for visitors who match none of them.
  • Alternates must load with HTTP 200 and not canonicalise to a different URL.

Check that each market’s domain redirects cleanly with the redirect checker.

Check your whole site in one go

The free AI visibility report tests robots.txt, your firewall, llms.txt, schema and product pages, and writes the fixes.

Questions

Do I need hreflang on my Shopify store?

Only if you sell in more than one language or country with separate URLs. Shopify Markets adds hreflang tags automatically for its subfolders (like /en-gb) and country domains, but custom setups, translation apps and separate stores often get them wrong.

What is a return link?

If page A lists page B as an alternate, page B must list page A too. Google ignores hreflang pairs that aren't confirmed from both sides. Missing return links are the most common hreflang error.

Why is en-UK invalid?

Country codes follow ISO 3166-1, where the United Kingdom is GB. Use en-GB. Similarly, the language always comes first (en-US, not US-en), and a region alone isn't valid.

More free SEO tools

See all 24 free tools →