Skip to content

Canonical Tag Checker

Analyze canonical tags to identify missing, conflicting, invalid, cross-domain or improperly configured canonical URLs that may affect indexing and duplicate content.

What a canonical tag does

A canonical tag is a line in the page's <head> that names the URL you want search engines to index when the same content is reachable at more than one address:

<link rel="canonical" href="https://example.com/blue-widgets/" />

Duplicates are more common than most site owners think. Tracking parameters (?utm_source=), sort and filter options, HTTP and HTTPS versions, www and non-www, trailing slashes and print views can each create a new URL for the same page. The tag tells Google which one to show in results and where to consolidate links.

It is a hint, not a directive. Google weighs it alongside redirects, internal links, sitemap URLs and HTTPS, and picks its own canonical if the signals disagree. That is why a tag that conflicts with everything else on the site often gets ignored — and why Search Console sometimes reports “Duplicate, Google chose different canonical than user.”

What this checker tests

CheckPasses whenWhy it matters
Canonical tagExactly one canonical tag is presentSeveral tags with different URLs cause Google to ignore all of them.
URL typeThe URL is absolute (starts with https://)Relative URLs can resolve wrongly on staging copies, mirrors or scrapers.
Self referenceIt points to the page itself, or deliberately to the originalPointing every page at the homepage (a common template bug) asks Google to drop those pages.
Cross domainCanonical and page share a domainValid for syndicated content, but often a copy-paste mistake.
Target statusThe target URL returns 200A target that redirects or returns 404 sends a contradictory signal.
Header canonicalThe HTTP Link header is absent or matches the HTML tagWhen the header and the HTML disagree, they cancel each other out.
HTTPSAn HTTPS page points to an HTTPS URLAn HTTP target on an HTTPS page points Google at the insecure version.
ConsistencyOne tag, in the <head>, no conflictsTags placed in the <body> are ignored.

Common canonical mistakes

  • Paginated pages pointed at page 1. Page 2 of a category lists different products, so it is not a duplicate. Give each page a self-referencing canonical.
  • Canonical plus noindex on the same page. One says “index the other URL”, the other says “don't index this”. Pick one: canonical for duplicates, noindex for pages that should never appear.
  • Canonical pointing at a redirect. After a URL change, templates often keep the old address. Update it to the final URL.
  • Canonical added only by JavaScript. Google can read it after rendering, but if the raw HTML says something different, you have a conflict. Set it server-side.
  • Hreflang alternates that canonicalise to one language. Each language version should canonicalise to itself, or the alternates are dropped. Check those with the Hreflang Validator.

How to check a canonical tag without a tool

  1. Open the page, right-click and choose View page source (not Inspect, which shows the DOM after JavaScript runs).
  2. Press Ctrl+F (Cmd+F on Mac) and search for rel="canonical".
  3. Count the matches and confirm the href is the URL you expect.
  4. To see which URL Google actually chose, use the URL Inspection tool in Search Console and compare “User-declared canonical” with “Google-selected canonical”.

The checker above does steps 1–3 for you and also tests the target's status and the HTTP header, which view-source cannot show. If the target turns out to redirect, trace the chain with the Redirect Checker. For a wider view of whether the page can be indexed at all, run the Page Indexability Checker.

Canonical tag vs 301 redirect vs noindex

UseWhenVisitors see
301 redirectThe old URL should no longer existThe new URL
Canonical tagBoth URLs must keep working (filters, tracking parameters, syndication)Whichever URL they opened
noindexThe page should never appear in search (thank-you pages, internal search results)The page, but it stays out of results

Frequently Asked Questions

Does every page need a canonical tag?

It isn't required, but a self-referencing canonical on every indexable page is cheap insurance. It stops tracking parameters and other URL variations from being treated as separate pages.

Will Google always follow my canonical tag?

No. Google treats it as a strong hint. If your internal links, sitemap or redirects point to a different URL, Google may choose that one instead. Make all the signals agree.

Can a canonical point to a different domain?

Yes. Publishers who syndicate articles often ask partners to canonicalise to the original. Google supports this, but the content must be substantially the same.

How long does it take for Google to apply a canonical change?

Google has to recrawl both URLs. For frequently crawled pages that can be days; for deep pages it can be weeks. Requesting indexing in Search Console can speed up the recrawl.

Why does the checker say it could not verify the target?

Some servers block automated requests or time out. Open the canonical URL in your browser, or check it in the Redirect Checker, to confirm it returns 200.

Related Tools

  • Redirect Checker — Trace 301 and 302 redirect chains hop-by-hop, detect loops, inspect response headers and verify HTTPS migrations.
  • HTML Minifier — Compress HTML, inline CSS and JavaScript to cut file size and speed up your pages, or beautify minified code back to readable form.
  • Keyword Density Checker — Analyze word frequency and keyword density for any article or URL, review 1–4 word phrases, and catch keyword stuffing.
  • Robots.txt Tester & Generator — Test URLs against a live or pasted robots.
  • Meta Tag Checker — Check a page's title, meta description, robots directives, canonical, viewport and hreflang tags, with a Google result preview and a fix for each issue.
  • Open Graph Checker — Preview how a link appears on Facebook, LinkedIn and X, check Open Graph and Twitter Card tags, and test the og:image size, format and reachability.