Skip to content
All Tools

Canonical Tag Generator

A canonical tag tells search engines which URL is the preferred version of a page when the same content is reachable at several addresses. It looks like <link rel="canonical" href="https://example.com/page/"> and goes in the page’s head.

Generate a canonical tag

๐Ÿ”—

Canonical URL Generator

Generate a clean rel="canonical" tag for your webpage in seconds.

Enter the preferred URL that search engines should use as the canonical version of the page.
Generated Canonical Tag
Ready to Use
Canonical URL


      
Important: A canonical tag is a signal to search engines, not a guarantee that Google will select that URL as the canonical version. Make sure the canonical URL accurately represents the preferred version of the page.

How to use it

  1. Enter the full preferred URL, including https://.
  2. Select Generate Canonical Tag.
  3. Copy the tag or download it, and place it inside the <head> of every duplicate version of the page.

If the URL contains tracking parameters such as utm_source, gclid or fbclid, the tool reminds you that the canonical should normally be the clean URL.

When canonical tags help

  • The same product is reachable with and without filter or sort parameters.
  • Pages are available on both http and https, or with and without โ€œwwwโ€.
  • Content is republished on another site with your permission.

A canonical tag is a strong hint, not a command. Google can choose a different canonical if signals conflict, so keep internal links and sitemaps pointing at the same preferred URL. Many WordPress SEO plugins add self-referencing canonicals automatically; check before adding a second one.

Canonical, redirect or noindex?

SituationUse
Same content at several URLs, all of which need to keep working (filters, tracking parameters)Canonical tag
A page has moved permanently301 redirect
A page should stay accessible but out of search resultsnoindex

Don’t combine a canonical pointing elsewhere with noindex on the same page; the signals conflict.

Common mistakes

  • Pointing every page’s canonical to the homepage.
  • Relative URLs that resolve incorrectly. Use absolute URLs with https://.
  • Canonical URLs that redirect or return 404.
  • Two different canonical tags on one page, often from a theme and a plugin both adding one.

Frequently asked questions

It’s common good practice, and most SEO plugins add one automatically.

Yes, for example for syndicated content, but only when the content really is the same.