VulnerabilityTools Free scan

Canonical Tag Generator

Get the exact rel=canonical tag for any page, copy and paste.

On-Page SEOFree · no signupRuns in your browser
<link rel="canonical" href="…" />

Place inside the <head> of every duplicate or near-duplicate page variant.

About this tool

The canonical tag generator creates a valid rel="canonical" link tag that tells search engines which URL is the master version of a page. Essential for e-commerce filters, paginated content, HTTP/HTTPS or www/non-www duplicates, and syndicated articles.

How to use

  • 1. Enter the preferred (canonical) URL.
  • 2. Click Generate tag.
  • 3. Paste the tag into the <head> of duplicate variants.

Frequently asked questions

What does a canonical tag do?

It tells Google which URL to index and rank when multiple URLs show the same content, consolidating ranking signals.

Should the canonical be absolute?

Yes, always use the full absolute URL including https://.

Can a page canonical to itself?

Yes, self-referencing canonicals are best practice on every page.

Is your website secure? Run the free 7-section scan: vulnerabilities, malware, headers, SEO and speed.

Scan my website

Related tools

More from On-Page SEO and SEO.

All 98 tools →