Meta Tag Generator
Title, description, Open Graph and Twitter tags for a page, ready to paste.
The page
0 characters. A search result shows about the first 60.
0 characters. A search result shows about the first 155.
The one address you want search engines and shares to use for this page.
When the link is shared
1200 × 630 px is the size to aim for. A full address is required; a path like /share.png is not enough.
Browsers and crawlers
Some browsers, mainly on phones, tint their toolbar with it.
Roughly how the shared link looks
example.com
The title of the page
The description, cut off after a line or two.
Every app crops the image and trims the text a little differently.
The tags that do the work
A page can carry dozens of meta tags. These few do nearly all of the work.
| Tag | Read by | What it is for |
|---|---|---|
<title> | Search engines, browsers | The clickable line of a search result and the text on the browser tab. |
meta name="description" | Search engines | Your suggestion for the text under the title. Google uses it when it describes the page better than a passage from the page itself. |
link rel="canonical" | Search engines | The preferred address when one page can be reached under several URLs. Google treats it as a strong signal, not as an order. |
meta name="robots" | Search engines | noindex keeps the page out of the results, nofollow tells crawlers not to follow its links. |
og:title, og:description, og:image, og:url | Facebook, LinkedIn, WhatsApp, Slack and most other apps that preview links | The card that appears when someone shares the link. |
twitter:card | X | The layout of the card there: summary_large_image for a wide picture, summary for a small one beside the text. |
What is left out on purpose
The keywords tag. Google states that meta name="keywords" is not used by its search and has no effect on indexing or ranking at all, so none is written.
index, follow. That is the default behavior, so no robots tag is written unless you untick one of the two boxes.
Twitter copies of the Open Graph tags. X looks for twitter:title, twitter:description and twitter:image first and falls back to the og: versions when they are missing. Unless you want different text on X, one set is enough. The large image layout does have to be asked for with twitter:card, so that tag is always included.
The language. It belongs on the root element as <html lang="en">, not in the head, so it is shown separately under the output. Google works out the language from the text and says it does not rely on this attribute. Screen readers and translation features do, which is reason enough to set it.
The image
Open Graph defines og:image as a URL starting with http:// or https://. A relative path such as /images/share.png works in your own HTML and often fails here, because the app reading the tag is not on your site.
Aim for 1200 × 630 pixels, a ratio of 1.91:1. Facebook recommends at least that size for sharp results on high-resolution screens, shows images under 600 × 315 much smaller and does not accept anything under 200 × 200. X accepts JPG, PNG, WebP and GIF files under 5 MB, and no SVG. When you enter an image address, this page loads the picture from that address to show it in the preview and to report its real size. Nothing else you type is sent anywhere.
After pasting the tags
Characters that would break the markup, such as ", & and <, are escaped in the output, so text can be pasted as it is.
Sharing platforms remember what they read. If you change the tags of a page that was shared before, the old card can stay around for days. Facebook's Sharing Debugger and LinkedIn's Post Inspector fetch a page again on request.
The preview on this page is an approximation. Each platform crops the image and shortens the text by its own rules, and those change, so check an important page in the platform itself.
Just the sharing tags
More marketing
All tools