Meta Tag Generator
Meta Tag Generator that outputs clean, copy-ready code for better rankings.
Generate a rel=canonical link tag from a URL — paste the address you want treated as the master version of a page, and copy the tag into your head.
Your browser is preparing the tool. It runs 100% locally.
Paste the URL you want search engines to treat as the canonical (master) version of a page, and the tool outputs a single rel=canonical link tag to drop into the head. Canonical tags consolidate duplicate or near-duplicate URLs onto one address, so ranking signals are not split. Use the full absolute URL — relative paths are ignored by Google. It builds live and runs entirely in your browser.
Enter the address that should be the single indexed version of a page, and copy the generated link rel=canonical tag into the head. It is one tag, escaped so the markup stays valid — the tool's whole job is to format that one line correctly.
Canonical tags matter when the same content is reachable at several URLs — with and without a trailing slash, with tracking parameters, http versus https, or printer-friendly variants. The canonical points all of them at one address so Google folds them together instead of treating them as competing duplicates.
The tool wraps your URL in a link element with rel set to canonical and href set to the address you typed, escaping any special characters. That tag tells crawlers: of all the URLs showing this content, this is the one to index and credit.
For it to work, the URL should be absolute — the full address including https and the domain — because Google ignores a relative canonical. Most pages should also carry a self-referencing canonical (pointing at their own URL), which removes any ambiguity about the preferred version.
link rel=canonical href=your-absolute-URLOne tag, placed in the head. Use the full absolute URL (with https and the domain); a relative path is ignored by Google.
| Input | the canonical URL |
|---|---|
| Output | one link rel=canonical tag |
| Placement | in the head (or sent as an HTTP Link header) |
| URL form | absolute (https and domain) |
| Escaping | special characters become entities |
| Where it runs | In your browser — nothing uploaded |
It does not validate the URL. Make sure it is the full absolute address (https and your domain) and that it actually resolves — a canonical pointing at a broken or redirecting URL can hide the page you meant to rank.
One canonical per page. Two conflicting canonical tags, or a canonical that fights your sitemap or internal links, confuses Google — it may pick a different URL than you intended. Keep your signals consistent.
A canonical is a strong hint, not a command. Google usually honours it but can choose a different canonical if your other signals disagree. It also is not a redirect — visitors still load whatever URL they clicked.
Do not use it to canonicalise genuinely different pages onto one. That can drop the others from the index. Use it only for duplicates or close variants of the same content.
This tool makes the tag; it does not add it to your pages. Paste it into each page's head, or serve it via the Link HTTP header for non-HTML files such as PDFs.
Point /page and /page/?utm=... at one clean URL so they do not compete.
Give each page a canonical to its own URL as a clear default.
When the same article lives on several URLs, name the original as canonical.
Consolidate protocol and subdomain variants onto the preferred address.
Want visitors actually moved to one URL? Use a 301 redirect. Want a page kept out of search? Use a robots noindex tag, not a canonical.
Formats one rel=canonical tag from your URL; it reminds you to use an absolute, self-referencing address and is clear that a canonical is a crawler hint, not a redirect.
Meta Tag Generator that outputs clean, copy-ready code for better rankings.
Keyword Density Checker online — accurate, standards-compliant and free for SEO work.
UTM Link Builder online — accurate, standards-compliant and free for SEO work.
Open Graph Generator that outputs clean, copy-ready code for better rankings.
SERP Snippet Preview online — accurate, standards-compliant and free for SEO work.
Schema Markup Generator online — accurate, standards-compliant and free for SEO work.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.