Canonical URL Generator
Normalise a URL and create the rel="canonical" tag that prevents duplicate content.
What is a canonical tag?
When the same content can be reached through several URLs (for example ?utm_source=..., ?sort=price or with and without www), search engines may not know which is the main page. That splits ranking signals and causes duplicate content issues. The rel="canonical" tag tells search engines your preferred main URL.
URL normalisation
- Lowercases the host
- Removes default ports (:80, :443)
- Removes # fragments
- Optionally strips tracking parameters like utm or all query parameters
You get a clean absolute URL and a link tag ready for your page's head. Processing happens in your browser.
How to use Canonical URL Generator
- Paste the page URL.
- Choose which parameters to remove.
- Check the normalised canonical URL.
- Copy the link tag into your page's head.
Why use this tool?
Consolidates your pages' ranking power on one address by preventing duplicate content.
FAQ
Should the canonical URL be absolute?
Yes. Always use a full absolute URL including https://.
Should every page have a self-referencing canonical?
Yes, a self-referencing canonical ties parameterised copies back to the main page and is good practice.
What's the difference between canonical and a 301 redirect?
A 301 sends users and bots to another address; a canonical keeps the page accessible and only tells search engines the preferred address.
Related tools
Meta Tag Generator
Create title, description, robots, canonical and viewport meta tags with correct escaping.
Open toolUTM Link Builder
Add UTM campaign parameters to any URL with correct encoding for analytics tracking.
Open toolXML Sitemap Generator
Create a valid sitemap.xml from a list of URLs to submit to search engines.
Open toolSlug Generator
Turn titles into clean, SEO-friendly URL slugs by converting accented characters.
Open tool