Free 50-point SEO + AEO audit — No signup →
All Tools

Canonical Tag Generator

Generate the correct rel=canonical link tag for any URL. Normalizes protocol, trailing slashes, query parameters and casing — the four most common duplicate-content traps.

Duplicate contentHTTP headerNo login
HTML tag (in <head>)
Enter a URL to generate the tag.
HTTP header (for PDFs / non-HTML)

Why canonicals matter

Duplicate URLs (http vs https, with/without www, trailing slash, tracking params) split your ranking signals across versions. A canonical tag tells Google and AI crawlers which version is the “real” one — consolidating link equity and preventing wasted crawl budget. Always use absoluteURLs, and make sure every page’s canonical points to itself unless it’s a genuine duplicate.