How to use the Canonical URL Generator
- Paste the URL of the page, including any parameters you are seeing in analytics.
- Choose your preferences for HTTPS, www and trailing slash, and which parameters to keep.
- Copy the canonical tag into the <head> of the page (every duplicate variant should point to the same URL).
About this tool
The same page is often reachable at several URLs – with and without www, with tracking parameters like ?utm_source=newsletter, or with and without a trailing slash. A canonical tag – which this canonical URL generator builds for you – tells search engines which version is the main one, so ranking signals are consolidated instead of split between duplicates.
Paste any URL and this tool normalizes it: lowercases the host, removes default ports, fragments and common tracking parameters (utm_*, gclid, fbclid and more), and applies your HTTPS, www and trailing-slash preferences. It then outputs the tag and the equivalent HTTP header.