Crawlsonar

Open Graph Generator

Build the og: and twitter: meta tags that give your links rich previews on Facebook, X, LinkedIn, Slack and WhatsApp.

<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">

Paste into your page’s <head>. Use a 1200×630 image for large cards.

Why Open Graph tags drive clicks

When your link is shared on X, Facebook, LinkedIn, Slack, Discord or iMessage, those platforms build a preview card from your Open Graph meta tags. A rich card with an image, headline and description gets far more clicks than a bare grey link — a missing og:imagealone can halve your click-through. This generator produces the full, correct tag set; here’s what each field does.

Every field, explained

  • og:title — the card’s headline. Keep it under ~60 characters so it isn’t truncated.
  • og:description — the snippet under the title. Aim for under ~200 characters.
  • og:image — the single biggest driver of shares. Size it 1200×630 (1.91:1), under ~5 MB, at an absolute HTTPS URL (relative URLs break on many scrapers).
  • og:url — the canonical URL of the page. Always absolute.
  • og:site_name — your brand name, shown above the card on some platforms.
  • og:typewebsite for most pages, article for blog posts, product for products. Platforms use it to pick the card layout.
  • twitter:cardsummary_large_image gives X a big image; summary gives a small thumbnail. X falls back to your og: tags for the rest.
  • twitter:site — your brand’s @handle, attributed on the X card.

Common mistakes

  • Relative image URLs — many scrapers require absolute https:// URLs.
  • Client-rendered tags — most preview bots don’t run JavaScript; server-render your OG tags.
  • Stale caches — platforms cache previews. After changing tags, force a re-scrape with the platform’s debugger (Facebook Sharing Debugger, LinkedIn Post Inspector).

Related tools & guides

Frequently asked questions

What size should the og:image be?

1200x630 pixels, under about 5MB, served over HTTPS at an absolute URL.

Do I need Twitter Card tags too?

Open Graph covers most platforms including X. Add twitter:card=summary_large_image for the big-image layout on X.