Canonical Url Generator
Create a canonical URL and rel="canonical" tag for your webpages with our free online generator. Choose your preferred URL and generate the HTML tag needed to help manage duplicate or similar content.
What Is a Canonical URL?
A canonical URL is the preferred version of a webpage that you want search engines to treat as the main version when multiple URLs contain identical or very similar content.
You can specify the preferred version using a canonical tag:
<link rel="canonical" href="https://example.com/product/">
This tells search engines which URL you consider the primary version.
How to Get a Canonical URL?
To get a canonical URL:
Identify the preferred version of your webpage.
Make sure it uses your chosen protocol, domain, URL structure, and trailing-slash format consistently.
Enter the preferred page URL into the canonical URL generator.
Generate the canonical HTML tag.
Add the generated rel="canonical" tag inside the <head> section of your webpage.
Common Canonical URL Examples
URL With Tracking Parameters
Preferred URL:
https://example.com/seo-tools/
Duplicate URL:
https://example.com/seo-tools/?utm_source=newsletter
Canonical tag:
<link rel="canonical" href="https://example.com/seo-tools/"/>