Meta Tag Generator
Fill in a page's title, description and share image, see how it looks in search and as a share card, and copy clean meta and Open Graph tags.
Last checked
Page details
More tags: robots, viewport, language, image size, article dates
Search result preview
Fluid type with CSS clamp(): a practical guide
How to make font sizes grow with the screen using CSS clamp(), with the maths, a calculator and the accessibility checks to run before you ship.
An approximation: widths are measured in your browser with canvas measureText in Arial. Google publishes no pixel limit (titles are cut "to fit the device width"); ~600 px and ~920 px are common rules of thumb, and Google sometimes rewrites titles and snippets.
Share card previews
Meta recommends 1200 × 630 px (about 1.91:1); at least 600 × 315 px for a large image, 200 × 200 px minimum, up to 8 MB. Read the official guidance.
Approximations: each app changes its layout over time and may crop or shorten differently. Loading the image fetches it from its own server; nothing else leaves this page.
Tags for your head
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Fluid type with CSS clamp(): a practical guide</title><meta name="description" content="How to make font sizes grow with the screen using CSS clamp(), with the maths, a calculator and the accessibility checks to run before you ship."><link rel="canonical" href="https://example.com/blog/fluid-type/"> <!-- Open Graph --><meta property="og:type" content="article"><meta property="og:title" content="Fluid type with CSS clamp(): a practical guide"><meta property="og:description" content="How to make font sizes grow with the screen using CSS clamp(), with the maths, a calculator and the accessibility checks to run before you ship."><meta property="og:url" content="https://example.com/blog/fluid-type/"><meta property="og:site_name" content="Example Studio"><meta property="og:image" content="https://example.com/og/fluid-type.png"><meta property="og:image:type" content="image/png"><meta property="og:image:alt" content="A heading growing from phone to desktop size"> <!-- X (Twitter) --><meta name="twitter:card" content="summary_large_image">
- OKTitle: 46 characters.
- OKDescription: 144 characters.
- OKPage URL is absolute.
- OKImage URL is absolute.
- TipFor a large card, make the image at least 1200 by 630 px, close to 1.91:1, as Facebook recommends. Keep the subject away from the edges in case a platform crops it.
Check existing tags
How to use it
- Fill in the title, description, page URL and share image URL. Counters show the length as you type.
- Look at the Google preview and its pixel widths, switch between the six share cards, and read the checks under the code. Load the image to see your picture in each card.
- Copy the tags into the head of the page. To check a live page, open View Source, copy the HTML and paste it into the box at the bottom: the report lists what is missing or repeated.
What it checks and why
Two sets of tags decide how a link looks outside your site. The title element and the meta description feed search results. Open Graph tags (og:title, og:type, og:image, og:url and others) feed the cards that Facebook, LinkedIn, Slack, Discord and messaging apps draw when someone shares the link. The Open Graph protocol lists title, type, image and url as the four required properties.
X reads its own twitter: tags first and falls back to the matching Open Graph tag when one is missing, so in most cases twitter:card plus your og: tags are enough. Turn on the repeat option if you want the twitter: tags written out anyway.
The Google preview measures your text in the browser with canvas measureText at 20 px Arial for the title and 14 px Arial for the description, then cuts it with an ellipsis. Google publishes no pixel limit: its docs only say title links are truncated as needed to fit the device width. The ~600 px title and ~920 px description budgets are common third-party rules of thumb, and Google can rewrite either text.
Image rules differ by app. Meta recommends 1200 by 630 pixels (about 1.91:1) for Facebook, LinkedIn asks for at least 1200 by 627 at 1.91:1, and X uses 2:1 for a large image card and 1:1 for a summary card. Slack documents that it reads Open Graph and X card tags but gives no image size. Discord and WhatsApp publish no rules, so their previews follow what the apps show today and are the roughest of the six.
Specs and sources
- The Open Graph protocol
- X Developer Platform: Cards markup
- Google Search Central: Influencing title links
- Google Search Central: Robots meta tag specifications
- Google Search Central: Control your snippets
- Meta for Developers: Images in link shares
- LinkedIn Help: Share images and link previews
- Slack: Unfurling links in messages
- MDN: CanvasRenderingContext2D.measureText()
Limits
- It cannot fetch a live URL: that would need a server. Paste the page's HTML instead.
- The previews show the shape of a result and a card, not each platform's exact styling, and platforms cache cards, so a changed tag can take time to show.
- Pixel widths depend on the fonts on your device; without Arial the browser measures a fallback font. Google's real cut-off is not published and changes with screen size.
- Discord and WhatsApp document nothing about link previews, so those two cards are the least certain.
- The share image preview loads the picture from its own server when you ask for it. Everything else stays on your device.
Questions
- How do I stop a page from showing in Google?
- Add a robots meta tag with noindex (tick noindex under More tags). The page must stay crawlable: if robots.txt blocks it, Google never sees the tag. Without a robots tag, indexing and following links is the default.
- Do meta keywords still matter?
- Not for Google. Google said in 2009 that its web search ignores the keywords meta tag for ranking, so the generator does not write one.
- What meta tags does a page need?
- A title, a meta description, a canonical link, and the Open Graph tags og:title, og:type, og:image and og:url, plus twitter:card for X. The generator writes all of them from one form.
- How long should a meta description be?
- Google sets no fixed limit and trims snippets to fit the screen. A common guide is 150 to 160 characters, with the main point in the first sentence.
- What size should an Open Graph image be?
- Facebook recommends 1200 by 630 pixels, close to a 1.91:1 ratio, and at least 600 by 315 for a large link preview; LinkedIn asks for at least 1200 by 627. One 1200 by 630 image works for both. X crops a large card to 2:1, so keep the subject away from the top and bottom edges. Use an absolute https URL.
- How many pixels can a Google title be?
- Google does not say. Its docs state that title links are truncated to fit the device width. About 600 px at 20 px Arial on desktop is a widely used rule of thumb, and that is what the preview measures against.
- Do I need Twitter card tags if I have Open Graph?
- You need twitter:card to choose the card type. For title, description and image, X falls back to the og: tags when the twitter: ones are missing.
- Why is my share preview not updating?
- Platforms cache a link's tags the first time it is shared. Use the platform's own debugger, such as the Facebook Sharing Debugger or LinkedIn Post Inspector, to fetch the page again.