All posts
SEO & AI search

What Are Open Graph Tags? A Plain-English Definition

What are Open Graph tags? A plain-English definition of og tags, the five you need, how the og image shapes launch shares, and how to test them.

By Mehdi Hassan4 min read

The short answer

Open Graph tags are meta tags in a page's HTML that control how the page looks when shared on LinkedIn, Slack, X, Facebook and messaging apps. They set the title, description, image and URL in the preview card. Without them, platforms guess, and a launch link often shares with the wrong image or none.

Key takeaways

  • Open Graph tags are meta tags that set the title, description and image of a shared link preview.
  • The five that matter: og:title, og:description, og:image, og:url and og:type.
  • The og image is the biggest lever on a launch share: it's most of the preview card.
  • Platforms cache previews, so test before launch day, not after the first share.

Part of Web Design, SEO and AEO Glossary: 50 Terms Explained Simply

What are Open Graph tags?

Open Graph tags are a set of HTML meta tags, placed in a page's head, that describe the page to social platforms and messaging apps. Facebook introduced the Open Graph protocol, and today LinkedIn, Slack, Discord, iMessage, WhatsApp and most other apps read it to build link previews.

When someone pastes your URL, the app fetches the page, reads the og tags and draws a card with your image, title and description. If the tags are missing, the app guesses from the page content, often badly. It's one of the technical terms in our SEO and AEO glossary.

Which Open Graph meta tags do you need?

Five Open Graph tags cover almost every case. X also reads its own twitter:card tag, which you set to summary_large_image for a full-width image card.

Tag

What it controls

Tip

og:title

The bold headline in the card

Write it for a feed, not for search

og:description

One or two lines under the title

State the benefit, not the brand

og:image

The preview image

1200 by 630 pixels is the size most platforms recommend

og:url

The canonical address of the page

Match your canonical URL

og:type

What kind of content it is

website for pages, article for posts

twitter:card

The card format on X

summary_large_image for a big image

Open Graph tags don't directly affect Google rankings. They affect what happens after someone shares your page, which shapes clicks, mentions and how people talk about you. Structured data does a different job, covered in what is schema markup.

How do og images affect launch shares?

The og image is most of the preview card, so it decides whether a shared launch link gets noticed in a crowded feed. On launch day, your link is pasted into LinkedIn posts, Slack channels and group chats, and each paste is a small ad you don't pay for.

We do this on our own blog: every Designify post gets its own generated og image showing the article title, its topic and the author's name, rather than one generic logo card. When a post is shared in Slack or on LinkedIn, the card tells the reader what the article is about before they click. Next.js makes this practical with ImageResponse, which renders the image from code instead of a design file; the opengraph-image convention is covered in the Next.js docs.

  • Say the point in the image. A short headline beats a logo alone.
  • Design for small sizes. Cards show tiny on phones, so use large type and few words.
  • Keep the important part central. Some apps crop the edges.
  • Make one per key page. Your homepage, pricing page and launch post each deserve their own.
Hypothetical example: a launch with and without og tags

For example, suppose a startup posts its new feature page on launch morning without og tags. LinkedIn pulls the first image on the page, a cropped team photo, and the title reads "Home". The post gets scrolled past.

With tags set, the same link shows a 1200 by 630 image reading "Automated invoicing for agencies", a clear title and a one-line benefit. Same post, same audience, but the card now does the explaining. That's why og tags belong on every launch page checklist.

How do you keep Open Graph tags right during a migration?

Open Graph tags are easy to lose when you move platforms, because each builder stores them differently. Webflow, Framer and Next.js all support them, but the fields don't carry over automatically. Our guide to migrating metadata, schema and Open Graph covers the mapping, and image SEO in migrations covers the image files themselves.

Frequently asked questions

Do Open Graph tags help SEO?
Not directly. Google doesn't use Open Graph tags as a ranking factor, and it builds search snippets from your title tag, meta description and page content. They help indirectly: a clear preview gets more clicks and shares on social and messaging apps, and those visits and mentions build awareness. Treat them as distribution hygiene, not as a ranking tactic.
What size should an og image be?
Use 1200 by 630 pixels, a 1.91 to 1 ratio, which is the size most platforms recommend and display well. Keep the file reasonably small so apps fetch it quickly, use JPG or PNG, and keep text and logos away from the edges in case a platform crops the image. Check the current guidance from the platforms you care about most.
How do I check my Open Graph tags?
View the page source and search for og: to see the tags, then test the live preview. LinkedIn's Post Inspector shows exactly what LinkedIn will display and refreshes its cache. You can also paste the link into a private Slack channel or a message to yourself. Test after every change to the page title or image.
What happens if a page has no og:image?
The platform tries to pick an image from the page itself, which might be a logo, an icon or a random photo, or it shows a text-only card. Text-only cards are smaller and easier to scroll past. Set a default og image for the whole site, then add specific ones to the pages people share most.

· CEO & Design Director

Copywriter, designer and developer, and founder of Designify Studio. Over five years, 60+ projects across 14+ industries, for startups that have raised $300M+.

Want this done for you? Website, $8,000.

A multi-page marketing site, written and designed by us, developed in Next.js and animated. $8,000, one-time, up to 6 pages. Book a free 30-minute call to see if it fits.

Schedule Call