Open Graph tags are meta tags in a page’s HTML that control how the page appears when shared on social media and messaging apps, including the title, description, image and link preview.
The protocol was created by Facebook and is now used by LinkedIn, WhatsApp, Slack, iMessage and many other platforms. X (Twitter) uses its own Twitter Card tags but falls back to Open Graph.
The most important tags:
- og:title: the headline for the shared link.
- og:description: a short summary.
- og:image: the preview image. A size of 1200 × 630 pixels works well across platforms.
- og:url: the canonical URL of the page.
- og:type: usually website or article.
Without Open Graph tags, platforms guess, often pulling the wrong image or text, which makes shared links look unprofessional and get fewer clicks.
Open Graph does not directly affect Google rankings, but good previews increase clicks and shares. WordPress SEO plugins, including Rank Math and Yoast, let you set Open Graph details per page.
After changing tags, use Facebook’s Sharing Debugger and LinkedIn’s Post Inspector to refresh cached previews. See our social media marketing services.
