← All text tools

Canonical Tag Generator

Build the rel canonical link tag and the HTTP Link header for a URL, cleaning the protocol, www, trailing slash and tracking parameters as you choose.

  • Free
  • No sign-up
  • Works on any device

About Canonical Tag Generator

The canonical tag names the preferred URL of a page, so duplicates such as http and https, www and non-www, or tracking links count as one. Paste any address and this tool tidies it by your rules: force https, add or drop www, add or drop the trailing slash, strip utm_ and click ID parameters, sort the rest and drop the fragment. It then writes the link tag for the head and the HTTP Link header used for PDFs. From http://www.Example.com/Shoes/?utm_source=news&color=red you get https://www.example.com/Shoes/?color=red.

How to use Canonical Tag Generator

  1. Paste the URL of the page as it appears in the address bar.
  2. Choose how to treat the protocol, www and the trailing slash.
  3. Copy the link tag into the head, or the header into your server config.

Why use this tool?

Also known as

Frequently asked questions

Is a canonical tag a command?

No. Search engines treat it as a strong hint and may choose another URL if the pages differ too much or the signals disagree.

Should the canonical point to itself?

Yes, a self-referencing canonical on every page is good practice. It protects the page from parameters and copies made by other sites.

Which parameters should I keep?

Keep those that change what the page shows, such as a product colour or a page number in a series. Remove those that only track visits, like utm_ values.

Is Canonical Tag Generator free?

Yes. Canonical Tag Generator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Canonical Tag Generator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools