Canonical URL Tool

Clean and standardize any URL — force HTTPS, lowercase the domain, strip tracking parameters and trailing slashes — then copy a ready-to-use rel=canonical tag to prevent duplicate content.

URL to clean
Canonical URL
Enter a URL above...
rel=canonical tag
Your canonical tag will appear here...

How to use the Canonical URL Tool

Stop duplicate-content issues by pointing every variant to one clean URL.

STEP 01

Paste your URL

Drop in any messy URL — mixed case, http, tracking parameters and all. It is parsed safely in your browser.

STEP 02

Choose cleaning options

Toggle HTTPS, lowercase host, trailing-slash removal and tracking-parameter stripping. Each change updates the result instantly.

STEP 03

Set www handling

Decide whether to keep, add or remove the www prefix so every page resolves to one consistent hostname.

STEP 04

Copy the canonical tag

Copy the clean URL or the full rel=canonical tag and add it to the of every duplicate or variant page.

Frequently asked questions

Everything you need to know about the Canonical URL Tool.

A canonical URL is the single, preferred version of a page when several URLs show the same or very similar content — for example with and without www, http vs https, or with tracking parameters. Declaring a canonical tells search engines which version to index and rank, consolidating your SEO value onto one URL.

Paste any URL and choose your cleaning options — force HTTPS, lowercase the host, remove trailing slashes, strip tracking parameters and set how www is handled. The tool outputs both the cleaned URL and a ready-to-paste rel=canonical tag that you add to your page’s <head>.

Duplicate URLs split your ranking signals and can waste crawl budget. By pointing every variant to one canonical URL, you consolidate link equity, avoid duplicate-content dilution, and make sure the right page appears in search results.

With "Strip tracking params" enabled, the tool removes common analytics and campaign parameters such as utm_source, utm_medium, utm_campaign, gclid and fbclid, while keeping genuine query parameters. Enable "Strip ALL query params" to remove every parameter regardless.

Add the generated tag inside the <head> section of the page it refers to. Each variant of a page should point to the same canonical URL, and the canonical page should reference itself. Use an absolute HTTPS URL, not a relative path.

Related SEO tools

Keep optimizing \u2014 explore the rest of the SEO toolkit.