UnQTools
SEO Runs in your browser

Canonical Tag Generator

Generate canonical link tags and check for common mistakes. URL normalization, pagination prev/next, hreflang integration, cross-domain warnings, batch processing. 100% client-side.

100% Private Works Offline Instant

About Canonical Tag Generator

Generate canonical link tags and check for common mistakes. URL normalization, pagination prev/next, hreflang integration, cross-domain warnings, batch processing. 100% client-side. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.

FAQ

What is a canonical tag?

The <link rel="canonical" href="..."> tag tells search engines which URL is the master version of a page. It's how you avoid duplicate content issues when the same content is reachable from multiple URLs (e.g. with/without trailing slash, query params, www/non-www).

What common mistakes does this tool check for?

Relative URLs (must be absolute), http vs https mismatch, www vs non-www inconsistency, trailing slash inconsistency, presence of query parameters that should be stripped, cross-domain canonical (which is valid but worth flagging).

What URL normalization does this tool do?

Lowercases the hostname, strips default ports (80 for http, 443 for https), removes duplicate slashes in the path (except after the protocol), and optionally strips common tracking query params (utm_*, gclid, fbclid).

What extra features does this tool have compared to others?

(1) URL normalization (lowercase host, strip default port, remove duplicate slashes). (2) Pagination canonical (prev/next link tags). (3) Hreflang integration hint. (4) Cross-domain canonical warning. (5) Absolute URL check. (6) Trailing slash consistency check. (7) www vs non-www check. (8) History (localStorage, last 20). (9) Shareable URL — encode the form in the fragment. (10) Batch processing — paste multiple URLs.

Is my data sent anywhere?

No. Canonical tag generation is pure string/URL manipulation in your browser. History is stored in localStorage on this device only.

Search tools and actions

Search across all 170 tools, categories, and quick actions.