TOOLTIKI Lovable tool, really free
SEO & web Tags

Canonical tag generator

Generated in your browser · nothing is uploaded

Local · absolute URL, returning 200
Advertisement
320 × 100

Builds the `rel="canonical"` link tag that tells search engines which URL of several identical ones should be indexed, plus the optional prev, next and AMP links.

How to use the canonical tag generator

1 Paste the URL you want indexed, in full.
2 Add prev/next if the page is part of a series.
3 Copy the tag into the page head.

A canonical tag exists because the same page is usually reachable at several URLs — with and without a trailing slash, with tracking parameters, over http and https, at www and without. Search engines see those as different pages with identical content and have to guess which to index. The canonical tag removes the guess.

Three rules decide whether it works. It must be absolute — a relative canonical is a common and silent failure. It must point at a URL that returns 200, because a canonical pointing at a redirect or a 404 is ignored entirely. And it must be self-referencing on the canonical page itself, which sounds redundant and is the standard advice: it costs nothing and settles the parameter variants automatically.

The most damaging mistake is a site-wide canonical pointing at the homepage. It is easy to do by putting the tag in a template with a hard-coded URL, and the result is that every page on the site tells Google it is a duplicate of the homepage — so the whole site drops out of the index except one page. If organic traffic collapses overnight after a template change, this is the first thing to check.

One clarification: a canonical is a hint, not a directive. Google can and does ignore one it disagrees with — if the content genuinely differs, or if the signals point elsewhere. It is a strong hint, but a noindex is the instruction.

Questions

Yes. It costs nothing and settles the parameter and trailing-slash variants automatically.

Google Search Central — consolidate duplicate URLsRFC 6596 — the canonical link relation
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING