Free Canonical URL Generator
Paste a URL, choose how to normalize it, and get a ready-to-paste <link rel="canonical"> tag. Nothing is sent to a server.
How to generate a canonical URL tag
-
1
Paste the URL
Drop in the full URL, including protocol — https://example.com/page.
-
2
Pick the normalization rules
Toggle which cleanup steps to apply — HTTPS, www, query string, trailing slash, casing, fragment.
-
3
Copy the canonical tag
Paste the generated <link rel="canonical"> tag into the <head> of the page it describes.
Example use cases
Pages reachable via tracking links
Consolidate ranking signals when the same page is linked with different UTM or ad-click parameters.
HTTP vs HTTPS or www vs non-www
Point every variant of a URL at one consistent canonical form.
Paginated or filtered listing pages
Decide whether a filtered/sorted view should canonicalize back to the main listing page.
Frequently asked questions
What does a canonical tag do?
It tells search engines which URL is the "master" version of a page when the same or near-duplicate content is reachable at more than one URL — for example with and without a trailing slash, or with tracking parameters attached.
Should I strip query parameters like ?utm_source?
Usually yes — tracking parameters don't change the page content, so pointing the canonical at the clean URL consolidates ranking signals that would otherwise be split across variants. Keep parameters that change what's actually shown, like a paginated ?page=2.
Should the canonical include www or not?
Either is fine as long as it's consistent — pick one form (with or without www) and make sure every canonical tag site-wide points to that same form.
Where does the canonical tag go?
Inside the <head> of the page it describes. Every page should have exactly one canonical tag, and it should point to itself unless that page is genuinely a duplicate of another.
Is my URL sent to a server?
No — the URL is parsed and cleaned entirely in your browser.