Free SEO Tool

Canonical URL Generator

Paste any URL to get a clean, correct rel=canonical tag. We strip tracking parameters, enforce HTTPS, and hand you the HTML tag and HTTP header, ready to copy.

Your canonical tag

Canonical URL
HTML tag: paste inside <head>
HTTP header alternative (for PDFs and other non-HTML files)
What we cleaned up

    Fighting duplicate content at scale?

    Canonical mistakes can quietly bury good pages. Our team audits and fixes them across your whole site.

    Book a Free Call

    How to use the canonical URL generator

    1. Paste the URL you want search engines to treat as the main version of the page.
    2. Leave the cleanup options on (or adjust them), then click Generate.
    3. Copy the HTML tag into your page's <head> (one canonical per page).

    What is a canonical URL?

    A canonical URL is the version of a page you want search engines to treat as the “official” one when the same or similar content is reachable at more than one address, for example with tracking parameters, uppercase letters, or a trailing slash. The rel="canonical" tag points every duplicate back to that single URL, so ranking signals aren't split across copies.

    Why canonical tags matter

    Without a canonical, search engines may index the wrong version of a page, split your link equity across duplicates, or waste crawl budget. A clean, self-referencing canonical keeps your signals consolidated on one URL, a small tag that prevents a surprising amount of SEO headaches.

    Frequently asked questions

    What is a canonical URL?

    It's the version of a page you want search engines to treat as the main one when the same content is available at several URLs.

    Where do I put the canonical tag?

    Inside the <head> of the page. Use one canonical per page, and it's best for a page to point to itself.

    Should I remove UTM and tracking parameters from the canonical?

    Yes. Point the canonical at the clean URL without utm_, gclid, or fbclid so search engines consolidate signals on one address.

    Should a page have a canonical to itself?

    Yes, a self-referencing canonical is best practice. It removes ambiguity even when there are no obvious duplicates.

    Can a canonical point to a different domain?

    Yes. Cross-domain canonicals are valid, for example when you republish the same article on another site.

    Does the canonical tag force Google to index that URL?

    No. It's a strong hint, not a command. Google usually respects it but can choose a different canonical if other signals conflict.

    HTML tag or HTTP header: which should I use?

    Use the HTML <link> tag for normal web pages. Use the HTTP header for non-HTML files like PDFs, where you can't add a <head>.

    Related free SEO tools

    Explore the rest of our toolkit or get a hand from our team:

    See all free SEO tools →