worldngayon tools

Canonical / hreflang checker

Check canonical and hreflang tags in page source for mistakes and missing self-references.

Checked November 5, 2026. The canonical tag tells search engines which address is the preferred one, and hreflang tells them which language or region version to show. The rules checked here follow Google’s guidance: one canonical per page, absolute URLs, each hreflang entry listing every version including itself, valid language codes (such as “en”, “tl”, and “fil”, with an optional region such as “en-GB”, not “en-UK”), and return links between versions. Pages are read from the source you paste, so it cannot check whether the other versions link back or whether the URLs return 200. Link tags only count in the <head>, and search engines treat canonical as a strong hint and not a command. Related: the heading analyzer and the sitemap validator.

Check the tags that tell Google which page to index

Paste a page’s source or just its head. The tool finds the canonical tag and every hreflang alternate, then checks for the usual mistakes: more than one canonical, relative URLs, a noindex mixed with a canonical, invalid codes such as en-UK or jp, duplicate entries, and a page that does not list itself in its own hreflang set.

Hreflang needs return links

Every language version must point back to the others, and this tool cannot open the other pages, so check each version. For related checks, see the heading analyzer and the sitemap validator.

Questions

How do I get the page source?
Open the page in your browser, press Ctrl+U (or Cmd+Option+U on a Mac), and copy it.
Is canonical a command?
No. Search engines treat it as a strong hint and may choose another address.
What is x-default?
The fallback version for visitors whose language you do not cover. It is optional, but useful.
Why is en-UK wrong?
The region code for the United Kingdom is GB, so use en-GB. And Japanese is ja, not jp.
Does it work for a single-language site?
Yes. It checks the canonical and tells you no hreflang is needed.

More in SEO Tools