What is the Open Graph protocol?

DefinitionThe Open Graph protocol is a set of metadata tags, introduced by Facebook in 2010, that web pages use to control the title, description, image and other details shown when a link is shared on social media and messaging apps.

Also known as Open Graph

Open Graph tags are meta elements in a page's HTML head, with property names such as og:title, og:description, og:image, og:url and og:type. When someone shares a URL, platforms fetch the page, read these tags and build a link preview card from them. Without them, a platform has to guess, which often results in the wrong image or a cut-off title.

Although it was created for Facebook, Open Graph is now read by most social networks, chat apps and other tools, including LinkedIn, Slack, Discord and Mastodon. X also falls back to Open Graph for many details when its own X Cards tags are missing. Adding accurate Open Graph tags and a properly sized share image is a standard part of publishing a page, and Coywolf's Open Graph Checker browser extension previews how a page will look when shared.

Open Graph protocol resources

Common questions about Open Graph protocol

What size should an Open Graph image be?

Facebook recommends 1200 by 630 pixels, a 1.91:1 ratio, and that size works well on most other platforms too. Keep important content near the center, since some apps crop previews to a square or a smaller ratio.

Why isn't my updated Open Graph image showing?

Platforms cache link previews, so they keep showing the old title or image until they fetch the page again. Facebook's Sharing Debugger and LinkedIn's Post Inspector can force a fresh fetch, and giving the new image a new file name helps with services that cache images separately.

Is the Open Graph protocol the same as Schema.org?

No. Open Graph tags control how a link looks when it's shared on social media and in chat apps, while Schema.org structured data describes a page's content for search engines. Many pages use both.

Why do Open Graph tags use property instead of name?

The Open Graph protocol is based on RDFa, a standard for adding structured data to HTML, and RDFa uses the property attribute. That's why the tags are written as meta property="og:title" rather than meta name.

Topics: Social media and the fediverse, Web development

Cite this definition
APA

What is the Open Graph protocol? (2026, November 22). Glossary. https://glossary.io/open-graph-protocol/

MLA

“What Is the Open Graph protocol?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/open-graph-protocol/.

Chicago

“What Is the Open Graph protocol?” Glossary. Coywolf. November 22, 2026. https://glossary.io/open-graph-protocol/.

HTML link
<a href="https://glossary.io/open-graph-protocol/">What is the Open Graph protocol?</a>

Published · Updated