Open Graph Tags — What They Do and How to Set Them Correctly

What the evidence says (October 2026)

Open Graph was built for link previews: according to ogp.me, it lets a web page become “a rich object in a social graph”. Whether ChatGPT, Claude, Perplexity or other AI assistants use Open Graph tags has not been studied.

The study by Rick Ramos (October 14, 2026) covers JSON-LD, not meta tags. It found that ChatGPT (web search, app) and Claude (web fetch, Claude.ai) strip JSON-LD when they fetch a page live; facts that appeared only in the schema were answered 0 out of 100 times. Whether the same applies to meta tags in the <head> was not tested.

Google documents that it considers og:title for title links and og:site_name for site names. Our advice: set OG tags for sharing previews — and put everything that matters in the visible text of the page as well.

Open Graph tags are <meta> elements that describe a page for previews when it is shared: title, description, image. This guide shows how to set them correctly and separates what is documented from what is not known.

TL;DR: Add og:title, og:description, og:image, og:type, and og:url to every page. Keep the values consistent with the visible title and introduction. Do not put information only into meta tags — it belongs in the visible text too.

What are Open Graph tags?

Open Graph (OG) tags are <meta> elements in your HTML <head>, documented at ogp.me. They let you define the title, description, image, and type of a page explicitly. Services that support the protocol — social networks and messaging apps, for example — can use these values for the preview instead of guessing from the page content.

Which tags does the protocol define?

ogp.me describes the core properties as follows:

Why set Open Graph tags — and what do they do for AI?

For sharing: this is what the protocol is for. Platforms that read OG tags show your title, description and image instead of making their own choice.

For Google: Google lists “content in og:title meta tags” among the sources it uses to determine title links in search results, alongside the <title> element, headings and other text. For site names, Google’s documentation says its system “will also consider content in og:site_name”. In both cases OG is one source among several, not a guarantee.

For ChatGPT, Claude and Perplexity: we do not know. There is no study on whether these assistants read OG tags, display them, or use them when citing a page. The only available study on metadata concerns JSON-LD: there, ChatGPT and Claude did not see anything that was not also in the visible text. Whether meta tags behave the same way is open.

The practical consequence: treat OG tags as a preview for sharing. What a reader — or an AI assistant — should learn about the page belongs in the visible text: a clear <h1>, a first paragraph that summarises the page, the author and the date.

Step-by-step — how to implement OG tags correctly

  1. Add the five core OG tags inside the <head> of every page — not just the homepage.
  2. Write a unique og:title per page; do not use your site name as the title on every page. ogp.me sets no length limit — each platform decides how much it shows.
  3. Write a unique og:description per page — according to ogp.me, one to two sentences that summarise the page.
  4. Upload the image to a permanent, publicly accessible URL and state its size with og:image:width and og:image:height. ogp.me sets no minimum size; check the requirements of the platforms that matter to you.
  5. Set og:type to article for blog posts and guides and to website for the homepage and category pages.
  6. Set og:url to the canonical URL — the same value as your <link rel="canonical"> tag.
  7. Make sure title and description say the same as the visible <h1> and the first paragraph.
  8. Check the result with the Facebook Sharing Debugger, which shows which OG values a platform reads from your page.

Code example — complete OG tag set in <head>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>Your Page Title — Site Name</title>
  <meta name="description" content="A concise summary of what this page covers.">
  <link rel="canonical" href="https://example.com/your-page">

  <!-- Open Graph core tags -->
  <meta property="og:title" content="Your Page Title — Site Name">
  <meta property="og:description" content="A concise summary of what this page covers, written as a complete sentence.">
  <meta property="og:image" content="https://example.com/images/your-page-og.jpg">
  <meta property="og:image:width" content="1200">
  <meta property="og:image:height" content="630">
  <meta property="og:image:alt" content="Descriptive alt text for the image">
  <meta property="og:type" content="article">
  <meta property="og:url" content="https://example.com/your-page">
  <meta property="og:site_name" content="Site Name">

  <!-- Article-specific OG tags (for blog posts and guides) -->
  <meta property="article:published_time" content="2026-04-16T00:00:00Z">
  <meta property="article:modified_time" content="2026-04-16T00:00:00Z">
  <meta property="article:author" content="https://example.com/author/your-name">
</head>

Common mistakes to avoid

Official sources

Test your website now — free AI Visibility Score 30+ checks in under 30 seconds