SEO Tools

Canonical URL Builder

Build and clean canonical URLs — strip tracking params, sort query strings and generate the rel=canonical tag.

Tool

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

  1. Paste any variant of the URL — mixed case, tracking tags, fragments and all.
  2. Choose normalization: strip tracking parameters, sort the remaining query string, fix the slash.
  3. Copy the clean URL and either set it as the canonical target or paste the full tag.
  4. 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" hreflang too — 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

TrapDuplicate URLs
Tracking links?utm_source=… on every campaign
www vs. non-wwwTwo hosts serving identical content
Trailing slash/tools vs /tools/
Parameterized filters?sort=price&color=red combinations
HTTP + HTTPSProtocol 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.

Frequently asked questions

Nothing bad — that's the recommendation. It anchors each page as its own master, preventing surprises from CMS-generated URL variants.
It can transfer ranking signals, but crawling still hits the duplicate URL each time. For permanent moves use 301; reserve canonical for cases where the duplicate must remain reachable.
Days to weeks — Google re-evaluates when it recrawls. You can force the issue by submitting both URLs in the URL Inspection tool and requesting indexing.

Related tools

Guides for this tool