Practical guideUpdated

Open Graph tags: how to control link previews

Open Graph tags are meta tags in a page's head that tell social platforms and messaging apps how to display a shared link: og:title, og:description, og:image, og:url, and og:type. X (Twitter) also reads twitter:card and can fall back to Open Graph values. Use a 1200 by 630 pixel image with an absolute URL, put the tags in the server-rendered HTML, and test with each platform's preview tool.

Open Graph tags do not affect Google rankings directly, but they decide how your links look on LinkedIn, Slack, X, Facebook, and messaging apps, which affects clicks and shares. This page covers the tags to set, image rules, and why previews often show the wrong content.

By , Founder, SerionFlow

What we measured ·

What Google shows for "open graph tags" right now

Method: Live Google results (United States, desktop, English) for "open graph tags" retrieved through DataForSEO's SERP API on 2026-10-22. Page types are our own classification of each ranking URL.

The top 9 organic results for "open graph tags" were 4 guides or explainers, 4 product or service pages, 1 forum or community thread. The first three were webmasters.stackexchange.com, opengraphexamples.com, neilpatel.com. Community threads (webmasters.stackexchange.com) ranked on page one, a sign searchers want first-hand answers, not only vendor pages.

Google showed an AI Overview for this query, citing 9 source domains including ogp.me, developers.facebook.com, ahrefs.com, www.opengraph.xyz. Pages that state the answer directly and early are the ones an Overview can quote.

People Also Ask listed: "What are the types of meta tags?"; "How to check og tag?"; "How do I add meta tags to my photos?"; "What are Open Graph tags in HTML?". The sections below answer the ones within this page's scope.

Top organic results for "open graph tags", 2026-10-22
PositionDomainPage type
1webmasters.stackexchange.comForum or community thread
2opengraphexamples.comGuide or explainer
3neilpatel.comGuide or explainer
4opengraphexamples.comProduct or service page
5webaloha.coGuide or explainer
6michaelcurrin.github.ioProduct or service page
01

The tags to set

Each goes in the head as a meta element with a property and content attribute.

Open Graph and Twitter card tags
TagPurposeNotes
og:titlePreview headlineCan differ slightly from the title tag
og:descriptionPreview textOne or two sentences
og:imagePreview imageAbsolute HTTPS URL, about 1200 by 630
og:urlCanonical URL of the pageMatch the canonical tag
og:typeContent typewebsite or article for most pages
og:site_nameSite nameShown by some platforms
twitter:cardCard layout on Xsummary_large_image for large images
02

Image rules

Use an image around 1200 by 630 pixels, a 1.91 to 1 ratio, which displays well across platforms. Keep important text away from the edges, since some platforms crop. Serve it over HTTPS at a stable URL that does not require cookies or redirects. Keep file size moderate; very large images may be skipped. Add og:image:alt for accessibility where supported.

03

Why previews break

The most common cause is tags added by JavaScript after page load: most preview crawlers fetch the raw HTML and never run scripts, so they see default or missing tags. Other causes are relative image URLs, images blocked by robots.txt or hotlink protection, redirects on the image, and cached previews from before the tags were fixed. On single-page apps, every route needs its own tags in its prerendered HTML.

04

Testing previews

Use the platform tools: LinkedIn Post Inspector, the Facebook Sharing Debugger, and the preview in Slack or X when composing. These also force a refresh of cached previews. Check the raw HTML of the page to confirm the tags are present before running the tools. On serionflow.com, every prerendered route includes its own Open Graph tags in the HTML, generated from the same metadata registry as its title and description.

05

Open Graph and SEO

Google does not use Open Graph tags as a ranking signal, and uses the title tag and page content for search results. Open Graph helps distribution: better previews earn more clicks and shares, which can lead to visits and links. Some AI tools and chat apps also read Open Graph data when displaying links. Our free tools check titles and descriptions; the platform debuggers remain the best way to check previews. SerionFlow is the wrong tool for social preview tags on your existing pages; it sets them only on the pages it publishes.

Clear answers

Frequently asked questions

How do I check og tags?

+

View the page source and search for og:, then test the URL in LinkedIn Post Inspector or the Facebook Sharing Debugger to see how the preview renders.

What are Open Graph tags in HTML?

+

Meta elements in the page head, such as an og:title meta tag with a property and content attribute, that define how a page appears when shared on social platforms.

About the author

· Founder, SerionFlow

Shadrack builds SerionFlow's site research, page generation, and Search Console tooling, and runs the free tools these guides pair with. Search Console figures cited on these pages come from serionflow.com's own property.

Continue exploring

Related SerionFlow resources

More in Guides

All guides

Make the next move obvious

Let SerionFlow turn your market evidence into momentum.

Confirm the market, rank the opportunities that matter, create brand matched pages on your domain, and keep moving with controlled weekly intelligence.

Choose how SerionFlow uses cookies.

Essential cookies keep the site secure and working. Product analytics helps us improve reliability. Optional cookies help us remember preferences and improve campaigns. You can change optional cookies anytime in Cookie Settings.