Free SEO checker

Free hreflang checker

A hreflang checker reads the language tags that tell Google which version of a page to show in each country or language. Enter a URL to validate the codes, confirm the page lists itself and an x-default, and test up to 10 alternate pages for a 200 answer and a link back.

What this tool checks

  • Valid ISO language codes with optional region, or x-default
  • Absolute URLs in every tag
  • A self-referencing tag for the page itself
  • One URL per language and an x-default
  • Alternate pages answer 200 and link back (up to 10)

Why it matters

Without correct hreflang, Google may show your Indian page to US visitors, or treat translated pages as duplicates. One invalid code or a missing return link can make Google ignore the whole set.

How to fix what it finds

  1. Use codes like en, en-GB or hi-IN; the United Kingdom is GB, not UK.
  2. List every version on every page in the set, including the page itself.
  3. Add an x-default for visitors whose language you do not cover.
  4. Point each tag at the final, live URL with no redirect.

Want this handled for you?

RankMesh finds these issues across your whole site every week and ships the fixes after your approval.

Hreflang checker: common questions

Do I need hreflang?

Only if the same content exists in more than one language or for more than one country. A site in one language does not need it.

What is x-default?

The page Google shows when none of your languages match the searcher, usually a language picker or your main version.

Why do return links matter?

hreflang is a two-way agreement. If page A lists page B but B does not list A, Google may ignore both tags.

Does this check hreflang in my sitemap or HTTP headers?

No. It reads link tags in the page HTML, the most common setup. Sitemap and header hreflang need a full site crawl.

Fix it once. Keep it fixed.

RankMesh checks your site every week, writes and publishes content, and tracks how you show up in Google and AI answers. Start free, no card required.

Get a free plan for your site

Book a 20-minute demo

Tell us a little about your business, then pick a time that suits you.

Before you go: see how AI search sees your site

A free report on whether ChatGPT, Gemini and Google AI recommend your business. No sign-up, results in seconds.