Check canonical and hreflang tags on your website
Enter a public webpage URL to inspect canonical signals and language alternates. The checker helps identify conflicting destinations, invalid language codes and missing return references. Results are based on what the tool can fetch; some websites block automated requests.
When canonical and hreflang disagree
A language page should normally point to its own canonical URL while hreflang connects equivalent translations. A canonical pointing to another language can undermine that relationship.
What the checker reports
Selected canonical; declared alternates; self/return links; reachability; and reasons a result may be unknown. Each language version must list itself and all other versions, and two pages that do not point to each other are ignored (Google Search Central).
Language codes Google accepts
Google supports ISO 639-1 language codes (de), optionally with an ISO 15924 script (zh-Hant) and an ISO 3166-1 Alpha 2 region (de-AT). The value is case-insensitive. x-default marks the page for visitors whose language matches none of the others.
Limits of this check
The checker reads the link elements in the HTML and the canonical in the HTTP Link header. It does not read hreflang in XML sitemaps. It visits at most 10 alternates per check, and a page that blocks automated requests is reported as unknown, not as an error.
Frequently asked questions
Does every website need hreflang?
No. Hreflang is relevant when equivalent pages exist for different languages or regions.
Do I need x-default?
It is optional. Use it for a language selector or a page that suits visitors whose language you do not offer.
Should hreflang point to canonical URLs?
Yes. Point each alternate at the indexable, canonical URL of that language version, not at a redirect or a URL that names another page as canonical.
Run a full Sitequiry audit
The free analysis checks one page for SEO, speed with Google PageSpeed, AI answer readiness and AI citability.
Free SEO tools
-
Meta tag checker
Title, meta description, H1 and canonical of one page, with a snippet preview.
-
Redirect checker
Every redirect hop of one URL, the http/https and www variants, and the SEO and security headers of the final answer.
-
Robots.txt tester
Is one URL allowed or blocked for Googlebot, Bingbot or an AI crawler? Shows the deciding line of robots.txt and the lines crawlers ignore.
-
Schema checker
Reads every JSON-LD block of a page: syntax errors, schema.org types, and the properties Google documents for Organization, LocalBusiness, Product, Article, BreadcrumbList, Event and Recipe.
-
Open Graph checker
Lists the Open Graph and twitter: tags of a page, checks that the share image loads and how large it is, and shows an illustrative share card.
-
Sitemap checker
Finds the XML sitemap of a site, checks that it parses, counts its URLs, compares it with the protocol limits and requests a sample of the listed URLs.
-
AI crawler checker
Which AI crawlers your robots.txt allows or blocks, and whether llms.txt exists.
Related guides
-
How to Fix SEO Audit Issues Without Breaking Your Website
Ten audit findings, each with the symptom, how to confirm it, a safe fix, how to re-test and what to watch out for.
-
Google Search Console vs a Website SEO Audit: What Each One Shows
Google's own data versus a check of the page as it is now: what each can see, where each is blind, and a workflow that uses both.
-
Structured data for websites: JSON-LD, validation and common mistakes
Which schema types still earn rich results, which ones no longer do, and why accurate markup helps AI systems understand you.