Build <link rel="canonical"> tags with URL normalisation, live validation, and bulk mode for multiple pages.
Enter a URL to see its anatomy.
<head> section, not in <body>.https://example.com/path URLs, never relative paths.Normalisation options set in Single URL mode (Force HTTPS, Strip www, etc.) are applied to bulk output as well.
A canonical tag (<link rel="canonical" href="…"/>) tells search engines which version of a URL is the "master" copy when multiple URLs serve identical or near-identical content. Without one, Google may index the wrong version, split link equity across duplicates, or suppress your preferred page in favour of a crawled variant.
Common scenarios that require canonical tags: HTTP vs HTTPS, www vs non-www, trailing slash vs no trailing slash, URLs with and without query strings (filtering, sorting, pagination), print-friendly versions of pages, and syndicated content.
This tool generates the correct <link> tag and applies URL normalisation options — force HTTPS, strip www, remove query strings, strip fragments — so the canonical URL is always clean and consistent before you paste it into your <head>. Bulk mode lets you process a whole list at once.
https://) into the URL field.utm_source or fbclid.<link> element, then paste it into your page's <head>.URL normalisation is performed using the browser's native URL API to guarantee RFC-compliant parsing:
http(s):// is present, https:// is prepended. If Force HTTPS is on, existing http:// is replaced.www. prefix from hostname.URL.hash (fragments are never sent to the server and Google ignores them in canonicals).URL.search entirely (Strip all), or uses URLSearchParams.delete() to remove only the specified parameter names./ from pathname unless the path is exactly / (root).URL.href to produce the final normalised URL. The & and " characters are HTML-escaped before embedding in the href attribute.