What is a canonical tag?
A canonical tag is a <link rel="canonical"> element in a page's <head>. It tells search engines which URL is the preferred, or canonical, version when the same content can be reached at several addresses. Read the full explanation in our canonical tag SEO guide.
What this canonical tag checker tests
- Presence and count: a missing canonical URL, or more than one rel canonical tag.
- Placement: the tag must be in the head. Search engines ignore a canonical link in the body.
- URL quality: absolute https URL, valid format and no fragment.
- Self-referencing canonical: whether the tag points to the page itself or to a different URL.
- Conflicts: a canonical combined with noindex, a different host or a different og:url.
- Canonical target: whether the canonical URL loads, and whether it points to itself or starts a canonical chain.
What a good canonical tag looks like
<head> <link rel="canonical" href="https://www.example.com/blue-widgets/"> </head>
It uses the full https address, appears once in the head and matches the URL you want in search results. For most indexable pages that is the page's own URL.
Common canonical URL problems and fixes
| Problem | Why it hurts | Fix |
|---|---|---|
| No canonical tag | Search engines choose a version themselves, and may pick a parameter URL. | Add a self-referencing canonical to every indexable page. |
| Relative canonical URL | Easy to resolve wrongly, for example on staging or with a different base URL. | Use the full absolute https address. |
| Two canonical tags | Conflicting signals can lead to both being ignored. | Keep one. Disable the extra plugin or theme output. |
| Canonical in the body | Only a canonical in the head is read. | Move the tag into the head, and fix any broken markup above it. |
| Canonical plus noindex | The two ask for opposite things. | Pick one. Use noindex to keep a page out, or canonical to merge duplicates. |
| Canonical to a redirect or 404 | The preferred URL is not a valid indexable page. | Point the canonical at a live page that returns 200. |
| Canonical chain | A points to B and B points to C, which weakens the signal. | Point every duplicate straight at the final URL. |
How to check a canonical tag manually
Open the page, view the source and search for rel="canonical". In Google Search Console, the URL Inspection tool shows both the user-declared canonical and the Google-selected canonical, which is the version Google actually chose. If they differ, look at redirects, internal links and your sitemap. Learn more about missing pages in Why Is My Website Not Showing Up on Google?
Keep your sitemap and canonicals consistent. Use the sitemap checker to confirm that you list only canonical URLs, and the title tag checker to review the rest of your on-page tags.
Frequently asked questions
What is a canonical tag checker?
A canonical tag checker reads a page's rel canonical link element and tests it: whether it exists, whether there is only one, whether the URL is absolute and valid, and whether it points to the page itself or to another URL.
How do I check the canonical URL of a page?
Enter the page address in the box above and press Check. The tool fetches the HTML, finds the canonical URL in the head and compares it with the page address. You can also view the page source and search for rel="canonical".
What is a self-referencing canonical tag?
A self-referencing canonical tag points to the page's own URL. It is the recommended default for indexable pages because it tells search engines which version of the URL to keep when tracking parameters or other variants exist.
Why does my page have no canonical tag?
Many sites never add one, and most search engines then pick a canonical URL on their own. If your CMS or theme should add it, check the template, or whether JavaScript is adding the tag after the page loads.
Can there be more than one canonical tag on a page?
A page should have exactly one. Google says to specify only one rel canonical per page, and conflicting tags can cause the signal to be ignored. Plugins and themes that both output a canonical are a common cause.
Does a canonical tag guarantee which URL Google shows?
No. Google treats rel canonical as a strong hint, not a command. It may choose a different URL if signals such as redirects, internal links and the sitemap point elsewhere.
Can this canonical checker read the HTTP header canonical?
No. It reads the canonical link element in the HTML head. A canonical set only in the HTTP Link header, which is sometimes used for PDFs, is not visible to this tool.