iLoveMyFile

Canonical URL Generator

Clean up a page address and get the canonical tag that tells search engines which version to rank.

Paste a page address above.

How to use the Canonical URL Generator

  1. Paste the address of the page.
  2. Choose how www, parameters and the ending slash should be handled — match the version your site actually uses.
  3. Copy the tag and paste it inside the <head> section of the page.

Why canonical tags matter

The same page is often reachable at several addresses: with and without www, with tracking codes, with a slash at the end. Search engines may treat each as a separate page and split the ranking between them. A canonical tag names the one address that should be ranked.

Frequently asked questions

Should a page point to itself as canonical?

Yes. A self-referencing canonical on every page is good practice, because it protects the page when it is reached through an address with extra parameters.

Should I add or remove the trailing slash?

Either is fine. What matters is choosing one form and using it everywhere, matching the address your site redirects to.

Is a canonical tag the same as a redirect?

No. A redirect sends visitors to another address. A canonical tag leaves visitors where they are and only tells search engines which version to rank.

Is what I type sent to a server?

No. This tool runs entirely in your browser, so nothing you enter leaves your device.