Free International tool

Free Hreflang Checker

An hreflang checker validates the tags that tell search engines which language or regional version of a page to show each user. SEO Portals checks code formats, x-default and self-references, then visits up to 20 alternate pages to confirm each one links back, because Google ignores one-way hreflang.

Free · No sign-up for 5 checks a day · Updated · By the SEO Portals team

What is hreflang?

hreflang is an HTML attribute (used in <link rel="alternate" hreflang="…"> tags, HTTP headers or sitemaps) that tells search engines about translated or regional versions of a page. It helps Google show the Spanish page to Spanish speakers and the UK page to UK users, instead of treating the versions as duplicates.

How to use the Hreflang Checker

  1. Enter the URL of one language version.
  2. Run the checker to read its hreflang tags.
  3. Review errors such as invalid codes or missing return links.
  4. Fix the tags on every version so they all list each other and themselves.

Why it matters for SEO

  • Users land on the right language and currency, which improves conversions.
  • It prevents translated pages being treated as duplicate content.
  • Mistakes are common because every page must list every other version.
  • One-way tags are ignored, so errors often go unnoticed.

Key facts

  • Language codes use ISO 639-1 (e.g. en, es, de).
  • Optional region codes use ISO 3166-1 alpha-2 (e.g. en-GB, es-MX).
  • Every page must link back to every alternate (reciprocal tags).
  • x-default sets the fallback page for unmatched users.

Hreflang Checker FAQ

Is it en-UK or en-GB?

en-GB. The region code for the United Kingdom in ISO 3166-1 is GB. en-UK is a common mistake that Google ignores.

Do I need x-default?

It's recommended. x-default tells Google which page to show users whose language or region doesn't match any version, often a language picker or the main international page.

Should a page include itself in hreflang?

Yes. Each page should list all versions, including itself.

Does hreflang affect rankings?

It doesn't boost rankings directly. It makes sure the right version ranks in each market.

Check every page, not just one

Run a full-site audit free and get every issue ranked by impact.

Audit my whole site free