Canonical URL Generator

Normalize URLs, detect existing canonicals, and batch process. Fix duplicate content and query parameters.

Paste with Ctrl+V (Cmd+V on Mac)

Valid URL

<link rel="canonical" href="https://example.com/page" />

Normalization options

www:
Trailing slash:

Why Canonical URLs Matter for SEO

A canonical URL tells search engines which version of a page is the "master" when multiple URLs serve similar content. Without it, signals can split across duplicates, hurting rankings. Set it with <link rel="canonical" href="..." /> or HTTP headers.

Canonical vs Redirects

Canonical tells search engines which URL to index, but both URLs remain accessible. Redirects (301/302) send users and crawlers to a different URL and consolidate everything. Use redirects when you want to retire a URL; use canonicals when multiple URLs should stay live but point to one preferred version.

Canonical vs Noindex

Canonical says "index this URL (or the canonical one) but treat these as duplicates." Noindex says "do not index this page at all." Use noindex for login pages, thank-you pages, or content you never want in search. Use canonical for duplicate or near-duplicate content you do want indexed under one URL.

Cross-Domain Canonicals & Common Mistakes

Cross-domain canonicals are allowed (e.g. syndicated articles pointing to the original). Common mistakes: canonical with tracking params, mixing www/non-www, relative URLs, canonicalizing paginated pages to page 1.

Ecommerce: Filters, Pagination, Variants

For product filters and pagination, each URL should canonical to itself (not to page 1). Use rel="prev"/rel="next" for pagination. For product variants (e.g. color/size), choose one URL as canonical and point variants to it.

More SEO Tools

Browse All SEO Tools

Stay updated with new SEO tools and tips. Explore more tools.

Share:

Frequently Asked Questions

What is a canonical URL?

A canonical URL is the preferred version of a page when you have duplicate or similar content at multiple URLs. You tell search engines which URL to index via a <link rel="canonical" href="..." /> tag or HTTP header.

How do I add a canonical tag?

Add <link rel="canonical" href="https://yoursite.com/your-page" /> in the head of your HTML. Use this tool to normalize the URL and get the exact tag.

Should I remove query parameters in the canonical URL?

Usually yes. Strip tracking parameters so search engines consolidate signals to one clean URL.

Can I use a canonical to another domain?

Yes. Cross-domain canonicals are allowed (e.g. syndicated content). Set the canonical href to the preferred URL on another domain.