Canonical Tag Generator
Create the right canonical link tag, with a cleaned URL, in one step.
How it works
- Paste the page URL.
- Choose how to clean it: https, www, slash and parameters.
- Copy the canonical tag into the head of the page.
About this tool
A canonical tag tells search engines which version of a page is the main one. It helps when the same content can be reached by several addresses, such as with and without www, with tracking parameters or with a trailing slash.
This tool cleans the URL using the options you choose and gives you the HTML tag and the matching HTTP header. Always use a full address, keep the choice the same across your site and point the tag to a page that returns a normal 200 status.
Questions
What is a canonical URL?
It is the preferred address of a page. Search engines use it to decide which duplicate to index.
Should every page have a canonical tag?
It is a good habit. A self-referencing canonical on each page prevents problems from URL variations.
Should I remove UTM parameters?
Yes. Tracking parameters create duplicate addresses, so the canonical should point to the clean URL.