About the Canonical URL Builder
The Canonical URL Builder runs entirely in your browser — your URLs and content never leave your machine. Fill in the fields, click generate, copy the result.
One page reachable at five URLs splits its own authority: Google indexes a representative version and discards the rest — usually not the one you wanted. rel="canonical" is a hint that tells Google "that URL is a copy of this one." This tool normalizes the URL first — because a canonical pointing to a http://, uppercase-host or utm-tagged variant of itself is worse than none at all.
How to use this tool
- Paste any variant of the URL — mixed case, tracking tags, fragments and all.
- Choose normalization: strip tracking parameters, sort the remaining query string, fix the slash.
- Copy the clean URL and either set it as the canonical target or paste the full tag.
- Self-canonical every indexable page: the canonical must equal the URL it sits on.
Canonical rules
- Always absolute and HTTPS —
https://example.com/page, never a path. - Self-referencing canonicals on every indexable page are safest — one line in your template kills whole classes of duplicate-content bugs.
- Canonical consolidates signals but is a hint, not an instruction — Google may ignore it if the target is a redirect, 404, or non-matching content.
- Different hosts need
rel="alternate" hreflangtoo — canonical alone cannot cross domains. - Never canonicalize paginated pages (page 2 → page 1) — Google's guidance for years has been self-canonical for paginated series.
Common duplicate traps
| Trap | Duplicate URLs |
|---|---|
| Tracking links | ?utm_source=… on every campaign |
| www vs. non-www | Two hosts serving identical content |
| Trailing slash | /tools vs /tools/ |
| Parameterized filters | ?sort=price&color=red combinations |
| HTTP + HTTPS | Protocol duplicates — fix with a single 301 first |
Who is this tool for?
Developers wiring canonical tags into templates, SEOs auditing parameter-heavy e-commerce URLs, and marketers who just noticed their newsletter links are indexed.
SEO tip
Fix the URL itself with a redirect before trusting a canonical — a 301 is an instruction, a canonical is a suggestion. Use both only when a redirect would break the user flow.