Canonical URL Generator

Clean a URL into its canonical form and generate the rel=canonical tag and HTTP header, removing tracking parameters and duplicates.

Tool

Was this tool useful?

About this tool

About Canonical URL Generator

Duplicate URLs split ranking signals. This tool normalises a URL – HTTPS, lowercase host, no tracking parameters or fragments, consistent trailing slash – and writes the canonical tag for you.

How it works

Steps: force scheme, lowercase the host, remove default ports, drop tracking parameters (utm_*, gclid, fbclid…), optionally sort the rest, remove the #fragment and apply your trailing-slash rule.

Example

https://Example.com:443/Shoes/?utm_source=x&color=red#top → https://example.com/Shoes/?color=red

How to use this tool

  1. Paste the page URL.
  2. Choose your preferences: HTTPS, www, trailing slash and which parameters to remove.
  3. Copy the canonical link tag or HTTP Link header.

Frequently asked questions

Should every page have a canonical tag?

Yes, a self-referencing canonical is a good default. It protects the page from duplicates created by tracking links.

Is a canonical a redirect?

No. It is a hint to search engines. Use a 301 redirect when you want visitors moved too.

Will using the Canonical URL Generator improve my rankings?

The Canonical URL Generator helps you get the technical details right, which removes problems that can hold a page back. Rankings still depend mostly on helpful content, links and user experience, so use it as part of a wider SEO plan.