Free tool· No signup

Free Canonical Tag Generator

Paste the URL that a page should point to as its canonical version and copy the ready-made tag. The tag updates live as you type.

Enter the full address, starting with http:// or https://. The URL is used exactly as typed—no characters are added or removed

Free, no signup — the tag is built in your browser and nothing is uploaded or stored.

What is a canonical tag?

A canonical tag is a short line of HTML placed in the head of a page. It tells search engines which version of a page is the original when two or more addresses show the same or very similar content, so the version you want is the one that gets indexed and ranked. For the other tags that sit in the head, our Meta Tag Generator builds the title, description and social tags too.

Without one, search engines may index the wrong copy, split the page's ranking signals across duplicates, or waste crawl budget on near-identical pages. A self-referencing canonical — one that points a page at itself — removes that doubt and protects the version you want found. It sits alongside the rules made by our Meta Robots Generator, and for the other side of crawl control, see our worked example of using a robots.txt generator on a real website.

How to use this canonical tag generator

  1. Paste the full address of the page that should be treated as the original, starting with http:// or https://.
  2. Watch the tag update live in the box on the right — every change is reflected straight away.
  3. If the address is not a valid URL, a warning appears instead of a tag.
  4. Copy the tag with the Copy tag button, or download it as a text file, then paste it into the <head> of your page.
  5. For a self-referencing canonical, paste the tag on the page itself, then repeat for every page that has a duplicate or a preferred version.

Canonical tags and link building

A canonical tag decides which version ranks, but it does not create authority on its own — pages still need strong links. Our link building services and guest posting build them for you, with SaaS link building for software companies and white label link building for agencies. To write the titles and descriptions that appear with your pages, read how to use a free meta tag generator and how to write meta titles and descriptions that get clicks, and explore the rest of our free SEO tools to keep improving your pages.

Frequently asked questions

A canonical tag is a short line of HTML that tells search engines which version of a page is the original. Add it to the head of a page so Google indexes and ranks the version you choose, instead of a duplicate.

Yes. A self-referencing canonical points a page at itself and removes any doubt about which address is the original. It is a small, free safeguard, even for a page that has no duplicates.

It must be an absolute address that starts with http:// or https://. A relative address, a bare domain without a scheme, or plain text will not work, and this tool shows a warning instead of a tag.

No. The URL is used exactly as typed. If it has no trailing slash, no slash is added, and no characters are added or removed.

Paste it inside the head section of the page it belongs to. For a self-referencing canonical, that is the page itself. If you use a content management system or a page builder, use its custom code or head section setting.

Not by itself. A canonical tag is a strong hint, not a command, so Google may still index a duplicate if it thinks the duplicate is the better result. To keep a page out of search results entirely, use a noindex tag instead.

We scale your organic traffic with editorial content & natural link building.

Tell us your site and your competitors — we come back with a free link plan, a site list and a custom quote.