LaunchRanked

hreflang checker

Enter a page with language or regional versions. We validate every hreflang value and fetch the alternates to check they link back.

How hreflang goes wrong

hreflang tells Google that several URLs are the same page in different languages or for different countries. It only works as a set: every page in the group has to agree about every other page. One typo, one missing return link or one redirect and Google can drop the annotations for that pair. Most sites never notice, because nothing visibly breaks. The wrong language version just shows up in search.

What we check

  • Codes. Language first, in ISO 639-1 (en, ja, not jp), then an optional script like Hant, then an optional ISO 3166-1 country (GB, not UK). Underscores (en_US) are flagged.
  • Absolute URLs. Google requires the full https:// URL in every entry.
  • Self-reference and x-default. The page must list itself. x-default is optional; it names the fallback for everyone else.
  • Duplicates. One code pointing at two URLs is a conflict Google can’t resolve.
  • Return links. We fetch up to five alternates and check each one returns 200, doesn’t redirect, and lists this page back.
  • Canonical. Each language version should be canonical to itself. A canonical to the English page tells Google to drop the translation.

A setup that stays correct

  1. Generate hreflang from one list of locales and URLs, the same list that builds your language switcher.
  2. Output the full set, including the page itself, on every page in the group.
  3. Use final URLs only. If you change a URL pattern, update the list, not a redirect.
  4. Choose one method: HTML tags, HTTP headers or the sitemap. Mixing them adds places for mistakes.

To write a correct set from scratch, use the hreflang generator. It outputs HTML tags, sitemap entries or headers from the same rows.

Limits

We read server HTML (no JavaScript), check up to five alternates per run and can’t see sitemap-based hreflang. Search Console removed its International Targeting report, which listed hreflang errors, in 2022, so a direct check like this one is now the practical way to catch mistakes.

Questions

What is a return link in hreflang?

If your English page lists the German page as an alternate, the German page must list the English page too. Google calls these return links. When they're missing, Google may ignore the annotations between those pages.

Does the page need to list itself?

Yes. Google's documentation says each language version must list itself as well as all other language versions. The self-referencing entry must match the page URL exactly, including https, www and the trailing slash.

Why don't you see the hreflang in my sitemap?

This tool reads the page's HTML and HTTP headers. hreflang set only in an XML sitemap is valid but invisible here. Check those entries with the sitemap checker, and make sure you don't also set conflicting tags in the HTML.

Is es-419 valid for Latin America?

It's a valid language tag in general, but Google's documentation asks for ISO 3166-1 alpha-2 country codes, and 419 is a UN M.49 area code. We flag it as a warning. The safe option is one entry per country (es-MX, es-AR…) or plain es.

Autopilot · early access

Want this fixed automatically?

Autopilot checks your site, publishes researched articles at a safe pace, and tracks whether ChatGPT, Perplexity, Gemini and Claude cite you. $49/mo.

Related free tools

See all free tools