1001Ferramentas
🎯SEO

Canonical URL Generator

Generate the <link rel="canonical"> tag with the preferred URL. Helps avoid duplicate content and consolidate page authority on Google. Everything in your browser.

One URL for Google to index

The same page usually answers at several addresses: with and without www, with and without a trailing slash, with a fragment, over http and https. Google treats each variation as a candidate page, and ranking signals get split between them. The canonical tag fixes that by naming the preferred version. Paste your URL here, tick the normalizations that make sense for your site and copy the ready-made link rel=canonical tag.

The tool uses the browser's own URL parser and applies four optional normalizations: force https, strip www, drop the trailing slash (except on the site root) and discard the fragment after the hash sign. One deliberate detail: the query string is left alone. A parameter like page=2 changes the content and must stay in the canonical URL; tracking parameters such as utm_source are worth stripping first with this site's UTM cleaner.

Put the tag in the head of every variation of the page, including the preferred one pointing to itself; that self-canonical is the recommended default. Check that the chosen URL returns a 200 and matches what your internal links use, otherwise you send mixed signals. And remember canonical is a hint, not a directive: Google can pick a different canonical if other signals disagree. Everything runs in your browser; the URL you type is never sent to any server.

Frequently asked questions

Do I need the tag on the preferred page itself?
Yes. A self-canonical, the page pointing at itself, is standard practice and keeps parameter-laden variations from getting indexed instead.
Does canonical work across different domains?
It does: Google accepts cross-domain canonicals, which helps when the same article is republished elsewhere. It remains a suggestion rather than a guarantee, though.
Does the tool strip parameters like utm_source?
No. The query string is kept on purpose, since parameters can change the content. To remove trackers, clean the URL first with the UTM Parameters Cleaner.

Related Tools