Glossary

Open Graph

Definition

Open Graph is a protocol of meta tags added to a web page's code. These tags tell social networks and messaging apps which title, description and image to display in the preview of a shared link.

Why it matters

Whenever someone shares a link to your website, a product page or a blog post, the platform builds a small preview card. Without Open Graph tags, it has to guess what to show. You may end up with a cut-off title, unrelated text or a random image, such as a partner logo or a shopping cart icon. For a small business, that preview is often the very first impression a potential customer gets.

Well-written tags put you in control of that message. A clear, on-brand preview can encourage people to click, which supports your social media traffic. You set it up once per page, and it works every time the link is shared, whether by you, a customer or a partner.

How to measure or use it

Open Graph tags sit in the head section of each page's HTML. Most website builders offer dedicated fields, usually under a social sharing or SEO section. The three core tags are:

  • og:title: the headline shown in the preview, short and to the point.
  • og:description: one sentence that sums up the page and gives people a reason to click.
  • og:image: the full (absolute) URL of the image to display. Pick a sharp, readable visual and check each platform's current guidelines on image formats.

You can also add og:url, the canonical address of the page, and og:type, which states whether the page is a website, an article or a product.

  1. Fill in the tags on your most-shared pages first: home page, best-selling products, key articles.
  2. Paste the page URL into Meta's Sharing Debugger to see the preview as Facebook reads it.
  3. If the old preview still appears, ask the debugger to fetch the page again, since platforms cache previews.
  4. Run a real test share on LinkedIn or in a messaging app, because each platform displays previews slightly differently.

Example

Imagine a small, fictional online shop selling handmade ceramics. When customers share the page for one of its bowls, the preview shows the cookie banner text and a payment provider's logo. The owner sets og:title to "Handmade blue glazed stoneware bowl", writes an og:description about the one-of-a-kind piece and its firing process, and points og:image to a good photo of the bowl. She checks the result in Meta's Sharing Debugger and triggers a fresh fetch. From then on, shares show the product photo and a clear title. To see whether those shares bring visitors, she adds UTM parameters to the links she posts herself.

Common mistakes

  • Letting the platform pick the image on its own, which can surface a logo, an icon or an irrelevant banner.
  • Using the same image and description on every page, so every preview looks identical and tells people nothing.
  • Entering a relative image path or a protected image that platforms cannot fetch.
  • Editing tags without asking the debugger to fetch the page again, then assuming the change did not work.
  • Writing a title or description that does not match the page content, which disappoints visitors once they click.

Frequently asked questions

Do I need coding skills to add Open Graph tags?

Not necessarily. Most website and online store builders give you fields for the sharing title, description and image. If yours does not, a developer can add the tags to your page headers quickly.

Why does the old preview still show after I changed my tags?

Platforms store information about pages that have already been shared. Use Meta's Sharing Debugger to request a fresh read of the page. Other platforms refresh their previews on their own schedule.

What image size should I use for og:image?

Recommended formats differ from one platform to another and change over time. Check each platform's current guidelines and choose a sharp image without tiny text. Then test the preview to make sure nothing important gets cropped.

Related terms

Full glossary →

Updated November 27, 2026

Your social media, prepared by AI and approved by you

Open Graph: definition and og tags — SocialBrainAI