Meta Tags & On-Page · Runs in your browser · Free
Canonical Tag Generator
Normalise a URL and generate its rel="canonical" tag.
What this tool does
Cleans a URL by forcing HTTPS, setting your preferred host, stripping tracking parameters and fragments, and outputs the canonical link element.
Who should use it
Site owners fixing duplicate URLs created by campaigns, filters or inconsistent links.
How it works
The URL is parsed, the host lower-cased, the scheme and www rules applied, tracking query parameters removed, and the path adjusted for slash and index-file rules.
How to use it
- Enter or paste page url in the form.
- Adjust the options below the main box if you need to; the defaults suit most cases. Use "Load example" to see how input should look.
- Press the run button. Processing happens instantly in your browser.
- Review the result panel, then copy or download the output if the tool offers it. Use Reset to start over.
Practical example
https://www.example.com/page/?utm_source=x becomes https://example.com/page/ with the default www removal.
Understanding the results
The summary shows input and canonical URL. Use the same canonical on every duplicate variant.
Limitations
Canonical tags are hints; Google can select another canonical. Parameters that change content (page, category) should not be stripped.
Accuracy and report transparency
Results are computed in your browser from exactly what you enter. Deterministic steps (counting, parsing, encoding, validation) are verified by an automated test-suite with known answers. Where a method is a heuristic, the result panel says "estimated". No external data is used and nothing is invented.
Privacy
Your input never leaves your device for this tool. We count anonymous events (tool opened, run, copied) without storing what you typed. See the Privacy Policy.
Frequently asked questions
Should canonicals be self-referencing?
Yes, a self-referencing canonical on each indexable page is a common best practice.
Is my data sent to your server?
No. This tool runs entirely in your browser, so the text or files you enter stay on your device. We do record anonymous counts of how often each tool is opened or run (no input data) to see which tools are useful.
How accurate are the results?
Counting, parsing, encoding and validation steps are deterministic and covered by automated tests with known answers. Anything based on a heuristic is labelled "estimated" in the result panel.
Is this tool really free?
Yes. There is no account, limit or paid plan. The site is supported by advertising, which is disclosed on our Advertising Disclosure page.