Create a reliable canonical tag

For site managers who need to mark a page’s preferred address during a launch, migration or duplicate-content review.

Produce a canonical tag from an absolute URL and get paste-ready code that clearly identifies the preferred address for a page.

How to use

  1. Enter the absolute address of the page you want to mark as the preferred version.
  2. Check that the address begins with the protocol and contains the full domain name.
  3. Click the generate button to produce the matching canonical tag.
  4. Copy the resulting code and paste it into the head section of your page.
  5. Make sure the tag does not point to a temporary address or a test version.

Example

The sample input contains an absolute address. After generating, the result shows the canonical tag ready to be inserted. You can check that the address matches the page whose preferred version you want to signal.

Input

https://example.com/products/item

Output

<link rel="canonical" href="https://example.com/products/item">

Limits and formats

Where processing happens

Tag generation takes place in your browser. The address you enter is neither uploaded nor stored. No network call is made to produce the code.

Frequently asked questions

Why use a canonical tag?

It tells search engines the reference address when the same page is accessible through multiple addresses. This helps avoid duplication and focuses signals on the chosen version. It does not redirect visitors.

Should the tag be placed in the head?

Yes, the canonical tag must be inserted in the head section of the HTML document. If it is placed in the body, search engines may ignore it. Check its location after pasting the code.

Can I put several canonical tags on one page?

In general, a page should have only one canonical tag. Multiple tags can send conflicting signals and be ignored. Choose one main address and use a single consistent tag.

Tools in the same category