All tools
SEO tools

Canonical Tag Generator

Generate rel=canonical link tags to prevent duplicate content and consolidate PageRank to your preferred URL.

Self-referencing Cross-domain Pagination URL variants HTML output
Get started free Sign in

Free · No credit card · 50 credits/day

When to use canonical tags

🔗

URL parameters

Tracking parameters (?utm_source=…), sort orders (?sort=price), and filter combinations create duplicate URLs. Canonical the clean URL.

🌐

HTTP vs HTTPS

If both http:// and https:// versions are accessible, canonical the https:// version (and also set up a 301 redirect for security).

📄

www vs non-www

If your site is accessible at both www.example.com and example.com, pick one as canonical and redirect the other.

🖨️

Print / AMP pages

Printer-friendly pages (/page?format=print) and AMP versions should canonical back to the original page URL.

📋

Content syndication

When your articles are republished on other sites, ask the publishing site to add a canonical tag pointing back to your original URL.

🔢

Paginated content

For multi-page series, each page should have a self-referencing canonical. Don't canonical all pages to page 1 — that makes Google think pages 2+ are duplicates.

Frequently asked questions

What is a canonical tag?

A canonical tag (rel=canonical) is an HTML link element in the <head> of a page that signals to search engines which URL is the preferred, definitive version of that content. It tells Google to consolidate ranking signals to the canonical URL rather than splitting them across duplicates.

When do I need a canonical tag?

You need canonical tags when your CMS creates multiple URLs for the same content, you have HTTP and HTTPS versions, www and non-www versions, syndicated content on other sites, or printer-friendly / AMP versions of pages.

Should a page have a self-referencing canonical?

Yes. Google recommends adding a self-referencing canonical tag on every page — pointing to itself. This prevents confusion if someone links to a parameterised version of your URL and clearly establishes the authoritative version.

What is the difference between canonical tags and 301 redirects?

A 301 redirect permanently forwards users and bots to another URL — the old URL becomes inaccessible. A canonical tag is a hint that leaves the duplicate URL accessible but signals your preferred version. Use 301 redirects when retiring a URL entirely; use canonical tags when duplicate URLs must remain accessible.

Related SEO tools

More tools to clean up your technical SEO.

Redirect Checker

Follow redirect chains and detect loops, broken hops and unnecessary redirects.

Sitemap XML Generator

Build a valid XML sitemap to help Google discover and index all your pages.

Robots.txt Generator

Build a robots.txt file to control which pages search engine crawlers can access.

Eliminate duplicate content today

Free account. 50 credits per day. Access to 75+ tools instantly.

Create free account →