Skip to content
SEO ToolsInstant

Canonical URL Generator

Generate canonical link tags to prevent duplicate content issues.

Examples

See what this tool can do.

Consolidate duplicates

Point tracking-parameter URLs back to the clean canonical.

Set a self-canonical

Add a canonical to a page that points to itself to prevent duplication.

Tips & tricks

Get the most out of it.

  • 1Use absolute URLs (with https://) in canonical tags.
  • 2Make canonical, sitemap and internal links agree on one URL.
  • 3One canonical per page — conflicting signals confuse crawlers.

About Canonical URL Generator

What this tool does

Canonical URL Generator builds the canonical link tag that tells search engines which version of a page is the primary one.

How to use it

  • Enter your base URL and the page path.
  • Generate the canonical link tag.
  • Paste it into the page's <head>.

How it works

Your base URL and path are combined into a normalised absolute URL and wrapped in a <link rel="canonical"> tag.

Important considerations

  • The canonical is a strong hint, not an absolute command — keep it consistent with your sitemap and internal links.

Privacy

This tool runs entirely in your browser. The text, HTML or settings you enter are processed locally and never uploaded to a server.

Related SEO tools

Frequently asked questions

When the same or very similar content is reachable at multiple URLs — it tells search engines which one to index.

Related tools