SEO Tools

Canonical URL Generator

Turn the many versions of a URL into one clean canonical address. Paste one or more URLs and choose the rules: always https, add or remove www, add or remove the trailing slash, drop index.html and similar file names, remove the #fragment, remove tracking parameters such as utm_, gclid and fbclid, remove all parameters or keep only the ones you list, sort the remaining parameters and optionally lowercase the path. Get HTML link tags, HTTP Link headers or plain URLs.

  • Runs in your browser
  • No sign-up
  • Free to use
Start from an example

    How to use Canonical URL Generator

    1. Paste the URLs, one per line.
    2. Choose the normalisation rules.
    3. Pick the output format.
    4. Add the tags to the <head> of your pages.

    Canonical URL Generator features

    Tracking removal

    utm_, gclid, fbclid, msclkid and more.

    Host and protocol

    https and www rules.

    Slashes and index files

    Consistent paths.

    Parameter control

    Keep only what matters.

    Three formats

    Link tag, HTTP header, plain URL.

    Private

    Runs in your browser; nothing is uploaded.

    When to use Canonical URL Generator

    • Setting canonicals on filtered category pages.
    • Cleaning URLs before adding them to a sitemap.
    • Adding Link headers for PDFs.
    • Consolidating paginated and tracking URLs.

    Canonical URL Generator FAQ

    What does a canonical tag do?

    It tells search engines which URL is the preferred version of a page when the same content is reachable at several addresses.

    Should every page have a canonical?

    Yes, a self-referencing canonical is a good default; duplicates point to the preferred version.

    Should I lowercase URLs?

    Only if your server serves the same page for both cases. Paths are case-sensitive on most servers.

    Is a canonical a redirect?

    No. Visitors stay on the page; it is a hint for search engines. Use a 301 if the duplicate page is not needed.

    Canonicalisation in practice

    The same page is often reachable at many addresses: with and without www, with tracking parameters from campaigns, with sorting and filter parameters, with or without a trailing slash. Search engines try to pick one, but a clear canonical tag makes the choice yours.

    Keep the signals consistent: the canonical URL should be the one you link to internally, list in the sitemap and redirect other versions to. Mixed signals make search engines ignore the canonical.

    Check an existing page’s canonical with the URL Canonical Checker.

    Privacy: everything on this page runs in your browser. What you type or paste is not uploaded, stored or logged, and the result is generated on your device, so you can safely work with unpublished content, client data or drafts.

    Tip: the result updates as you type, so you can try variations quickly. Copy the output with one click or download it as a file, and keep a copy of your input if you want to come back later – nothing is saved between visits.

    Who it is for: the tool is built for site owners, marketers, writers and developers alike. You do not need to install anything or create an account, it works on phones as well as on desktop computers, and the results are plain text you can paste into any CMS, spreadsheet, code editor or ticket.

    Accuracy: the rules used here are documented on the page and follow the published guidelines of the major search engines and web standards. Where a result is an approximation or a rule of thumb rather than an official limit, the page says so, so you can decide how much weight to give it.

    Good practice: generated markup and files only help when they match the real page. Publish them together with the visible content they describe, test the page with the official tools from the search engines, and update the markup whenever the page changes.

    Other useful tools