Canonical URL Tag Generator

Output a rel=canonical tag for the exact HTTPS URL you want indexed. Use it on duplicates, not as a substitute for redirects.

Canonical link tag
<link rel="canonical" href="https://example.com/page" />

Place this tag inside the <head> of your HTML document to tell search engines which URL is the preferred version of this page.

What this tool does

Duplicate URLs dilute SEO signals — canonical tags tell search engines which version to index.

Essential for parameterized URLs, www/non-www variants, and syndicated content.

How to use it

  1. 1

    Enter the preferred canonical URL for your page.

  2. 2

    Copy the generated link rel=canonical HTML tag.

  3. 3

    Paste into your page head or CMS SEO settings.

Implementation notes

Canonical must be absolute URLs with https. Self-referencing canonicals on unique pages are best practice.

Canonical is a hint — strong duplicates may still require 301 redirects.

Tips

  • Add canonical tags in CMS SEO plugins or theme head templates.
  • Audit canonicals after site migrations.

Related tools

All tools →

Frequently asked questions

When do I need a canonical tag?

When the same content is accessible at multiple URLs — parameters, www vs non-www, HTTP vs HTTPS.

Can I canonicalize to a different domain?

Cross-domain canonicals are supported but use carefully — Google treats them as strong hints, not redirects.