SEO glossary

What is Open Graph?

Open Graph is a set of meta tags (og:title, og:image and others) that define how a page appears when it’s shared on social networks and messaging apps.

Check it free: Open Graph Checker

Open Graph: Open Graph is a set of meta tags (og:title, og:image and others) that define how a page appears when it’s shared on social networks and messaging apps.

Open Graph is a protocol, created by Facebook in 2010 and documented at ogp.me, that lets a page describe itself to any app that builds a link preview. When someone pastes your URL into Facebook, LinkedIn, WhatsApp, Slack, Discord, iMessage or many other apps, the app fetches the page, reads its og: meta tags and renders a card with a title, description and image.

Without Open Graph tags, each app guesses — often picking your logo, a cookie-banner sentence or nothing at all.

The tags that matter

<meta property="og:type" content="article">
<meta property="og:title" content="How to Waterproof Leather Hiking Boots">
<meta property="og:description" content="A 15-minute method that keeps boots dry for a full season.">
<meta property="og:url" content="https://www.example.com/guides/waterproof-boots/">
<meta property="og:image" content="https://www.example.com/img/waterproof-boots-1200x630.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Hands rubbing wax into a brown leather boot">
<meta property="og:site_name" content="Example Outdoor">

The protocol defines four required properties — og:title, og:type, og:image and og:url — and most platforms also use og:description. Use the property attribute, as the specification does.

Getting the image right

The image does most of the work in a feed. A 1200 × 630 pixel image (roughly 1.91:1) displays well on most platforms; smaller images may be shown as a small thumbnail instead of a large card. Keep important text and faces away from the edges, since some apps crop to a square. Use an absolute HTTPS URL and a JPEG, PNG or WebP file of reasonable size, and make sure the image isn’t blocked by robots.txt or hotlink protection, or the preview will come up empty.

Does Open Graph affect SEO?

Open Graph tags are not a Google ranking factor, and Google builds its own result snippets from the title tag and meta description. The benefit is indirect but real: links shared with a clear, attractive preview get more clicks and reshares, which brings visitors and, over time, mentions and links. Link-preview cards are also how many people first meet your content in group chats and communities, long before they search for you.

Common mistakes

  • Relative image URLs like /img/share.jpg. Many parsers need the full https:// URL.
  • The same generic image on every page, so every shared link looks identical.
  • An og:url that differs from the canonical URL, which splits share counts between versions.
  • Tags added with JavaScript. Most preview crawlers don’t run scripts; put the tags in the server-rendered HTML.
  • Stale caches. Platforms cache previews. After fixing tags, use the platform’s debugger (such as Facebook’s Sharing Debugger or LinkedIn’s Post Inspector) to refresh them.

How to check

The Open Graph Checker previews how your link appears on Facebook, X, LinkedIn, WhatsApp and Slack, validates every tag and checks your og:image size. X can use its own tags as well — see Twitter Card.

Frequently asked questions

Are Open Graph tags a ranking factor?

No. Google does not use Open Graph tags for ranking, and it builds search snippets from the title tag and meta description. Open Graph improves how links look when shared, which can bring more clicks and visibility.

What size should an og:image be?

Use 1200 × 630 pixels (about 1.91:1) for a large preview on most platforms. Keep key content centered in case an app crops the image, and serve it from an absolute HTTPS URL.

Why is my old image still showing when I share a link?

Platforms cache previews. After updating your tags, run the URL through the platform’s debugging tool, such as Facebook’s Sharing Debugger, to force a fresh scrape.