Skip to content
SEO & Marketing

Canonical Tag Generator

Free canonical tag generator. Paste your page URL and get a ready-to-use <link rel="canonical"> tag to prevent duplicate-content issues and consolidate ranking signals.

Canonical tag

A canonical tag tells search engines which URL is the master version of a page when several addresses serve the same or very similar content. Tracking parameters, trailing slashes, HTTP versus HTTPS and printer-friendly variants can all create duplicates that split your ranking signals. Pointing each duplicate at one canonical URL consolidates that authority onto a single preferred page.

Paste the full, preferred URL of your page and this tool outputs the exact <link rel="canonical"> tag to place inside the <head> of your HTML. It updates live and is ready to copy, so you can add correct canonical tags without remembering the syntax each time.

Frequently asked questions

Where does the canonical tag go?

Inside the <head> section of your page's HTML, ideally near the top. Only one canonical tag should exist per page.

Should the canonical URL be absolute?

Yes. Always use the full absolute URL including the protocol, such as https://example.com/page, rather than a relative path.

Can a page be its own canonical?

Yes, and it is common practice. A self-referencing canonical tag confirms to search engines that the current URL is the preferred version.

Add the Canonical Tag Generator to your site.

Ship it as a ranking page on your own domain in minutes.

Start free →