Canonical Tag Generator
Generate rel=canonical link tags for SEO — prevent duplicate content issues across URLs.
Place this tag inside the <head> of your HTML document to tell search engines which URL is the preferred version of this page.
About this tool
Duplicate URLs dilute SEO signals — canonical tags tell search engines which version to index.
Essential for parameterized URLs, www/non-www variants, and syndicated content.
How to use the Canonical Tag Generator
- 1
Enter the preferred canonical URL for your page.
- 2
Copy the generated link rel=canonical HTML tag.
- 3
Paste into your page head or CMS SEO settings.
Implementation notes
Canonical must be absolute URLs with https. Self-referencing canonicals on unique pages are best practice.
Canonical is a hint — strong duplicates may still require 301 redirects.
Pro tips
- Add canonical tags in CMS SEO plugins or theme head templates.
- Audit canonicals after site migrations.
Social Media Specs & Character Limits
Optimal text formatting, length guidelines, and parameters for all major platforms:
| Platform | Max Length | Ideal Length | Hashtag Policy |
|---|---|---|---|
| Instagram Feed & Reels | 2,200 chars | 125 - 150 chars | 3 - 5 tags (Recomm.) |
| TikTok Posts | 4,000 chars | 100 - 200 chars | 3 - 5 tags (Ideal) |
| YouTube Description | 5,000 chars | 1,500 chars (SEO) | 3 - 10 tags |
| X / Twitter Post | 280 chars | 100 - 140 chars | 1 - 2 tags |
| LinkedIn Articles & Posts | 3,000 chars | 500 - 1,000 chars | 3 - 5 tags |
Related tools
All tools →Favicon Generator
Generate favicon sizes from an uploaded image
Heading Analyzer
Audit H1–H6 heading structure in HTML
HTML to Text
Strip HTML tags and extract plain text
Meta Tag Generator
Generate SEO title, description, and Open Graph tags
Meta Title Pixel Checker
Simulate Google SERP title pixel width
Robots.txt Generator
Build robots.txt for search engine crawlers
Frequently Asked Questions
When do I need a canonical tag?▼
When the same content is accessible at multiple URLs — parameters, www vs non-www, HTTP vs HTTPS.
Can I canonicalize to a different domain?▼
Cross-domain canonicals are supported but use carefully — Google treats them as strong hints, not redirects.