Skip to content

Canonical URL Generator

Generate a rel=canonical link tag, with a check that the URL is suitable.

Runs in your browserNo account neededFree
Loading tool…

Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.

How to use the canonical url generator

  1. Enter the preferred absolute URL.
  2. Copy the tag.
  3. Add it to every variant of that page.

About this tool

A canonical tag tells search engines which address is the real one when the same content is reachable at several. That happens more often than people expect: tracking parameters, filter and sort options, trailing slashes, and http alongside https all produce distinct URLs serving identical content.

Without a canonical, ranking signals are split across those variants. With one, they consolidate onto the address you nominate.

Two rules make it work. The URL must be absolute, including the scheme — a relative canonical is ignored. And every variant should point at the same canonical, including the canonical page itself, which is the self-referencing canonical that is considered good practice rather than redundant.

A canonical is a strong hint, not a directive. Search engines can and sometimes do choose a different URL if the evidence contradicts you.

Common uses

  • Consolidating pages that differ only by tracking parameters.
  • Handling filter and sort variants of a product listing.
  • Pointing syndicated copies back at the original.

Frequently asked questions

Should a page have a canonical pointing at itself?
Yes. A self-referencing canonical is good practice — it removes ambiguity when the page is reached with parameters attached.
Can the canonical URL be relative?
It should not be. Use an absolute URL including the scheme, or it may be ignored.
Is a canonical the same as a redirect?
No. A redirect sends users elsewhere. A canonical leaves the page reachable and tells search engines which version to index.

Related tools