"OG" is short for Open Graph — the metadata protocol Facebook open-sourced in 2010 and that every major social platform now uses to render URL previews. When someone shares a link in Slack, Discord, LinkedIn, iMessage, Telegram, or X.com, the messenger scrapes the page's
og:*(andtwitter:*) tags to compose the preview box. This OG tag generator emits a production-ready block of these tags from a single form — including type-specific variants (article, product, profile) and full character/meter validation.
Table of Contents
- What This OG Tag Generator Emits
- Quick Start: Three Fields, One Click
- og:type Variants and Their Extra Properties
- Twitter Card Pairing
- Troubleshooting Facebook / Slack / X Previews
- Frequently Asked Questions
What This OG Tag Generator Emits
Every click of Generate produces a copy-paste-ready block of HTML meta tags. The output blends:
og:title,og:description,og:url,og:image— the four mandatory tags for any preview to render.og:type—websiteby default, switchable toarticle,product,profile,video.other,music.song.og:image:*extensions — image width, height, alt text.og:locale,og:site_name— locale hints (e.g.en_US) and branding.twitter:*cards — paired mirror tags so X.com renders the same preview as Facebook/Slack.
<meta property="og:type" content="article" />
<meta property="og:title" content="How OG Tags Drive Click-Throughs" />
<meta property="og:description" content="..." />
<meta property="og:url" content="https://mytoolslist.com/..." />
<meta property="og:image" content="https://mytoolslist.com/og/..." />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="MyToolsList" />
<meta property="article:published_time" content="2025-07-16T08:00:00Z" />
<meta property="article:author" content="..." />
<meta property="article:section" content="Marketing" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@mytoolslist" />
The block is ready to drop into the <head> of any HTML page. No server round-trip is required.
Quick Start: Three Fields, One Click
The minimum preview requires:
- Title — 40–60 characters is the sweet spot (the meter turns yellow >50, red >60).
- Description — 100–160 characters (yellow >150, red >160).
- Image URL — a publicly accessible image, ideally 1200 × 630 px PNG/JPG.
Click Generate, then paste the resulting <meta> block inside <head>. The image URL must return 200 OK when fetched by facebookexternalhit (Facebook), Twitterbot (X), and Slackbot (Slack). If your CDN blocks these user-agents, your preview falls back to a plain link.
Tip: Run the URL through Facebook Sharing Debugger and Twitter Card Validator after publishing — both will show exactly how the preview renders, with warnings for missing/invalid tags.
og:type Variants and Their Extra Properties
When you switch the og:type dropdown, the generator surfaces the type-specific fields:
website — default
No extensions. Use for tools, homepages, landing pages.
article — blog post / news
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2025-07-16T08:00:00Z" />
<meta property="article:modified_time" content="2025-07-16T12:30:00Z" />
<meta property="article:author" content="Marie Curie" />
<meta property="article:section" content="Physics" />
<meta property="article:tag" content="radioactivity" />
Multiple <meta property="article:tag"> lines are valid (one per tag).
product — e-commerce SKU
<meta property="og:type" content="product" />
<meta property="product:price:amount" content="19.99" />
<meta property="product:price:currency" content="USD" />
<meta property="product:availability" content="in stock" />
<meta property="product:brand" content="MyToolsList" />
Facebook displays a price-stripped preview when these are present.
profile — people
For team pages and author pages:
<meta property="og:type" content="profile" />
<meta property="profile:first_name" content="Marie" />
<meta property="profile:last_name" content="Curie" />
<meta property="profile:username" content="mariecurie" />
video.other / music.song
Vertical-specific tags (video:actor, music:album) are emitted only when those types are selected.
Twitter Card Pairing
X.com renders its own preview cards using twitter:* tags. The generator emits a paired set automatically:
twitter:card |
Visual |
|---|---|
summary |
Small thumbnail, side-by-side text |
summary_large_image |
Full-width image above text (recommended) |
app |
App install card |
player |
Inline video |
The default summary_large_image consistently outperforms summary — the full-width image preview gets roughly 3× click-through on X.com.
Troubleshooting Facebook / Slack / X Previews
When a preview renders wrong, run through this checklist:
- Image returns 404? Open it in a private window. If it 404s, Facebook/Slack/X all show a blank.
- Image blocked by CDN? Test the URL with
curl -I -A "facebookexternalhit/1.1" https://example.com/og.png. If response code is 403, allowlist the bot user-agent or move the image to a CDN that doesn't block crawlers. - Tags not picked up? Facebook caches aggressively — re-scrape after edits via the Sharing Debugger. Slack caches for ~30 min. X.com caches for ~7 days.
- Wrong image crop? Slack and Telegram apply a 16 px corner mask — keep critical text 32 px from each edge of the 1200 × 630 image.
- Apple iOS 17+ iMessage preview blank? iMessage now requires a
apple-itunes-appmeta tag when sharing app store pages; for normal websites, the regular OG tags should work.
Formula callout: Facebook re-scrapes a page on average every 30 days, X.com every 7 days, Slack every 30 min. Use the platform-specific debuggers to force a re-scrape after each publish.