Hreflang Checker

Validate every language and region code on a page, and the set they form.

SEOPro1 credit per run25 free credits a month
Pro tool · 1 credit per run

Create a free account to run the Hreflang checker

Free accounts get 25 credits every month, enough for 25 runs of this tool. No card needed, just a quick phone check.

Checking your account…

Pro: 350 credits a month and every Pro prompt, $29/month.

Runs on our servers with a real browser, from your dashboard. Reopening a report you already ran is free.

What the Hreflang Checker shows you

hreflang fails silently, which is why broken sets survive for years. Google does not warn anyone about a code it cannot parse — it simply ignores the annotation, and the page it pointed at is left competing against its own translations. The single most common error on the web is en-UK, which is not a code at all: the United Kingdom is GB, and en-UK has been ignored on a great many sites for a very long time.

This checker reads every rel=alternate annotation from the rendered page and validates each one properly: the language against ISO 639-1, the optional script against its four-letter form, the region against ISO 3166-1. Then it checks the set as a whole — that it names its own page, that no code claims two URLs, that x-default is there once — and reports what only a one-page scan cannot see, which is the return links on the other side.

  • Every code validated properly

    Language against ISO 639-1, an optional four-letter script, an optional ISO 3166-1 region. Anything else is reported with the fix rather than a bare invalid, because the fix is nearly always one of a dozen known slips.

  • The classic mistakes, by name

    en-UK for en-GB, an underscore where a hyphen belongs, a country code sitting where a language should be, a three-letter code Google will not read, and UN M.49 region numbers that it does not support.

  • Codes that are valid but wrong

    uk is Ukrainian, not the United Kingdom. kr is Kanuri, not Korean. These parse, so no tool errors on them, and they target an audience nobody intended. Each is flagged with what it actually means.

  • The self-reference check

    A set that never names its own page is invalid, and Google discards the whole cluster rather than part of it. This is the failure that takes every other language down with it.

  • x-default, duplicates and conflicts

    One fallback or none, codes declared twice, one code pointing at two different URLs, and one URL claimed by several languages — each listed with the URLs side by side.

  • What hreflang depends on

    A canonical pointing away, or a noindex on the page, breaks the cluster regardless of how good the codes are. Both are checked alongside the annotations, since hreflang only works between self-canonical, indexable pages.

  • Read after JavaScript, exported as CSV

    Tags injected by a translation layer are captured because the page is rendered first, and the whole table comes out as CSV for an audit or a ticket.

What people use it for

  1. Translations are not showing in the right countries

    Start with whether the codes parse at all. An ignored annotation looks exactly like no annotation, and it is the commonest cause.

  2. Auditing an international rollout

    Run the primary page of each market and export the tables, so the whole cluster can be checked against itself.

  3. After adding a new market

    Confirm the new code is valid and that the existing pages accepted it, rather than assuming the plugin got it right.

  4. Checking a translation plugin

    Plugins generate hreflang from a language list that is often written as country names. That is where en-UK usually comes from.

  5. Before handing the set to a developer

    Export the CSV so the ticket lists codes and URLs rather than describing a symptom.

How to use it

Check the hreflang annotations on any URL. Every code is validated against ISO 639-1 for the language, the four-letter script form and ISO 3166-1 for the region, with the set checked for a self-reference, x-default, duplicates, codes claiming more than one URL, and the mistakes that appear on almost every site — en-UK instead of en-GB, underscores in place of hyphens, and a country code used where a language belongs.

  1. Enter a page that has language or country versions.
  2. Read the verdict: whether the set is sound, tidy-worthy or broken.
  3. Check the table for codes flagged as invalid or ambiguous, and see which row is this page.
  4. Work down the checks for self-reference, x-default, duplicates and canonical conflicts, then run the tool on the alternates to confirm the return links.
International SEOMarketersDevelopersAgencies

Questions

Is en-UK valid?

No. The ISO 3166-1 code for the United Kingdom is GB, so the correct annotation is en-GB. en-UK is ignored, which means the page it names is left out of the cluster entirely — and nothing anywhere reports an error.

Do I need x-default?

It is optional but usually worth having. Without it, a searcher whose language matches nothing in your set gets whichever version Google judges closest. A language selector, or the international English version, is the normal target.

Why can this not check return links?

hreflang has to be mutual: every page in a set must list every other, including itself. A single-page scan sees one side only. Run the tool on each alternate, or use the exports to compare the sets against each other.

Does every page need to list itself?

Yes, and it is the most damaging omission there is, because Google discards the whole cluster rather than the one bad annotation. If the set is being ignored entirely, check this first.

Can hreflang point at pages on another domain?

Yes. Country domains are a normal setup, and hreflang is what connects them. The rules are the same: absolute URLs, a self-reference on every page, and return links from each domain back to the others.