Canonical URL Generator
Clean messy URLs into one canonical form and get ready-to-paste rel=canonical tags. Strip tracking parameters, force https and fix www in bulk.
Bulk normalizationStrip tracking paramsHTML tag and HTTP headerDuplicate detection
Drop a .txt or .csv of URLs, or click to uploadOne URL per line, up to 8 MB
or paste URLs, one per line
Rules
One tag per URL
Same signal as an HTTP header (for PDFs and non-HTML)
Unique canonical URLs
Why use this tool
Kills duplicates
Merges http/https, www, trailing slash and tracking variants into one URL.
Tags and headers
Get link rel=canonical tags and the matching HTTP Link header.
Bulk and fast
Normalize an entire crawl export in a single paste.
How it works
- Paste your URLs, one per line.
- Choose how to treat www, slashes and query parameters.
- Copy the canonical tags or the cleaned URL list.
Frequently asked questions
What is a canonical URL?
It is the preferred version of a page when several URLs show the same content. Search engines consolidate ranking signals onto the canonical.
Should the canonical be self-referencing?
Yes. Every indexable page should point to its own clean URL, which protects against parameter and tracking duplicates.
Which parameters count as tracking?
UTM parameters, fbclid, gclid, msclkid, mc_cid, ref and similar. They change the URL without changing the content.
Canonical or 301 redirect?
Use a 301 when the duplicate should disappear for users. Use a canonical when both URLs must stay reachable.
Does Google always follow canonical tags?
It treats them as a strong hint, not a command. Make sure internal links, sitemaps and redirects agree with your canonical.