Canonical URL Helper

The same page is often reachable through several URLs — with and without www, with UTM parameters, with or without a trailing slash. Pick your preferred rules once and clean a single URL or a whole list, then copy the canonical link tags.

Runs entirely in your browser. Your input and files are not uploaded to any server.

How to use

  1. Paste one or more URLs, one per line.
  2. Choose your rules for protocol, www, trailing slash and query parameters.
  3. Copy the cleaned URLs or the generated <link rel="canonical"> tags.

Examples

Campaign link

http://Example.com/shoes/?utm_source=mail&size=42 → https://example.com/shoes/?size=42

Default document

https://example.com/blog/index.html → https://example.com/blog/

Privacy

Your files and text stay in your browser while you use this tool, and ads or anonymous visit statistics do not receive them. Only your favorites and recent tools are saved on your device. Privacy policy

Want proof? Check it with your browser’s Network tab: How to check that a tool does not upload your files

Frequently asked questions

Which version should be canonical?

Any consistent choice works. Use the version your internal links, sitemap and redirects already use.

Is a canonical tag a redirect?

No. It is a hint to search engines. If an old URL should never be used, a 301 redirect is stronger.

Related tools

All SEO Tools
URL Slug CheckerCheck URLs for readability problems: length, capitals, underscores, spaces, repeated hyphens, extensions and parameters.
XML Sitemap GeneratorPaste a list of URLs and get a valid, escaped sitemap.xml with optional last-modified dates.
Meta Tag GeneratorGenerate clean HTML meta tags for a page: title, description, canonical, robots, Open Graph and Twitter Card tags, with length guidance.
URL Encoder / DecoderPercent-encode text for URLs and query strings, decode encoded URLs, and break a full URL into its parts and query parameters.
Favicon GeneratorGenerate a complete favicon set from an image or a letter: favicon.ico, 16–512 px PNGs, Apple touch icon, web manifest and HTML tags, in one ZIP.
Search tools