Canonical Tag Generator
Generate a valid rel="canonical" link tag from any absolute URL, with optional removal of UTM and other tracking parameters. Copy or download.
Generate a valid rel="canonical" link tag from any absolute URL, with optional removal of UTM and other tracking parameters. Copy or download.
Canonical Tag Generator turns a page address into a clean canonical URL and a ready-to-paste <link rel="canonical"> tag. It checks that the address is an absolute http:// or https:// URL, removes the #fragment, and can strip common tracking parameters such as utm_source, utm_medium, utm_campaign, utm_term and utm_content.
Meaningful query parameters — for example a product variant or page number — are kept exactly as you typed them unless you explicitly choose to remove all parameters. The tool only builds markup from the text you enter; it does not visit, crawl or check any website.
It is a <link rel="canonical" href="…"> element in a page’s <head> that tells search engines which URL you prefer when the same or very similar content is available at several addresses.
No. It is a strong hint, not a command. Search engines can choose a different canonical URL, and a canonical tag does not make a page get indexed.
Fragments are handled by the browser and never sent to the server, so they should not be part of a canonical URL.
When the option is on: utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, gclid, fbclid and msclkid. Other parameters are kept unless you tick “Remove all query parameters”.
No. It does not fetch, crawl or validate any live page. It only transforms the URL you type into markup.
Inside the <head> of the page it describes. Use only one canonical tag per page.