Hreflang Cluster Validator
Check hreflang tags across a group of pages: missing return links, wrong language or country codes, missing self-reference and x-default, conflicting canonicals.
Tool
About this tool
About Hreflang Cluster Validator
Hreflang only works when every page in a language group lists all the others – and they all link back. One wrong code like en-UK or one missing return link and Google may ignore the whole set. Paste each page’s URL with its <link rel="alternate" hreflang> tags, paste a sitemap with xhtml:link entries, or load up to 20 live pages. The validator builds the cluster and reports missing return links, invalid ISO language and country codes (with the right code), duplicate languages, relative URLs, missing self-references and x-default, and canonical tags that point elsewhere.
How it works
Example
How to use this tool
- Paste URLs with their hreflang tags, a sitemap with xhtml:link, or enter live addresses and press “Load the pages live”.
- Read the problems for each page.
- Fix the tags in your CMS or sitemap and check again.
Frequently asked questions
Do I need x-default?
It is recommended. It tells Google which page to show to people whose language you do not have, often a language picker or the English page.
Is hreflang in the sitemap or in the HTML better?
Both work. Use one method and keep it complete; sitemaps are easier for large sites.
Does the Hreflang Cluster Validator send my data to a server?
Only if you press “Load the pages live”: our server then loads those public pages with strict safety checks (public addresses only, every redirect checked) and does not keep them. Tags you paste are checked in your browser.