Canonical Tag Generator

Generate rel=canonical link tags for SEO — prevent duplicate content issues across URLs.

Canonical link tag
<link rel="canonical" href="https://example.com/page" />

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. 1

    Enter the preferred canonical URL for your page.

  2. 2

    Copy the generated link rel=canonical HTML tag.

  3. 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:

PlatformMax LengthIdeal LengthHashtag Policy
Instagram Feed & Reels2,200 chars125 - 150 chars3 - 5 tags (Recomm.)
TikTok Posts4,000 chars100 - 200 chars3 - 5 tags (Ideal)
YouTube Description5,000 chars1,500 chars (SEO)3 - 10 tags
X / Twitter Post280 chars100 - 140 chars1 - 2 tags
LinkedIn Articles & Posts3,000 chars500 - 1,000 chars3 - 5 tags

Related tools

All tools →

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.