Skip to content

Canonical URL Generator

Normalize a URL and generate its canonical link tag and HTTP header — you choose every change.

AvailableRuns in your browserFree · No sign-up

Canonical URL Generator

The URL of the page that will contain the canonical tag.

Normalization (only what you choose)

Switch http:// to https://.

www
Trailing slash

Only if your server treats /Page and /page as the same page.

Gives one consistent order (?a=1&b=2).

Enter a page URL to generate its canonical tag.

Your data is processed locally in your browser and is not uploaded to OZVILO servers.

How to use the Canonical URL Generator

  1. 1Enter the page URL, and the preferred canonical URL if it differs.
  2. 2Choose normalization: HTTPS, www, trailing slash, lower-case path.
  3. 3Tick only the query parameters you want removed — tracking parameters are marked.
  4. 4Copy the <link rel="canonical"> tag or the HTTP Link header.

Examples

  • Tracking cleanup

    Input
    http://example.com/shoes?utm_source=mail&id=7 (utm_source ticked)
    Result
    <link rel="canonical" href="https://example.com/shoes?id=7" />
  • Mismatch

    Input
    Page https://a.com/x · canonical https://b.com/x
    Result
    Cross-domain canonical warning

Canonical URL Generator features

  • Generates the canonical link tag and an HTTP header version for PDFs and other files
  • Optional normalization: HTTPS, www/non-www, trailing slash, lower-case path, parameter order
  • Removes only the query parameters you tick; known tracking parameters are flagged
  • Original vs. normalized comparison with a list of changes
  • Detects self-referencing, cross-domain, protocol and trailing-slash mismatches

Frequently asked questions

Does a canonical tag redirect visitors?

No. It's a hint telling search engines which URL you prefer to have indexed. Visitors stay on the URL they opened, and search engines may pick a different URL if other signals conflict. Use a 301 redirect to move people.

Should every page have a canonical tag?

A self-referencing canonical on each indexable page is a common best practice. It helps when the same page is reachable with tracking parameters or other URL variations.

Why doesn't the tool remove all query parameters?

Some parameters change the content, such as a product ID or a page number. Removing them would point to the wrong page, so nothing is removed unless you tick it.