Canonical Tag Generator
Generate clean canonical link tags for one URL or hundreds of URLs. Paste URLs, preview the output, copy the tags, or download them as a text file.
Input
Add your canonical URLs
Paste one URL per line, or separate multiple URLs with commas. URLs without a protocol will be converted to HTTPS.
0
Valid URLs
0
Needs review
Output
Copy canonical tags
Add the generated tag to the head section of the duplicate page, pointing to the preferred canonical URL.
Your data stays private
Everything runs in your browser. Your URLs are not uploaded or stored.
What are canonical tags?
Canonical tags, also called rel="canonical", tell search engines which version of a page is the preferred URL.
They help prevent duplicate content issues when the same or very similar content appears across multiple URLs.
In simple terms:
“This is the main version of this page that should be indexed.”
How to use this tool
- Paste one URL per line, or separate URLs with commas.
- Review the generated canonical link tags.
- Copy the tags or download them as a text file.
- Add the correct tag to the page’s HTML head section.
When to use canonical tags
- Use them when duplicate or near-duplicate pages exist.
- Point tracking, filtered, or alternate URLs to the preferred page.
- Use absolute URLs, including HTTPS and the full domain.
- Avoid pointing every page to the homepage unless it is truly canonical.
Canonical tag example
Add the canonical tag inside the page’s HTML <head> section:
<link rel="canonical" href="https://example.com/original-page/" />