Canonical Tag Generator

SEO Tools

Clean URLs → <link rel="canonical"> tags

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB
Embed this tool on your websiteFree
  1. Choose how tall the frame should be.
  2. Press Copy code.
  3. Paste it into your page, blog, WordPress or Notion HTML block.
Height

The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.

Similar tools you may like

History

All history →

Canonical Tag Generator — at a glance

Tell search engines which version of a page is the main one.

URLs
http://www.site.com/a/?utm_source=x
Generate Canonical Tags
Tags
<link rel="canonical" href="https://www.site.com/a" />

How to use it — step by step

Page URLs, one per line.

1

Paste your input

Paste or type your content into the big input box.

2

Choose options

Pick the mode and options that fit what you need.

3

Generate Canonical Tags

Press the button. The result is created instantly on your device.

4

Copy the result

Check the output and press Copy to use it anywhere.

Pro tips

Small things that make the result better.

✦Put the tag inside the <head> of the page.
✦Every page should point to its own clean URL, or to the preferred duplicate.
✦Keep one style for www and trailing slashes across the site.

Quick facts

Freeno signup, no limit
Instantresult in a moment
Privatenothing is uploaded
Any devicephone, tablet or PC

Frequently Asked Questions

What is a canonical tag?+

A tag that tells search engines the preferred URL when similar pages exist.

Should I remove all query strings?+

Only tracking ones. Keep parameters that change the content, such as ?id=5.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

More Free Tools