1. Home
  2. Productivity tools
  3. Canonical & Pagination Tag Generator

Canonical & Pagination Tag Generator

For site owners with duplicate or parameter-heavy URLs who want one clear preferred address.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Canonical & Pagination Tag Generator

  1. Fill in the form, or press a sample to see a worked example.
  2. Read the result and any warnings about problems it found.
  3. Copy the output or download it as a file.

Features

  • Strips tracking parameters you list, including prefixes such as utm_*
  • Toggles for removing the fragment, index.html, the trailing slash and www
  • Sorts the remaining parameters into a stable order
  • Optional prev and next tags for a numbered page
  • Counts how many parameters were removed

Supported formats

Input

  • Typed address

You get

  • HTML tag

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Canonical & Pagination Tag Generator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • A canonical tag is a hint, not a command; search engines may choose another address.
  • It cannot see your site, so check that the canonical address returns 200 and points to the right page.

Guide

Choosing one preferred address and writing the canonical tag

One page can often be reached by several addresses. A product may open with or without www, with a trailing slash or without, with an index.html at the end, or with parameters added by a marketing email. To a person these are the same page. To a search engine they can be separate addresses with identical content, which spreads signals thinly and can make the wrong version the one that is listed. A canonical tag names the version you prefer. This tool cleans an address into that version and writes the tag.

What a canonical tag is

The tag is a line in the head of the page: a link element with rel="canonical" and the preferred address in href. It is a hint, not an order. Search engines weigh it with other signals such as redirects, internal links and the sitemap, and they can choose a different address if your signals disagree. The best use is a single, consistent preferred address for each page that returns a normal page and is listed in your sitemap.

How the address is cleaned

Paste the address as visitors reach it. The tool parses it, which lowercases the host and drops a default port, removes the parameters you list and sorts the rest. The strip box starts with utm_*, sessionid, fbclid and gclid; a star at the end matches every parameter that starts with that text. Toggles then remove the #fragment, a trailing index.html or index.php, the trailing slash and www. The result shows the clean address and how many parameters were removed.

Pagination tags

For a numbered list, enter the current page number and an address pattern with {n} where the number goes. The tool adds rel="prev" and rel="next" links for the neighbouring pages and omits prev on the first page. A warning explains that Google stopped using those tags in 2019, so each page should still carry its own self-referencing canonical. They remain useful for some other crawlers and browsers.

A worked example

The first sample is HTTPS://WWW.Shop.example:443/running-shoes/index.html?utm_source=news&color=red&sessionid=abc#reviews. After cleaning, the canonical address is https://www.shop.example/running-shoes/?color=red: the host is lowercased, the default port and index.html are gone, the utm_source and sessionid parameters are removed, which the result counts as 2, and the fragment is dropped. The second sample starts with https://shop.example/running-shoes?page=3 and page number 3. It keeps the address, adds prev pointing to ?page=2 and next pointing to ?page=4, and shows the 2019 warning.

Limits

The tool cannot see your site. It does not check that the clean address works, redirects properly or serves the same content, and it cannot know which parameters change the page. A parameter such as color may show a different product and deserve its own address, so remove only those that do not change the content. After publishing, open the page source and test the address in a browser.

Keeping signals consistent

A canonical tag works best when everything else agrees with it. Link to the same preferred address from your menus and articles, list it in the sitemap and make the other versions redirect to it. When these signals disagree, search engines may ignore the tag and pick the address they trust most.

Checked against the current version of the Canonical & Pagination Tag Generator on .

Frequently asked questions

Should paginated pages point their canonical at page one?

No. Each page of a list holds different items, so each should name itself as canonical. Pointing page 3 at page 1 tells search engines to ignore the items that exist only on page 3, which can drop them from the index.

Is it better to remove the trailing slash or keep it?

Neither is better in itself. What matters is choosing one form and using it everywhere, in canonicals, internal links and the sitemap, and making the other form redirect. The toggle only helps you apply your choice to the tag.

Does Google use rel prev and next?

Google stopped using prev and next as an indexing signal in 2019. Other search engines and browsers may still read them, so they are optional here.

Should the canonical point to itself?

Yes, a self-referencing canonical is a sound default. It tells search engines which version of the address you prefer, even when parameters are added.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.