What is a canonical URL?
A canonical URL is the preferred URL that search engines should treat as the main version of a page when duplicate or similar URL versions exist.
Quick Marketing Tools
Generate clean canonical URLs, canonical HTML tags, HTTP header versions, and SEO validation checks locally in your browser.
Generate canonical URLs, HTML tags, HTTP header versions, and SEO validation checks for clean indexing signals.
A Canonical URL Generator helps create the preferred URL that should represent a page in search engines. Canonical tags are useful when the same content can appear through multiple URL versions, such as http and https, www and non-www, query parameters, uppercase paths, tracking URLs, or duplicate index files. This tool normalizes a source URL into a clean canonical URL and generates copy-ready HTML and developer outputs.
Enter a website URL and page URL, or paste a full page URL directly into the page field. Choose whether to force HTTPS, force www or non-www, remove query parameters, remove fragments, lowercase the path, normalize duplicate slashes, remove index pages, and apply a trailing slash rule. Review the live canonical URL, HTML tag, HTTP header version, validator checks, and insight cards before copying the output into your page template or CMS.
Suppose a campaign URL is http://www.example.com/Blog/SEO-Checklist/index.html?utm_source=newsletter&utm_medium=email#intro. With HTTPS, lowercase paths, query removal, fragment removal, index-page cleanup, and trailing slash enabled, the canonical output becomes https://www.example.com/blog/seo-checklist/. The generated HTML tag can then be placed once in the head of the page.
Browse more SEO Tools tools or open the related options below.
A canonical URL is the preferred URL that search engines should treat as the main version of a page when duplicate or similar URL versions exist.
Place one canonical link element inside the HTML head of the page, or use an HTTP Link header for file types or advanced server workflows.
Usually no. Tracking parameters are normally removed because they create duplicate URL variants that should point back to the clean page.
Yes when the page is available over HTTPS. Canonicals should usually point to the secure version that users and search engines should prefer.