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.
How to use it
- Enter the full preferred URL, including https://.
- Select Generate Canonical Tag.
- 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?
| Situation | Use |
|---|---|
| Same content at several URLs, all of which need to keep working (filters, tracking parameters) | Canonical tag |
| A page has moved permanently | 301 redirect |
| A page should stay accessible but out of search results | noindex |
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.
Related tools
- Meta Tag CheckerPaste page HTML to audit the title, description, canonical, robots and more.
- Robots.txt GeneratorBuild a robots.txt file with user-agent rules and a sitemap line.
- URL Slug GeneratorTurn a title into a clean, lowercase, hyphenated URL slug.
- Schema Markup GeneratorGenerate JSON-LD structured data for organizations, articles, products and more.