Canonical Tag Generator

Create a canonical link tag to avoid duplicate content.

Flowing through EveryFileTool…

Processing your file right in your browser

Working…

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

Useful information 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.
Canonical Tag Generator Online - EveryFileTool