Canonical URL Generator

Generate a clean rel=canonical link tag.

Canonical tag
<link rel="canonical" href="https://example.com/blog/my-post" />

Place this tag in the <head> of the page. It tells search engines which URL is the canonical (preferred) version, consolidating ranking signals and preventing duplicate-content issues from tracking parameters, http/https, or trailing-slash variants.

Free canonical URL generator. Enter a page URL to produce a rel=canonical link tag, with options to strip tracking parameters, force https and normalize trailing slashes. Runs in your browser.

How to use the Canonical URL Generator

  1. 01Paste the page URL.
  2. 02Choose whether to strip query parameters and force https.
  3. 03Set trailing-slash handling if needed.
  4. 04Copy the generated canonical tag into your <head>.

Frequently asked questions

What is a canonical URL for?

It tells search engines which version of a page is the preferred one, consolidating ranking signals and preventing duplicate-content problems from parameters, http/https or slash variants.

Should a page canonicalize to itself?

Yes — a self-referencing canonical is normal and recommended. It removes ambiguity when the same page is reachable via multiple URLs.