Canonical Tag Generator

Create the right canonical link tag for a page.

ABOUT THIS TOOL

What this tool does

When several URLs show similar content, a canonical tag tells search engines which one is the original. This tool produces the tag so you can point duplicate or variant pages to the preferred URL.

USE CASES

When to use it

  • The same product is reachable with and without a trailing slash.
  • A page is served on both http and https during a migration.
  • Print or sorted versions of a listing duplicate the main page.
UNDERSTAND IT

How to understand this tool

INPUT
Canonical URLhttps://example.com/canonical-page
Force HTTPStrue
OUTPUT
<link rel="canonical" href="https://example.com/canonical-page">

A canonical tag tells search engines which URL is the original when several show the same content. It is a hint rather than a directive, and it should point at an absolute URL on the same site. Two pages that point at each other in a loop are usually ignored altogether.

What it will not do

  • It cannot redirect visitors; it only consolidates signals.
  • It does not fix duplicate content across different domains.
FAQ

Questions people ask

What is a canonical URL?

The address you want search engines to treat as the main version of a page.

Should it be absolute?

Yes — use a full URL including https and the domain, not a relative path.

GOOD TO KNOW

One thing worth knowing

All near-duplicate pages should point to the same canonical URL to avoid duplicate-content issues.