Canonical Tag Generator
One page often has many addresses: with and without www, http and https, with tracking parameters, and with a trailing slash or a bare ending. Search engines may treat each as a separate page and split its ranking signals. A canonical tag names the one preferred address.
Everything above runs in your browser and saves to this device only. Paste the URL variants a page is reached by, choose the rules, and the tool shows which of them are the same page.
How it works
Each URL passes through the chosen rules in order: protocol, host case, www, fragment, index file, path case, query string, and trailing slash.
Remaining query parameters are sorted, so the same parameters in any order give one URL
The table shows every change made, and the count of distinct canonical URLs shows how many real pages the list holds.
Frequently Asked Questions
What is a canonical tag?
A canonical tag is a link element in a page's head that names the preferred URL for that content. It tells search engines to combine ranking signals from duplicate URLs onto one address.
What causes duplicate URLs?
Duplicate URLs come from tracking parameters, http and https, www and non-www hosts, trailing slashes, index file names, and letter case. Each creates another address for the same page.
Should canonical URLs have a trailing slash?
Either form works. Choose one and use it everywhere: in canonical tags, internal links, and the sitemap.
Should I strip query parameters from canonical URLs?
Strip parameters that leave the content unchanged, such as UTM tags and click IDs. Keep parameters that select different content, such as a product variant.
Is this Canonical Tag Generator free?
Yes. The Canonical Tag Generator is free and opens straight away in any modern browser, including on a phone. Everything you enter is processed in your browser and stays on your device.