Canonical Tag Generator

Build a clean canonical link tag from any URL, with warnings for fragments, uppercase hosts and tracking parameters.

Build a canonical tag

Canonical URL: —
Parameters kept: 0 · Warnings: 0
Warnings flag fragments, uppercase hosts and tracking parameters, because none of them belong in a canonical URL.

How to use the Canonical Tag Generator

  1. Paste the full page URL, including the protocol and any query string.
  2. Choose the protocol, the trailing slash style, the www prefix and the query string options.
  3. Copy the generated canonical link tag into the head of your page.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online canonical tag generator.

A canonical tag is a link element in the page head that tells search engines which URL is the preferred version of a page.
When several URLs show the same content, search engines split ranking signals between them, so one preferred URL is named.
Pick the form your server actually serves and use it everywhere, as long as links and the sitemap agree on that form.
No. Values such as utm_source or fbclid create separate URLs for the same page, so the tool removes them.
Yes. Cross domain canonicals are allowed and are used for syndicated content, but both pages should hold the same content.
No. Fragments never reach the server and are ignored by search engines, so the tool drops them and warns you.
Yes. HTTP and HTTPS are treated as different URLs, so use the protocol your site really serves, which should be HTTPS.
No. The tag is built in your browser and nothing you paste is uploaded, stored or shared with anyone.

Last updated: October 10, 2026