Meta Tag Generator
Fill four fields and copy a block of head meta tags.
Generate a rel=canonical link tag from a URL. Paste the address you want treated as the master version of a page, then copy the tag into your page's 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, because Google ignores relative paths. The tag builds live as you type, 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. Formatting that one line correctly is all the tool does.
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, which 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 is also not a redirect: visitors still load whatever URL they clicked.
Do not use it to canonicalise 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.
Fill four fields and copy a block of head meta tags.
Top words in your content and the share each one takes.
Add utm_source, utm_medium and utm_campaign to any URL.
Write the og: tags that control link previews on social apps.
See roughly how a title and description could look in Google.
schema.org JSON-LD for articles, products, FAQs and more.
It's free, needs no account, and nothing you enter is sent to a server.