Hreflang Checker
Paste your hreflang tags (or a page's HTML) to validate the language-region codes, catch invalid values, duplicates, and a missing x-default.
Hreflang tells Google which language and region version of a page to show, and a single malformed code can break the whole cluster. Paste your alternate hreflang link tags — or a page's HTML — to list every entry, validate its language-region code, and flag invalid values, duplicates, and a missing x-default. It runs in your browser.
Three steps
Paste your tags
Drop in your <link rel="alternate" hreflang> tags, or a page's full HTML.
Validate
Each entry's language-region code is checked, and duplicates and a missing x-default are flagged.
Fix the issues
Correct any invalid codes and make sure every cluster has a self-reference and an x-default.
Common questions
What counts as a valid hreflang value?
A language code (e.g. en), optionally a script and a region (e.g. en-GB or zh-Hant), or the special value x-default.
Can it check reciprocity across pages?
Not on its own — reciprocity requires fetching the other URLs. This tool validates the tags you paste: their codes, duplicates, and x-default.
Is my markup sent anywhere?
No — it runs entirely in your browser.
Keep going
Audit your whole site, not just one check
CrawlX runs 65+ technical checks in the cloud and ships the fix as a pull request. Free for 500 URLs.