Launchpack

What is Open Graph? The tags behind every link preview

Every time you paste a link and a card with a title and picture appears, Open Graph tags decided what's on it. Here is what they are, which ones you need, and how to check yours.

Short answer

Open Graph is a set of <meta> tags in a page's <head> that tells apps what to show when someone shares the link: the title, description, image and URL. Facebook created it; today LinkedIn, X, Slack, Discord, WhatsApp, Telegram and iMessage all read it.

Every page should have four: og:title, og:type, og:image and og:url, plus og:description. Without them, apps guess, and usually show a bare link.

Make my OG image → 1200 × 630, from your name and a screenshot. Free, in about 30 seconds.

What Open Graph does

When you paste a URL into a chat or a post, the app sends a crawler to fetch that page, reads a few tags from the <head>, and builds a preview card from them. The Open Graph protocol is the agreed name for those tags. Facebook introduced it in 2010 so any web page could describe itself the same way, and the format stuck.

The tags are plain HTML. Each one is a <meta> element with a property that starts with og: and a content value:

<meta property="og:title" content="Launchpack: every launch image in 30 seconds">

The tags every page needs

The Open Graph protocol lists four required properties. Add a description too: almost every app shows it.

TagWhat it isExample
og:titleThe headline of the card. Keep it under about 60 characters.Launchpack: launch images in 30 seconds
og:typeWhat the page is. website for most pages, article for posts.website
og:imageThe picture, as an absolute https URL. 1200 × 630 works everywhere.https://yoursite.com/og.png
og:urlThe canonical address of the page, so shares of different URLs count as one.https://yoursite.com/
og:descriptionOne or two sentences under the title. Under about 155 characters.Every image a product launch needs, in one ZIP.

The full set, ready to paste:

<meta property="og:type" content="website">
<meta property="og:url" content="https://yoursite.com/">
<meta property="og:title" content="Your product: what it does">
<meta property="og:description" content="One sentence on who it's for and why.">
<meta property="og:image" content="https://yoursite.com/og-image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">

The last line isn't Open Graph, but X needs it for the large image card; for everything else X falls back to the og: tags. The meta tag generator fills these in for you.

Useful optional tags

  • og:site_name: your site's name, shown above the title on Slack and Facebook.
  • og:image:width and og:image:height: let apps draw the card before the image has downloaded.
  • og:image:alt: a text description of the image for screen readers.
  • og:locale: the language, like en_US, if you publish in several.
  • article:published_time and article:author for og:type article.

Which apps read it

AppReads Open GraphNotes
Facebook, MessengerYesWhere it started. The Sharing Debugger refreshes the cache.
LinkedInYesPost Inspector refreshes the cache.
X (Twitter)Yes, as fallbackNeeds twitter:card for the card type. See the Twitter card validator.
Slack, DiscordYesDiscord also uses theme-color for the stripe. See Slack and Discord.
WhatsApp, Telegram, iMessageYesWhatsApp drops large images; keep it small. See the WhatsApp guide.

Open Graph and SEO

Open Graph tags don't move you up in Google's results; Google uses your <title>, meta description and page content for that. What they change is how often people click a shared link. A clear title and a readable image get more clicks from social posts and chats, and more of those visits turn into links and mentions. In our study of 592 new launches, 18% had no Open Graph tags at all.

Checking your tags

  1. Paste your URL into the free OG image checker. It reads the tags the way the crawlers do and lists what's missing.
  2. If you add or change tags and a platform still shows the old preview, it's that platform's cache. The troubleshooting guide covers how to refresh each one.
  3. Tags must be in the HTML the server sends. If your site adds them with JavaScript, most crawlers won't see them.

Questions

What is Open Graph?

A set of meta tags (og:title, og:description, og:image, og:url and others) that tells apps like Facebook, LinkedIn, X, Slack and WhatsApp what to show when a link is shared.

What are the required Open Graph tags?

og:title, og:type, og:image and og:url. Add og:description too, since nearly every app shows it.

What size should the Open Graph image be?

1200 × 630 pixels (1.91:1), JPG or PNG, under 1 MB, at an absolute https URL.

Does Open Graph help SEO?

Not directly: Google doesn't rank pages by their Open Graph tags. They make shared links clearer and more clickable, which brings visits and links.

What's the difference between Open Graph and Twitter cards?

Twitter cards are X's own tags (twitter:card, twitter:title, twitter:image). X reads Open Graph as a fallback, so most sites only add twitter:card.

Where do Open Graph tags go?

In the of each page, in the HTML the server sends, not added later by JavaScript.

Keep reading