Hreflang checker

Paste a public URL. We read rel=alternate hreflang links from the HTML your server sends and flag duplicates, odd codes, and html lang mismatches.

What we check

  • All rel="alternate" links with an hreflang attribute
  • Duplicate language codes and non-absolute hrefs
  • Whether this URL appears in the set
  • Optional x-default and html lang alignment

Missing hreflang on a one-language site scores as informational, not a failure. Multi-language sites should still verify return tags on each locale page.

Questions

Do I need hreflang on a single-language site?

Usually no. Add hreflang when you publish the same content in multiple languages or regions and want search engines to show the right URL.

What is x-default?

An optional alternate for users whose language does not match any hreflang. Often your main marketing homepage or a language picker URL.

Does this tool fetch every alternate URL?

No. It reads the tags declared on the page you paste. Bidirectional return tags on the other locales still matter — open each language URL and re-check.

Is this the same as the canonical checker?

Canonical picks the preferred URL among duplicates. Hreflang maps language/region variants. Use both on international sites.

Does this tool run JavaScript?

No. It reads the HTML your server sends, which is what social crawlers and most AI crawlers see. If content or meta tags only appear after JavaScript, they show as missing here — and that is a real issue for those bots. The Shipcheck extension checks the fully rendered tab, including localhost and staging.

Why did the check say my site refused / returned 403?

Bot protection (often Cloudflare), a WAF, or a login wall answered our server instead of your real page. Visitors can still see the site. Install Shipcheck extension 0.3.9+, then run the check again — we retry by reading the page in your browser. You can also open the URL in Chrome and use the extension side panel.