Canonical Tag Generator
One Page, One Real Address
Paste your addresses and this canonical tag generator cleans each one, then writes its tag instantly. Tracking parameters come off, the protocol lines up, and the counter shows how many needed the tidying.
- FreePrice
- 5Cleaning rules
- 3Output shapes
- NoneUploads
Canonical Tag Generator
Turn a list of addresses into clean, consistent canonical tags
- Tags
- 0
- Cleaned up
- 0
- Skipped
- 0
Ready. Paste your addresses and the tags appear on the right.
What a Canonical Tag Generator Saves You
One page can answer on eight addresses before anybody tries. Http or https, with www or without, with a trailing slash or none.
Add a tracking parameter and that number doubles again. So a search engine sees several pages where you only ever wrote one.
A canonical tag ends the argument. It names the address you want in results, therefore the rest of the copies point at that one.
Google weighs the tag heavily, yet it can still choose another URL. Google's page on consolidating duplicate URLs explains how Google picks between duplicates, so read it before you rely on the tag.
Google Reads It as Advice, Not a Command
Google treats your canonical as strong advice. Usually it agrees, though it can pick a different address when the rest of your signals disagree.
Your links carry weight in that decision. If every menu item points at the www version, the tag saying otherwise starts to look like a mistake.

So line the signals up. Sitemap, internal links, redirects and canonical should all name the same address, and then the engine simply follows.
Every Page Should Name Itself
At first, a canonical tag that points to its own page seems like a waste. Still, it is the single most useful tag on an ordinary page.

It settles the address before anybody links to a messy version of it. When a campaign parameter arrives, the tag already says which page that really is.

The tool writes these by default. Because it cleans first and tags afterwards, a scruffy export becomes a tidy set in one pass.
When To Point At Another Page
Cross-page canonicals suit near-identical content, such as a printable version or a product in two categories. They also work across domains when a partner republishes your article. Keep the two pages genuinely similar, though, because a canonical between unrelated pages gets quietly overruled.
Writing Canonical Tags With This Generator
Paste, clean, copy. Because the work runs as you type, a hundred addresses take about as long as one.
- 1
Paste your addresses
One per line, straight from an export or a crawl. You can open a .txt or .csv file instead.
- 2
Pick your cleaning rules
Force https, drop www, strip tracking, remove fragments. Each switch changes the output while you watch.
- 3
Settle the trailing slash
Always add it, always remove it, or leave every address alone. Sticking to one pattern counts for more than which pattern you pick.
- 4
Copy the tags out
Take the HTML tags, the header lines, or just the cleaned addresses. Then paste each tag into its page.
What This Canonical Tool Cleans
Writing one tag is easy. Deciding which of eight addresses deserves it, across four hundred pages, is the actual work.
Tracking parameters removed
Campaign tags create a new address every time somebody shares a link. So the cleaner strips them before the tag gets written.
Protocol and host settled
One switch forces https and another drops www. Therefore the whole list agrees, even when the export did not.
Fragments dropped
Anything after a hash never reaches your server anyway. As a result it has no business inside a canonical tag.
A tally of every change the tool made
The panel reports tags written, addresses tidied and lines skipped. Then you can tell a clean export from a messy one.
Three shapes of output
HTML tags suit pages, headers suit PDFs, and plain addresses suit a spreadsheet. Choose the format that suits what you do next.
Nothing leaves the tab
Your browser does the cleaning and the writing. Since nothing uploads, a list of unpublished pages stays yours.
Rules For Canonical Tags
A canonical tag is one line, yet it can undo a whole site when it points somewhere odd. These habits keep it honest.
- Write the full address. Protocol, host and path, every time. A relative canonical works in theory, though it breaks the moment a path changes.
- One tag per page. Two canonical tags cancel each other out. Since plugins and themes both like adding one, check the rendered source.
- Aim the tag at a page that returns a 200 response. The target must return 200 and stay indexable. Otherwise the signal contradicts itself and the engine falls back to guessing.
- Never canonical to the homepage. A whole site pointing at one address deletes it from results. So keep each canonical on the page it belongs to.
- Keep languages apart. Each translation is canonical to itself, not to the English version. Hreflang then handles the swap between them.
- Match your sitemap. List canonical addresses only. If the sitemap names one address and the tag names another, you have sent two answers.
Canonical Faults Worth Catching
These three cost real traffic, and all three survive for months because nothing visibly breaks.
Every page pointing home
One careless template change can do this to a whole site. So the rest of the pages quietly drop out of results.
Canonical plus noindex
A canonical points Google to another URL, whereas noindex asks it to index nothing at all. Rather than combine them, pick the one you meant.
Chains of canonicals
Page A names B, and B names C. However, engines rarely follow the second hop, so point straight at the final address.
Canonical Questions Answered
Will Google follow my canonical tag every single time?
No. It counts as a strong hint rather than a rule, so the engine weighs it against your links, your sitemap and your redirects. When all of those agree, it follows the tag almost every time.
Canonical or 301 redirect?
Pick a redirect whenever the old URL should vanish for visitors too. Use a canonical when both pages need to stay reachable, such as a product that lives in two categories. In short, redirects move people, canonicals only guide engines.
Does each page on my site need a canonical tag?
Yes, pointing at itself. That single line settles the address before a campaign parameter or a stray slash creates a copy you never wrote.
Can a canonical cross domains?
It can, and syndication is the classic case. If a partner republishes your article, their copy can point at yours. Both sides have to cooperate though, since only their template can carry that tag.
Does it stop crawling?
Not at all. Crawlers still fetch the duplicate, read the tag and then credit the target. Use robots.txt when you want to stop the fetching itself.
Is my list of addresses uploaded?
No. The cleaning and the tag writing both happen inside this tab. Because crawl exports often include staging and draft pages, that stays worth checking on any tool.
Tools That Work Alongside
Duplicate addresses touch several jobs at once. So these three finish what the tag starts.
Hreflang Tag Generator
Keep each language version canonical to itself.
Open tool →.htaccess Redirect Generator
Retire an old address properly with a 301 rule.
Open tool →XML Sitemap Generator
List the canonical addresses and nothing else.
Open tool →
Clean Your Addresses Now
Paste the list, pick your rules, then copy the tags. It costs nothing, it takes seconds, and your addresses stay in this tab.