Skip to content
Aback Launch

Free Canonical Tag Generator

Turn any page address into a clean canonical URL, then copy the rel=canonical link tag or the HTTP Link header.

  • Free, no sign-up
  • Runs in your browser; nothing is uploaded
  • Updated Nov 19, 2026

Host

Trailing slash

Canonical URL

Paste a page URL to get its canonical.

HTML for your head

Paste a page URL to get its canonical.

HTTP Link header

Paste a page URL to get its canonical.

Launching soon? Get a launch page with the SEO done for you, free.Launch on Aback Launch

How to use the canonical tag generator

  1. 1

    Paste the page URL

    Tracking parameters and all, as people actually reach it.

  2. 2

    Set your URL rules

    https, www or not, trailing slash, lowercase path, and the parameters to keep.

  3. 3

    Copy the tag

    Put the link tag in the head, or send the Link header for PDFs and other files.

What a canonical URL is

When the same page loads at several addresses, the canonical tag tells search engines which one to index and credit. Google treats it as a strong hint, not a rule. Most pages should name their own clean URL, which is called a self-referencing canonical.

Use an absolute URL that starts with https://. Google accepts relative paths, but recommends absolute ones because they leave no room for mistakes.

Which parameters to keep

Strip parameters that do not change the content: utm tags, click IDs like gclid and fbclid, session IDs and sort orders. Keep the ones that do, such as the page number of a paginated list. Each page in a series should name itself as canonical, not page 1.

Keep your signals consistent

Pick one form, with or without www and with or without a trailing slash, and use it everywhere: the canonical tag, internal links, the sitemap and your redirects. Redirect the other forms to it with a 301.

Questions

Should the canonical point to the page itself?

Yes, in most cases. A self-referencing canonical with the clean URL is the safe default. Only true duplicates point somewhere else.

Should I use the tag or the HTTP header?

The link tag for HTML pages, and the Link header for files with no head, such as PDFs. Do not send different values in both.

Does www or non-www matter for ranking?

No. What matters is that you pick one, use it in your canonicals and redirect the other to it.

Is a canonical tag the same as a redirect?

No. Visitors still see the duplicate URL. Use a 301 redirect when the old address should not be used at all.

Guides for this

All free tools

Launch your startup on Aback Launch

Get a launch page that search engines and AI assistants can read, a place in the weekly launch list, and a review by a real person. Free to join.