Canonical Tag Generator

Create a canonical link tag to avoid duplicate content.

The canonical tag tells search engines which version of a page is the "main" one, preventing duplicate-content issues from URL variations (trailing slashes, tracking parameters, http vs https). Use the full, absolute URL.

Enter the full page URL (https://…) to generate the canonical tag

How to use the Canonical Tag Generator

Simple, free and instant - no sign-up required.

1

Fill in your details

Enter your page info in the fields - everything is generated in your browser, nothing is uploaded.

2

Adjust the options

Tweak the settings to generate exactly the markup or URL you need.

3

Get the code instantly

Your tags, code or URL build live as you type - no waiting and no processing queue.

4

Copy & paste into your site

Copy the output or download the file, then drop it into your page head, server config or CMS.

Advertisement · 970×90

Frequently asked questions

Everything you need to know about Canonical Tag Generator.

A canonical tag (rel="canonical") tells search engines which URL is the 'master' version of a page, so duplicate or near-duplicate URLs don't compete or dilute ranking signals.
When the same content is reachable at multiple URLs — http vs https, with/without www, trailing slashes, tracking parameters, or printer-friendly versions. Point them all at one canonical URL.
Inside the <head> of the page. Always use the full, absolute URL (including https://) as the canonical target.

Related tools

More handy tools for your workflow.

View all tools
Canonical Tag Generator | Free Online SEO & Web Tool - EveryFileTool