Open Graph, n.

What are Open Graph tags?

A set of meta tags, such as og:title and og:image, that control the title, description and image shown when a page is shared.

Filed under meta tags and on-page seo in the SEO glossary

Try the free meta tag & open graph checker

What Open Graph is

The Open Graph protocol was introduced by Facebook in 2010 to turn any web page into a rich object in a social feed. It uses meta tags with a property attribute, such as <meta property="og:title" content="...">, placed in the page head.

Today almost every app that unfurls links reads it, including Facebook, LinkedIn, Slack, Discord, WhatsApp, iMessage and Microsoft Teams. X (Twitter) uses its own twitter: tags but falls back to Open Graph.

The essential tags

og:title is the headline of the share card and og:description the line beneath it. og:image is the preview image; use an absolute URL and an image of 1200 x 630 pixels, which suits most platforms. og:url is the canonical URL of the page, og:type is usually website or article, and og:site_name is your brand.

Open Graph does not affect Google rankings directly, but an attractive share card earns more clicks and links. Keep it consistent with your title tag and meta description.

Why the wrong preview shows

Platforms cache previews. After changing tags, refresh the cache with Facebook's Sharing Debugger or LinkedIn's Post Inspector. Other causes are a relative image URL, an image that is too small or blocked by robots.txt, tags added by JavaScript (most scrapers do not run it) and several conflicting og:image tags.

Example

Open Graph and Twitter tags:

<meta property="og:type" content="article">
<meta property="og:title" content="What is a canonical tag?">
<meta property="og:description" content="How canonical tags consolidate duplicate URLs.">
<meta property="og:url" content="https://example.com/learn/canonical-tag">
<meta property="og:image" content="https://example.com/og/canonical.png">
<meta name="twitter:card" content="summary_large_image">
Check it on your site: Meta tag & Open Graph checkerPreview your Google snippet and social card, and fix missing tags. Free, no signup.
Questions

Frequently asked questions

What size should an og:image be?

1200 x 630 pixels (a 1.91:1 ratio) works on most platforms. Keep important text away from the edges, as some apps crop to a square.

Do Open Graph tags help SEO?

Not as a ranking factor, but better share cards bring more clicks, visits and links, which help indirectly.

Why does Facebook show an old image?

It cached the previous preview. Run the URL through the Sharing Debugger and click Scrape Again.

Related terms

Keep learning

Full SEO glossary

More free tools

Check the rest of your SEO

All free SEO tools

Find every issue like this across your site

Fix it automatically, then see what the fix earned.

  • The AI drafts the fix for every issue like this across your site, ranked by impact
  • Approve it and the free WordPress plugin publishes it, with one-click undo
  • 28 days later, the clicks each fix earned, from your own Search Console
Fix my site free Free plan, no card · not on WordPress? Copy each fix in