Hreflang Cluster Validator
Do your language versions link to each other — all of them, both ways?
Hreflang is a set of link tags (or HTTP Link headers) with which the language versions of a page declare each other, so a search engine can show a visitor the version written for their language and region. The catch is the cluster rule: every version must list the SAME full set of alternates, including itself, or search engines may ignore the whole set. Enter one version below and this validator fetches the cluster and checks the set on every page, the return links, the language codes and the x-default. The companion article Hreflang cluster validation: the full set, the return links, and the mistakes that silently void them explains the rules. For hreflang declared in a sitemap instead of the page, see the Sitemap & Feed Validator.
Last updated:
Check a page’s hreflang cluster
Results
Cluster score
Cluster matrix — which page declares which alternate
Fetched pages
Findings
🔒 The check runs on the SysOSX checker server: only the page URL you enter is sent, the server fetches that page and up to 10 of its alternate URLs, and no report is stored. Your browser never contacts the target site directly.
The cluster rules this validator checks
The full-set rule: every page in the cluster must declare the SAME complete set of alternates — every language version, plus x-default. If the English page lists 10 versions and the French page lists 9, the set is broken, and Google may disregard the annotations entirely rather than guess which list is right. This validator computes the union of what the fetched pages declare and flags every entry a page is missing.
Self-reference and return links: each page must include ITSELF in its set, and links must run both ways — if page A lists page B, page B must list page A back. A one-way link does not count; Google treats an alternate without a return link as a mistake, not a relationship. The validator reports asymmetric pairs explicitly, naming both pages.
Codes and URLs: the language must be a valid ISO 639-1 code (ja for Japanese — jp is a country code and a classic error), the optional region a valid ISO 3166-1 code (GB for the United Kingdom — UK is reserved and invalid here), and a script subtag like Hans in zh-Hans is allowed. Every href must be an absolute URL: a relative href is an error, and mixing http and https hrefs for the same cluster is a warning.
x-default and canonicals: the x-default entry names the fallback page for visitors whose language matches no version — missing it is a warning, not an error. A cluster page whose canonical points at a DIFFERENT page is also a warning: the canonical tells Google the page is a copy of another, which can pull it out of the cluster it is supposed to belong to.
What this validator does — and what it does not
The SysOSX checker server fetches the URL you enter, extracts the hreflang alternates from both the HTML <link rel="alternate" hreflang> tags and any HTTP Link response headers, records the page’s canonical, then fetches up to 10 of the alternate URLs and extracts their sets the same way. All validation then runs against Google’s documented rules, and the result is scored 0–100: per error −10 (capped at −50), per warning −3 (capped at −15).
It checks the cluster among the pages it fetched. A site declaring 25 alternates gets its first 10 alternates fetched; the declared sets of the fetched pages are still compared in full, but pages past the cap are never fetched, so their own declarations are not verified — the report says when the cap cut the cluster. Each page is capped at 512 KB, and pages are fetched, never rendered, so hreflang injected by JavaScript after load is not seen.
The demo checks https://wordpress.com/ live through the checker. Verified at build time (2026-11-29), it declares a 25-entry cluster — 24 language versions plus an x-default pointing at itself — every fetched page declares the same full set, every canonical is self-referencing, and it scores 100 with one info note about the fetch cap. It is a live run, not a canned result: if WordPress changes its markup, the demo score can change with it.
Be honest about what this validator checks
A valid cluster does not guarantee Google will honour it. Hreflang is a hint, not a directive: Google decides which pages to index and which version to show, and a perfectly valid cluster can still be ignored if the pages themselves are thin, duplicated or blocked from crawling.
Sitemap-declared hreflang is a separate channel and is NOT fetched here. A site can declare its cluster in the page head, in HTTP Link headers, in its sitemap — or in several places at once, and the channels can disagree. This validator reads the head and the headers; check the sitemap channel with the Sitemap & Feed Validator, and keep all channels consistent.
The check runs from the SysOSX checker server, not your browser. Pages behind a login, geo-gating or bot-gating may return different markup to the checker than they show you, so a result describes what the checker saw. An alternate the checker cannot fetch is reported as that page’s error, not hidden.
Code validity is judged against built-in ISO 639-1 and ISO 3166-1 lists. A code can be valid ISO and still wrong for the page — en-GB pointing at a page written in French passes the code check and fails the visitor. This tool checks the cluster’s structure, not whether each page is really written in the language it claims.
Key facts
| hreflang | An attribute on a link tag (or an HTTP Link header) naming the language — and optionally the region or script — of an alternate version of a page: hreflang="en-GB" means "this URL is the English version for the United Kingdom". |
| Cluster | The complete set of language versions of one page, plus the x-default entry. The cluster is valid only when every member page declares the same full set, including itself. |
| Return link | The link back: if page A lists page B as an alternate, page B must list page A in its own set. Without return links on every pair, search engines may ignore the annotations. |
| x-default | The special hreflang value for the fallback page shown to visitors whose language matches no version — usually a language selector or the default-language version. It counts as a member of the set like any other entry. |
| Language / region codes | The language is an ISO 639-1 code (en, ja, pt); the optional region is an ISO 3166-1 code (GB, BR) and the optional script an ISO 15924 code (Hans, Hant). Classic errors: jp instead of ja, and en-UK instead of en-GB. |
| Score | A 0–100 score starting at 100: per error −10 (total error deduction capped at −50), per warning −3 (capped at −15). 90+ Excellent, 70–89 Good, 50–69 Needs work, below 50 Poor. No score when the target page cannot be fetched or declares no hreflang at all. |
| Official reference | Google Search Central — Tell Google about localized versions of your page |
Frequently asked questions
My cluster scores 100 — why does Google still show the wrong language version?
Because hreflang is a hint, not an instruction. A valid cluster tells Google the versions belong together; Google still decides which pages to index and weighs the visitor’s language, location and the pages’ own signals when choosing which version to show. What a score of 100 rules out is the cluster itself: the sets match, the return links exist, the codes are valid. If the wrong version still ranks, the next places to look are indexing (is every version indexed?), the pages’ own language signals, and whether the versions are near-duplicates of each other.
One page of my cluster is missing one link. Is that really fatal?
It can be. Google’s rule is that every page must return-link to every other page: the annotations are confirmed by the agreement of the whole set, and a page whose set differs can have its annotations dropped — and because the set is judged together, one sloppy page can undermine the cluster for every language. That is why this validator reports missing entries per page and asymmetric pairs by name: the fix is mechanical — copy the same full set onto every page — but finding WHICH page and WHICH entry is the work.
Should I declare hreflang in the HTML head, in HTTP headers, or in the sitemap?
Any one channel, kept consistent, is enough — Google reads all three. The head is the most visible and the easiest to audit (it is what this validator reads, together with Link headers). Headers suit non-HTML files like PDFs. The sitemap suits very large sites whose templates are hard to change, but it is the easiest channel to let drift out of sync with the pages. The failure mode to avoid is declaring in two channels and letting them disagree: pick one home for the cluster, or check both — this tool for the head and headers, the Sitemap & Feed Validator for the sitemap file.