📈

Open Graph Generator

Generate social-sharing metadata

0
0

How your link card renders — four platforms

Facebook / LinkedIn

🖼️

yoursite.com

—

—

X (Twitter) — large card

🖼️

—

—

🔗 yoursite.com

WhatsApp

🖼️

—

—

yoursite.com

Discord

yoursite.com

—

—

🖼️

Generated meta tags

Paste inside <head>. Facebook re-scrapes on share; use its Sharing Debugger to refresh a cached card.

Open Graph facts that matter ⌄
  • Platforms cache aggressively. After fixing tags, paste your URL into Facebook's Sharing Debugger or X's Card Validator to force a re-scrape — old cards can persist for days otherwise.
  • 1200×630 (1.91:1) is the safe zone. Facebook crops anything else; square images get sliced top and bottom. Keep critical content away from the edges.
  • X falls back to og:* when twitter:* tags are missing — you only need the overrides when you want different wording or the site handle attribution.
  • og:url must match the canonical URL — platforms use it for engagement aggregation (all shares of the same URL count together).
  • The first image is the share image. If your page has og:image and inline images, platforms use og:image — but multiple og:image tags let users pick on some clients.

About this tool

This free Open Graph Generator builds the tags that decide what your link looks like when someone shares it — on Facebook, X, LinkedIn, WhatsApp, Discord, Slack, iMessage and Telegram. Fill in the title, description, URL and image; pick a card type; and two things happen live: the complete Open Graph and Twitter Card markup generates below (copy-paste ready, with Twitter fallbacks included), and a **social-card preview** shows exactly how the link will render as a rich card in a feed — image on top, title, description, domain — before you've published anything. A dedicated WhatsApp preview reflects that platform's tighter image-crop and text limits, because WhatsApp is the world's biggest sharing network and renders cards differently from every other scraper. The Open Graph protocol is worth understanding in one paragraph, because it explains why these tags matter so disproportionately: created at Facebook in 2010, og: markup became the lingua franca of link previews — nearly every social platform, messaging app and chat tool scrapes these tags to build the card a shared link expands into. Without them, a shared link renders as a bare URL: no image, no title, no description — a visually dead row of text in a feed built to stop thumbs. With them, the link becomes a card with your image, your words, your branding. The click-through difference is not subtle — links with images dramatically outperform bare links on every platform — and og:image is the single highest-leverage tag in the set: it's what the card is, visually. The tags cost nothing to serve and nothing to maintain (they're static metadata), yet most sites ship them incomplete: missing og:image, relative instead of absolute URLs (which scrapers can't resolve), images at the wrong ratio, or no Twitter fallbacks. This generator's form-driven approach makes each of those failure modes impossible by default — absolute URLs enforced, the canonical 1200×630 ratio stated, card types translated into plain language. The workflows this tool fits span launches, publishing and campaign work: the product launcher preparing a launch page whose share card is ready before the first post goes out — because the first hour of sharing is when a broken card costs the most; the blogger generating OG tags for posts whose CMS handles everything except social images; the campaign manager A/B-testing card images and titles across channels, generating each variant in seconds; the developer scaffolding og: markup for a new page or fixing the 'looks broken on LinkedIn' ticket; the newsletter writer ensuring archived links preview properly when readers share them; and the agency standardizing card markup across client sites with one repeatable form. Once generated and deployed, the platform debuggers (Facebook Sharing Debugger, LinkedIn Post Inspector, X Card Validator) force a re-scrape of cached pages — the last mile of getting a corrected card to actually appear. Everything runs locally in your browser. Every tag is generated by client-side JavaScript on your device — the text and image URLs you enter never reach a server, are never logged and never stored. Disconnect from the internet after the page loads and the generator keeps working. Close the tab and nothing remains anywhere.

Frequently asked questions

What are Open Graph tags and why do I need them?+

Open Graph tags are metadata in your page's <head> — og:title, og:description, og:image, og:url — that social platforms and messaging apps scrape to build the card a shared link expands into. Without them, shared links render as bare URLs: no image, no title, just text in feeds designed around visuals. With them, the link becomes a rich card — image, headline, description, domain — which dramatically improves click-through (links with images consistently outperform bare links). They're also what iMessage, WhatsApp, Slack and Discord read, making og: markup the single standard that covers essentially the entire sharing internet.

What size should an Open Graph image be?+

1200 × 630 pixels — a 1.91:1 ratio that renders correctly across Facebook, LinkedIn and X. Keep the file under 1 MB (Facebook's scraper times out on heavy images and may skip the card entirely), always use an absolute URL (https://yoursite.com/og-image.jpg — relative paths break because scrapers have no page context to resolve them against), and keep text and logos centered: platforms crop edges differently on different devices and apps. WhatsApp crops tighter than Facebook; X renders large-image cards differently from summary cards. The safe zone is the center 1200×900... rather, the center of the image — design for it and every platform renders acceptably.

Do I need Twitter Card tags if I have Open Graph tags?+

Strictly, no — X's scraper reads Open Graph tags as fallbacks, so your links will render cards with og: markup alone. But twitter:card adds two things og: can't: the choice between summary (small thumbnail) and summary_large_image (full-width banner) card types, and attribution via twitter:site. The large-image format in particular changes how a link occupies feed real estate — bigger, more prominent, measurably better for launches and content. That's why the generator emits both families: OG tags carry the load everywhere, Twitter tags let you opt into X's best format. Maintenance cost is zero once they're in place.

Why does my old image still show after I've updated it?+

Platform scrapers cache link previews aggressively — Facebook and LinkedIn can serve the old card for days or weeks after your page has changed. The fix is to force a re-scrape with each platform's debugger: the Facebook Sharing Debugger (developers.facebook.com/tools/debug), LinkedIn's Post Inspector, or X's Card Validator — paste your URL, and the tool fetches fresh, showing exactly what the scraper currently sees and often a 'refetch' or 'scrape again' button. WhatsApp's cache follows Facebook's. This is the most common 'I updated my OG tags but nothing changed' resolution — the tags were right all along; the cache just needed telling.

What's the difference between summary and summary_large_image cards?+

They're the two X (Twitter) card types, and the difference is visual weight. summary renders as a compact row — small square thumbnail beside the title and description — appropriate for links, references and everyday shares. summary_large_image renders the image full-width above the title — a banner-style card that occupies far more feed space, standard for articles, launches and anything where the image does the selling. Most content publishers default to large-image for posts and summary for utility links. og:image feeds both; the twitter:card tag alone decides which layout X renders — one tag, meaningful difference.

Do Open Graph tags affect SEO and search rankings?+

Not directly — og: tags aren't a Google ranking factor; Google reads title and meta description for its own snippets, and its crawlers largely ignore Open Graph. The value is the sharing layer: social cards drive clicks, and clicks from shares drive traffic and engagement that search engines do notice over time. There's also a practical overlap worth knowing: some search features and tools use og:image as a page-image fallback, and social-platform scrapers index nothing else about your page. So: write og:title to persuade a scroller (slightly punchier than your SEO title is fine), and let the SEO tags do their own job — the two pairs can differ.

Where do I paste the generated Open Graph tags?+

Inside the <head> section of your HTML, alongside your other meta tags — after the title and description is conventional. Static sites: the HTML file's head. WordPress: an SEO plugin's per-page social fields or a header-code injection point (never hardcode into theme files that updates overwrite). Astro, Next.js, and other frameworks: the head component or the framework's metadata API. The generated block is self-contained and commented, so it's a paste job anywhere. After deploying, run the URL through the Facebook Sharing Debugger — it shows exactly what the scraper sees and forces the cache refresh that makes your new card appear.

Is anything I enter into this generator sent to a server?+

No — nothing leaves your device. Every tag and preview is generated entirely in your browser with client-side JavaScript: the titles, descriptions and image URLs you enter are never transmitted to any server, never logged and never stored. You can verify it directly: after the page loads, disconnect from the internet and the generator keeps working, which is only possible because no network is involved. Close or refresh the tab and everything is gone — no history kept on this site or anywhere else.