Canonical Tag Generator
100% PrivateSEO ToolsGenerate the canonical link tag that tells search engines the main version of a page.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
Enter an absolute URL to generate the tag.
- 1Enter the full, absolute URL of the preferred version of the page.
- 2Choose whether the tag is self-referencing (the URL is this page's own address).
- 3Copy the generated tag into the <head> of the page, and of every duplicate version.
A shop shows the same kettle at "/kettle" and "/kettle?color=black". Enter the canonical URL "https://example.com/kettle" and the tool produces: <link rel="canonical" href="https://example.com/kettle">. Placed on both versions, it tells search engines to credit the clean URL.
- The URL must be absolute and include the protocol; relative canonicals are unreliable and this tool rejects them.
- Canonical tags are strong hints, not commands. Search engines can choose a different canonical if signals conflict, for example when internal links point elsewhere.
- Every page should have exactly one canonical tag. Multiple conflicting tags are usually ignored.
A self-referencing canonical points a page at its own URL. It is good practice: it confirms the preferred address even when parameters or tracking codes get added to links.
About this tool
The Canonical Tag Generator produces the link rel="canonical" element for a page: the tag that tells search engines which URL is the preferred version when similar content exists at several addresses. You enter the absolute canonical URL and get a ready-to-paste tag for the page head.
Related tools
Part of Ovatly's free tools in SEO Tools.