Canonical Tag Generator

Clean up a URL and generate its canonical tag, removing tracking parameters and fixing www, HTTPS and slashes.

Canonical URL

Only lowercase the path if your server treats upper and lower case as the same page. Always point the canonical at a URL that returns 200 and is not blocked by robots.txt.


Canonical Tag Generator

The same page is often reachable at many addresses: with and without www, with a trailing slash or not, with ?utm_source= tracking or session parameters. A canonical tag tells search engines which address is the main one so ranking signals are not split. Paste a URL, choose your site's conventions, and get the clean canonical URL with the tag and HTTP header to use.

How to use Canonical Tag Generator

  1. Paste the page URL, including any parameters.
  2. Choose your conventions for HTTPS, www and trailing slashes.
  3. Choose how to treat query parameters: remove tracking only, keep only the ones you list, or keep all.
  4. Copy the canonical link tag into the page head, or use the HTTP header version for PDFs.

When it comes in handy

  • Setting canonicals on pages reached through ads and campaigns.
  • Cleaning URLs on filtered and sorted category pages.
  • Fixing "duplicate without user-selected canonical" in Search Console.

Frequently asked questions

Should every page have a canonical tag?
Yes, a self-referencing canonical on each indexable page is good practice. It protects against copies created by parameters and tracking links.
Is a canonical a command?
It is a strong hint. Google may choose a different canonical if other signals, such as internal links, redirects and the sitemap, point elsewhere, so keep them consistent.

Choose which cookies SEOpeck may use. You can change this at any time from "Cookie settings" at the bottom of every page.