All tools
Free SEO tool

Canonical URL checker

Build a normalized canonical URL with the right rules — and copy a ready-to-paste rel=canonical tag. Everything runs in your browser.

Normalization rules
Canonical tag
<link rel="canonical" href="https://example.com/blog/light-roast-guide" />
Validation
  • Canonical looks clean.

What canonical tags actually do

A canonical tag is one line of HTML — <link rel="canonical" href="…"> — that tells Google which URL it should treat as the primary version when several URLs serve the same content. It's the single most powerful signal you have for consolidating duplicate-URL situations: query strings, trailing-slash variants, http/https mixes, paginated archives, and printable variants.

Without canonicals, Google has to pick one URL itself, and its choice may not be the version you want indexed. Worse, link equity gets split across the variants. A correct canonical keeps the equity consolidated on one URL and the others quietly drop out of the index.

How to build a clean canonical

A good canonical follows a small set of rules. The checker enforces them automatically so you don't have to remember.

  • Use https://, not http://. Mixed-protocol canonicals fragment indexing.
  • Strip query strings unless they produce genuinely different content (a search results page might keep them; a UTM-tagged blog post should not).
  • Strip #fragments — Google ignores them for indexing anyway.
  • Pick one trailing-slash convention site-wide and apply it consistently.
  • Match the canonical URL in the tag exactly to the URL that returns 200 (no redirect chain).
  • Use absolute URLs, not relative paths — the spec allows relative but absolute is safer.

Common canonical mistakes

The most expensive bug is pointing every page on the site to the homepage as canonical — usually a template error. Google then deindexes everything except the homepage. Always confirm self-canonicals on a fresh page.

Other frequent issues: canonicals pointing to a URL that 301-redirects somewhere else (defeats the purpose); canonicals with trailing-slash mismatches against the page's actual URL; and multiple canonical tags on the same page (Google picks one and warns in Search Console). When in doubt, render the canonical tag dynamically from the same URL builder you use for navigation.

FAQ

What does a canonical URL do?+

rel=canonical tells Google which version of a URL is the original when the same content is reachable at multiple addresses (with/without trailing slash, with tracking params, http vs https). Without it, Google picks one and the others get filtered out of search.

Should the canonical include UTM parameters?+

No. UTM and other tracking params identify the same content reached via different campaigns. The canonical should be the clean URL — the tool strips ?utm_… by default.

Self-canonical vs cross-canonical?+

Most pages should point their canonical at themselves (self-canonical) — it signals 'this is the authoritative version'. Use a cross-canonical (pointing at a different URL) only when the page is genuinely a duplicate, like a print variant or a region-mirrored landing page.

Want this checked sitewide, automatically?

7-day trial. From $29/mo. Cancel from the dashboard.