Canonical Tag Generator
Generate a correctly formatted <link rel="canonical"> tag from any URL.
Share on Social Media:
Paste in any URL to generate a clean <link rel="canonical"> tag. The URL is automatically normalized — scheme and host are lower-cased, default ports are removed, and duplicate slashes are collapsed — so the tag you get is ready to use.
Frequently Asked Questions
It adds "https://" if you left off the scheme, lower-cases the host, strips a redundant default port (80 for http, 443 for https), and collapses duplicate slashes in the path — producing a clean, consistent canonical URL.
A canonical tag tells search engines which version of a page is the "master" copy when the same or similar content is reachable at multiple URLs, helping avoid duplicate-content issues.
No — a page should have exactly one canonical tag. Multiple conflicting canonical tags can confuse search engines about which URL to treat as authoritative.