LinkTrixx
Home / Blog / What Is Open Graph? How OG Tags Control Social Sharing Previews

What Is Open Graph? How OG Tags Control Social Sharing Previews

What Is Open Graph? How OG Tags Control Social Sharing Previews

What Is Open Graph? How OG Tags Control Social Sharing Previews

Share a link in a message or on a social feed and a small card usually appears. The card shows a title, a short description, an image and the name of the site. That card is not chosen at random. It is built from a small set of tags in the head of the page, and the system that defines those tags is called Open Graph.

Open Graph matters because most people judge a link before they open it. A clear title and a relevant image invite a click. A blank card, a cropped logo or a title taken from the wrong part of the page invites a scroll past. For a business that earns attention through content, guides and service pages, the preview is part of the first impression. It is also part of basic on page work, alongside the title tag and the meta description that searchers see in Google.

This guide explains what Open Graph is, where it came from, how each tag works, how the main platforms read the tags differently, how Open Graph relates to Twitter Cards, what it can and cannot do for search engine optimisation, and the mistakes that break previews most often. It ends with a practical way to build a correct set of tags with the free Open Graph Generator from LinkTrixx, and with the checks to run before a page is shared widely. For the hands on version of this guide, with a real worked example, read How to Use an Open Graph Generator Step by Step.

What Open Graph Is

Open Graph is a protocol that lets any web page become a rich object in a social graph. That wording comes from the protocol itself, published at ogp.me, the home of the Open Graph protocol. In plain terms, Open Graph gives a page a structured way to say: this is my title for sharing, this is my summary, this is my image, this is my permanent address, and this is the kind of content I am.

Facebook created the protocol in 2010. The aim was to standardise how metadata is pulled from a web page and shown in the Facebook feed. Semrush, in its guide to Open Graph tags, describes the protocol in the same way, as a Facebook creation that standardises how metadata is pulled from web pages and displayed in its feed. The guide is at Semrush on Open Graph tags. Over time the tags spread well beyond Facebook. LinkedIn, X, WhatsApp, Slack, Discord, iMessage and many other apps and services now read Open Graph tags to build link previews, even when they have their own display rules.

The tags live in the head of the page, where visitors do not see them. They are meta elements with a property attribute, not the name attribute used by an ordinary meta description. A typical tag looks like this in code:

<meta property="og:title" content="The title for sharing">

The property names all begin with og, short for Open Graph. The content value carries the text, the image address or the page address that the platform should use. A crawler, which is an automated program that fetches a page on behalf of a platform, reads those tags and uses them to build the card. If the tags are missing, the platform must guess, and guessing is where most preview problems begin.

Why a structured preview beats a guessed preview

Without Open Graph tags, a platform that receives a link must choose a title from the page title element, choose descriptive text from the body of the page, and choose an image from the images it can find. That process can work, but it is fragile. The page title element may include a site name, a category label or wording written for search results rather than for sharing. The first paragraph may be an introduction rather than a summary. The first image the crawler finds may be a small icon, a logo or an image from an advertisement or a sidebar.

Open Graph tags remove that guesswork for the fields they cover. The publisher states the sharing title, the sharing description and the sharing image directly. The platform still decides the final layout, the crop, the font and how much text to show, but it starts from the values the publisher chose. That control is the whole point of the protocol. It does not guarantee clicks, and it does not change the quality of the page behind the link, but it stops the preview from misrepresenting the page.

Open Graph is metadata, not visible content

Visitors who open a page do not see Open Graph tags on the page itself. The tags are instructions for machines that fetch the page to build a preview somewhere else. That distinction matters when a preview looks wrong. The fault is rarely in the visible page. It is usually in the head of the page, in a cached copy held by the platform, or in an image address that the crawler cannot reach. Fixing the visible heading will not fix a preview that reads its title from og:title. The head tags must be fixed, and the platform must then be asked to fetch the page again, a step covered later in this guide.

How a Sharing Preview Is Built

The process is simple to describe and easy to misunderstand in one respect: the preview is built when the platform fetches the page, not when a person clicks the link. The steps below describe the usual flow.

  1. A person pastes a link into a post, a message or a chat.
  2. The platform sends a request to the page address and fetches the HTML.
  3. The platform reads the Open Graph tags in the head of the page.
  4. The platform builds a preview card from the title, description, image and address it found.
  5. The platform stores a copy of that preview for a time, so later shares can reuse it without fetching the page again.

Step five is the one that surprises most publishers. Platforms cache previews. A corrected tag does not always change a card that has already been built, because the platform may keep serving the stored copy until its cache expires or until someone asks for a fresh fetch through a debugger tool. That is why a page can look correct in its code and still show an old image in a feed. The code and the stored preview are two different things, and both must be checked.

What happens when tags are missing

When Open Graph tags are absent, each platform falls back to its own rules. It may use the HTML title element, it may take text from the page, and it may choose an image by size, position or guesswork. The result is often usable, but it is rarely the result the publisher would choose. A service page may show a generic site title. A guide may show an image from the footer. A page with no suitable image may show no image at all, which makes the link look thin beside links that carry a large image.

Semrush makes the same point with a visual comparison in its Open Graph guide, showing a shared post with an Open Graph image beside a post without one. The post with the image is more visually appealing and gives extra detail about the shared content. That comparison is a reminder that the image is usually the largest and most noticeable part of the card. Leaving it to chance is a poor trade when a single tag can set it directly.

The Core Open Graph Tags

The Open Graph protocol lists four required properties for every page: og:title, og:type, og:image and og:url. The protocol page at ogp.me states those four plainly, and describes og:description as an optional property that is generally recommended. In practice, most publishers treat five tags as the working set, because a preview without a description reads as unfinished on many platforms. The five tags below are the set built by the LinkTrixx generator, and each one deserves a clear decision rather than a copied value.

og:title: the sharing title

og:title is the title of the object as it should appear within the graph. In ordinary language, it is the headline on the preview card. It does not have to match the HTML title element word for word, although it usually shares the same core wording. The sharing title can be shorter, clearer or written for a social audience, while the search title can carry extra detail for Google.

Semrush advises keeping og:title between 55 and 60 characters to avoid truncation, which is the cutting short of text on screen. Other guides give a slightly wider range, because platforms cut text at different points. A useful working rule is to keep the sharing title short enough to read at a glance, put the main words first, and avoid adding the site name at the end if the platform already shows the site name or domain separately. A title that needs its ending to make sense will lose that ending on some screens.

Write the title as a standalone headline. A reader who sees only the card should understand the topic and the promise. Avoid titles that rely on the page context, avoid titles that are only a brand name, and avoid titles that promise a topic the page does not cover. A mismatch between the card and the page may earn a click and lose the reader at once.

og:description: the sharing summary

og:description is a short description of the object, usually one or two sentences. It appears under the title on most cards. The protocol lists it as optional, but a preview without it often looks bare, and a good description is the main chance to give a reason to click after the title has done its work.

Semrush advises keeping the description concise, accurate and enticing, using fewer than 120 characters to prevent truncation, and avoiding a repeat of the og:title. That 120 character figure is a cautious guide for the tightest layouts, not a limit in the protocol. Other sources allow a longer description, and the developer guide opened for this article suggests aiming for 120 to 160 characters, with Facebook showing roughly 200 characters and LinkedIn showing around 120 characters in some layouts. The honest position is that platforms differ, and the first sentence must carry the point. Put the audience, the topic and the benefit early, so a cut ending hides detail rather than meaning.

Do not copy the meta description for search without thinking, and do not copy the sharing description from the search description without thinking either. The two descriptions serve different readers on different screens. A search description answers a search query beside nine rival results. A sharing description answers a reader in a feed or a chat, often beside posts from friends, colleagues or publishers. The wording can be the same when the page has one clear promise, but it should be a choice, not a habit. For the search side of the pair, the Meta Tag Generator helps draft the title and description for search, and the guide at What Is a Meta Description Checker explains how description length is really about width on screen.

og:image: the preview image

og:image is the address of the image that should represent the object in the graph. It is the most visually prominent part of the card, and Semrush notes that it takes up a lot of visual space, which can increase clicks. It is also the tag most often broken by a small technical error, because the value must be a full image address that the crawler can fetch directly.

Use an absolute address, meaning the full address including the protocol and the domain, not a relative path that starts with a slash. A crawler that fetches the image directly has no page context to resolve a relative path against, so a relative image address is a common cause of a missing image. The image must be publicly reachable, without a login, and it must load promptly. An image behind a login, behind a redirect chain that the crawler will not follow, or on a server that blocks crawlers will not appear, however good it looks in a browser.

Image size guidance is covered in detail below, but the short version is consistent across the sources opened for this guide: use a wide image of 1200 by 630 pixels, in JPEG or PNG format, served over HTTPS at an absolute address. That size renders well on Facebook, LinkedIn and most messaging apps, and it is the size Semrush recommends for most social platforms. Keep the file reasonably small so it loads fast, keep the main subject and any text away from the edges where cropping bites, and use an image that matches the page. A generic stock image that could belong to any page weakens trust, while an image that shows the topic of the page confirms it.

og:url: the permanent address

og:url is the canonical address of the object, used as its permanent identifier in the graph. Canonical here means the one true address for the page, the address that should collect likes, shares and other signals even when the same content can be reached through other addresses, such as a version with tracking parameters or a version with or without a trailing slash.

Use the exact canonical address, with the same protocol, domain and path as the address the page itself declares as canonical. Do not use a shortened link, a tracking address or an address that redirects elsewhere, because the platform may treat each distinct address as a separate object and split the signals that should belong together. For a page that exists in both a mobile and a desktop form, the canonical desktop address is the safer value, so signals gather in one place.

og:type: the kind of content

og:type states the type of the object. The protocol requires it, and the value must come from the type system defined by the protocol. The simplest values are website and article, and they cover most pages a business publishes. The protocol also defines richer types for music, video, books and profiles, each with its own extra properties, but a business site rarely needs those on ordinary pages.

Any page without markup that states a type should be treated as og:type website, according to the protocol. That makes website the safe default for a home page, a service page, a landing page and a general page. Use article for a blog post or a news article, where the content is a dated piece of writing with an author and a publication time. The distinction is not cosmetic. The article type can carry extra properties for the published time, the modified time, the author, the section and the tags for the article, and platforms and tools can use that extra structure to understand the content better.

The LinkTrixx generator offers only website and article as type choices, with website as the default. That narrow choice matches the pages most businesses need to describe, and it removes the risk of choosing an exotic type that the page cannot support. Choose website for pages that describe a service or a business. Choose article for posts that teach, explain or report. When in doubt, ask whether the page would make sense as an entry in a blog feed with a date. If it would, article is likely right. If it would not, website is likely right.

Optional Tags That Add Useful Detail

Beyond the core set, the protocol lists optional properties that are generally recommended. A small site does not need all of them on every page, but four are worth understanding because they solve real display problems.

og:site_name

og:site_name names the larger site that the object belongs to, for example the brand name that should be displayed for the overall site. On some platforms it appears above or beside the title, so readers know the source without reading the address. Semrush advises verifying the spelling, matching the branding, and avoiding a repeat of the brand name if it already appears in og:title. A consistent site name across pages builds recognition over time, because readers learn to associate the name with the kind of content they have clicked before.

The LinkTrixx Open Graph Generator does not output og:site_name. That is a fact about this tool, not a statement about the protocol. If a site needs og:site_name, it must be added by hand to the tags the generator produces, or set by the site template or SEO plugin. Do not assume a generator outputs a tag it does not output. Always read the generated tags before pasting them into a page.

og:locale and og:locale:alternate

og:locale states the locale of the tags, in language and territory format, with en_US as the default in the protocol. The format is language underscore territory, for example en_GB for English as used in the United Kingdom. og:locale:alternate lists other locales in which the page is available. These tags matter most for sites that publish the same content in more than one language or region. A single language site aimed at one market can leave them out without harm, but a site with translated pages should set them so platforms can match the preview to the reader.

og:image structured properties

The og:image property can carry extra structured properties that describe the image in more detail. The protocol lists og:image:url, og:image:secure_url, og:image:type, og:image:width, og:image:height and og:image:alt. The width and height values help a platform render the card correctly on the first share, before it has fetched and measured the image file itself. The alt value describes what is in the image, not a caption, and it helps readers who cannot see the image and tools that read the page aloud. The secure URL value gives an HTTPS address to use when the page requires HTTPS, which is the normal case for a modern site. These extra properties are optional, and the LinkTrixx generator does not output them. They can be added by hand when a template supports them, but the single og:image tag remains the essential value.

og:video, og:audio and article properties

og:video points to a video file that complements the object, with the same structured properties as an image for its secure address, type, width and height. og:audio points to an audio file that accompanies the object. Article pages can add article:published_time, article:modified_time, article:expiration_time, article:author, article:section and article:tag. These tags are useful when the page genuinely has video, audio or article metadata to describe. Adding them to a page that has no video or no author does not help, and inventing values for them would mislead the platform and the reader. Use them only when the values are true and the page can support them.

Open Graph Image Size and Format Guidance

Image guidance is the area where sources disagree most on exact numbers, while agreeing on the practical answer. The disagreement is worth stating plainly, because it explains why different guides quote different figures for the same tag.

Meta guidance, as reported in the sources opened for this guide, recommends images of at least 1200 by 630 pixels for good display on high resolution devices, close to a 1.91 to 1 aspect ratio, with a file size limit of 8 MB for shared images and a minimum dimension of 200 by 200 pixels. LinkedIn guidance, as reported in the same sources, gives 1200 by 627 pixels as a minimum, at the same 1.91 to 1 ratio, with a 5 MB limit. X guidance for a large card requires a 2 to 1 image, with a minimum of 300 by 157 pixels and a maximum of 4096 by 4096 pixels, under 5 MB. Those numbers differ by a few pixels and by file size limits, but one image of 1200 by 630 pixels serves all three in practice, because the differences are smaller than the variation introduced by cropping on each platform.

Semrush recommends 1200 by 630 pixels for most social platforms, in JPEG or PNG format, with a high resolution image that matches the page content. The developer guide opened for this article gives the same canonical size, 1200 by 630 pixels at a 1.91 to 1 ratio, and adds practical advice: keep the file under 8 MB as a hard limit from Facebook, keep it under 1 MB in practice for fast crawling and rendering, use PNG for graphics and text heavy images and JPEG for photographs, and avoid putting critical text within 50 pixels of any edge because some platforms crop. That edge advice matters. A headline placed hard against the edge of the image can lose its first or last letters on a platform that crops a few pixels from each side.

Design for the crop, not for one platform

Every platform crops differently. Facebook shows a wide card. LinkedIn shows a card of almost the same shape. X shows a large card that trims a little from the top and bottom of a 1200 by 630 image. WhatsApp and iMessage often show a smaller, squarer crop that takes the centre of the image. A design that places the main subject and the main words in the centre, with a generous margin around them, survives all of those crops. A design that fills the frame edge to edge, with small text near the corners, will lose meaning somewhere.

Keep text large enough to read at thumbnail size. A card is often first seen on a phone, in a chat thread or a busy feed, at a fraction of its full size. Text that reads clearly at full size on a desktop screen can become unreadable when the same image is shown small. Use few words, large lettering and a clear contrast between text and background. Treat the image as a signpost for the page, not as a second copy of the page. The title and description on the card already carry the words. The image should carry the feeling, the topic or the proof at a glance.

Format and file size choices

JPEG and PNG are the formats most widely accepted by crawlers, and both are named in platform guidance. JPEG suits photographs and complex images with many colours. PNG suits graphics, diagrams and images with sharp text and flat colour. WebP is accepted by most but not all crawlers, and SVG will not work as an og:image anywhere that matters, because the fetcher expects a raster image, meaning an image made of pixels. If the only source is a vector logo, export it as a raster file first, placed on a background that reads clearly at small size.

File size is a trade between quality and speed. A very large file may load slowly, may be skipped by a messaging app that gives up on a slow fetch, and may exceed a platform limit. A very small file may look soft or blurred on a high resolution screen. The practical guidance from the sources opened for this guide is to stay well under the platform limits, and under about 1 MB in practice, while keeping the image sharp at 1200 by 630 pixels. Compress the image, check it at the size it will actually be shown, and host it on the same domain as the page when possible, so the crawler meets no extra barrier.

How Each Platform Reads the Tags

Open Graph is a shared language, but each platform speaks it with its own accent. The same five tags can produce cards that look different in shape, in text length and in image crop. Understanding those differences prevents a common error: designing a preview for one platform and being surprised when it looks different on another.

Facebook

Facebook is the home of the protocol, and it reads the full Open Graph set. It builds a large card with the image prominent, the title below it and the description below the title. It caches the preview aggressively, so a corrected tag may not appear until the page is fetched again through the Sharing Debugger, the tool Meta provides for testing and refreshing link previews. Facebook truncates long titles at around 88 characters according to the developer guide opened for this article, so a title that fits on LinkedIn may still be cut on Facebook if it runs long. The image guidance from Meta, at least 1200 by 630 pixels and no larger than 8 MB, is the baseline that other platforms largely follow.

LinkedIn

LinkedIn reads Open Graph tags to build its link preview, and it has no dedicated tag system of its own for the same fields. It needs og:title, og:description, og:image and og:url, and the image should be at least 1200 by 627 pixels at a 1.91 to 1 ratio, under 5 MB, according to the guidance reported in the sources opened for this article. LinkedIn truncates titles at around 70 characters in the developer guide, and shows around 120 characters of description in some layouts, so the front of each field carries more weight on LinkedIn than on Facebook. LinkedIn also caches previews, and its Post Inspector tool lets a publisher see the preview LinkedIn will show and ask LinkedIn to fetch the page again. For a business audience, LinkedIn is often the platform where a shared guide or service page earns its most valuable clicks, so the LinkedIn crop deserves a direct check, not an assumption based on Facebook.

X, formerly Twitter

X has its own card system, called Twitter Cards, which is covered in the next section. The key fact for Open Graph is the fallback: when Twitter Card tags are missing, X falls back to Open Graph tags for the title, description and image. That fallback is documented in the sources opened for this article, and it is why a site with only Open Graph tags still shows a reasonable card on X. The fallback does not give the same control as explicit Twitter Card tags, because the card layout itself is chosen by the twitter:card tag. Without that tag, X may show a smaller summary card rather than the large image card the publisher intended. A site that cares about X should add the Twitter Card layout tag as well, rather than relying on the fallback alone.

Messaging apps: WhatsApp, iMessage, Slack and Discord

Messaging apps also build previews from Open Graph tags, and they are where many links are first seen by a small group of people rather than a public feed. WhatsApp shows a preview card with the image, title and description, and it is reported to be the pickiest of the group about file size, with some developers reporting that images over roughly 300 KB get skipped. That figure is a reported observation, not a published limit from WhatsApp itself, and it should be treated as a reason to keep files light rather than as a hard rule. iMessage shows a large image bubble with the title and domain underneath. Slack shows the image under the title and description, scaled down. Discord shows a large image embed. All of them benefit from the same discipline: a central subject, large text, a light file and an absolute image address.

The practical lesson is to test the preview in the places the link will actually be shared. A card that looks strong on a desktop Facebook feed may be cropped hard in a WhatsApp chat. A card that reads well in Slack may lose its description in iMessage. No single preview check covers every surface, so check the two or three surfaces that matter most for the audience, and design the image and the opening words to survive the tightest of them.

Open Graph Compared With Twitter Cards

Twitter Cards and Open Graph are two systems for the same job: controlling how a shared link looks. They were built by different companies, at different times, for different platforms, and neither one fully replaced the other. That history explains why both still exist and why most sites need both.

Open Graph was created by Facebook in 2010 and is now the general standard read by many platforms. Twitter Cards were created by Twitter, now X, as its own system for controlling how links appear in tweets. The syntax differs in one small but important way. Open Graph tags use the property attribute, as in property equals og:title. Twitter Card tags use the name attribute, as in name equals twitter:title. The two sets sit side by side in the head of the page without conflict, because they use different attributes and different prefixes.

The table below summarises the differences as described in the sources opened for this article.

The working rule from the sources is simple: implement Open Graph completely first, then add Twitter Card tags for the extras, starting with twitter:card set to summary_large_image for content pages. That combination covers the widest set of platforms with the least duplication. The LinkTrixx generator outputs Open Graph tags only. It does not output Twitter Card tags. That limit must be stated plainly, because a reader who pastes only the generator output into a page will have Open Graph coverage and X fallback coverage, but not explicit Twitter Card layout control. Adding twitter:card by hand, beside the generated Open Graph tags, closes that gap when X matters for the page.

When to write different values for X

In most cases the same title, description and image serve both systems well, and the fallback does the work. Write different Twitter values only when there is a real reason: a different image crop that suits the wider X large card, a shorter title that fits the X layout better, or a description written for a fast moving timeline rather than a professional feed. Duplicating every value with identical text adds code without adding control. The one tag worth setting even when relying on the fallback is twitter:card, because it alone chooses the large image layout. Without it, the layout is left to the fallback, and the result may be a smaller card than intended.

Open Graph and Search Engine Optimisation

Open Graph tags are not a direct ranking factor for Google. That statement needs care, because it is often shortened into a claim that Open Graph does not matter for SEO at all. The fuller position, stated on the LinkTrixx tool page itself and supported by Semrush, is that Open Graph tags do not directly change Google rankings, but they change what happens after someone finds the page, and the clicks, visits, shares and links that follow can help rankings over time.

Google does not use Open Graph tags as a ranking signal in the way it uses relevance, quality and links. A page will not rise in search results because it added og:title. It may, however, earn more visits when its links are shared well, and more visits can lead to more mentions, more links from other sites and more signals that the page is useful. Those second order effects are real, but they are indirect and they cannot be promised for a single page. A good preview helps a good page travel further. It does not rescue a thin page, and it does not replace links from other sites.

The indirect path, stated honestly

The indirect path runs through human behaviour. A clear preview is more likely to be clicked than a blank or confusing one. A clicked link is more likely to be read, shared again or linked to from another page than a link that is never opened. A link from a real publication, earned because the page was easy to understand and easy to share, is a ranking signal in its own right. That chain is why Open Graph belongs in basic on page work, and why it sits naturally beside link building services that earn editorial links, white label link building for agencies that deliver links under their own brand, and the SERP Preview Tool that checks how a page looks in Google search results. Search visibility earns the ranking. Social previews earn the click after the ranking, and the share after the click. Both halves matter, and neither half replaces the other.

There is one more indirect benefit worth naming. A consistent preview builds brand recognition. Readers who see the same site name, the same image style and the same clear wording across many shares learn what to expect from the source. That recognition makes the next share more likely to be clicked, even before the reader has read the title closely. Brand consistency across previews is a slow effect, built over many shares, not a result that appears from one corrected tag.

What Open Graph does not do

Open Graph does not control the search result snippet. Google builds the search snippet mainly from page content and the meta description, and it may rewrite the title link from the title element, the main heading, og:title and other prominent text. Setting og:title well gives Google one more consistent signal, but it does not fix a search title that is too long, stuffed with keywords or mismatched with the page. For search display, use the Meta Tag Generator and the SERP Preview Tool, and read the guides at How to Use a Meta Description Checker and Free Meta Description Checker vs Paid SEO Tools for the search side of the work, and the guide at What Is a Title Tag Checker for the title side. Open Graph also does not add structured data for search, does not replace a sitemap, and does not make a page eligible for a rich result. It is a sharing protocol, and it should be judged as one.

Common Mistakes That Break Previews

Most broken previews trace back to a small set of errors. The list below covers the patterns seen most often in guides and in practice, with the fix for each one.

How to Add Open Graph Tags to a Page

There are three common routes to a correct set of tags: a template or SEO plugin that writes them automatically, hand written tags in the head of the page, and a generator that builds the tags from values typed into a form. The right route depends on the site, but the end result is the same in every case: five core tags in the head, with true values, checked before the page is shared.

Route one: template or SEO plugin

Many content management systems and SEO plugins write Open Graph tags automatically from the page title, description, featured image and address. That automation is convenient, and it keeps tags consistent across many pages, but it must be checked page by page. Automation that copies the search title into og:title and the featured image into og:image is a good starting point. It can still go wrong when the featured image is portrait shaped, when the search title is written for Google rather than for sharing, or when a page has no featured image and the plugin falls back to a site logo. Open a sample page from each template, read its head tags, and confirm that each value is the one a reader should see in a share.

Route two: hand written tags

Hand written tags give full control. The tags go in the head of the page, beside the title element and the meta description, in this order for readability: og:title, og:description, og:image, og:type and og:url. Keep the values free of markup, keep the image address absolute, and keep the type value to one of the values the protocol defines. Hand writing is practical for a small site or a single landing page. It does not scale well to a site with hundreds of pages, where a template is safer because it prevents a page from being published with no tags at all.

Route three: a generator, then paste and check

A generator is the middle route. Type the values into a form, read the tags it builds, and paste them into the head of the page. The Free Open Graph Generator from LinkTrixx builds the five core tags live as values are typed, with no signup and everything running in the browser. The companion guide, How to Use an Open Graph Generator Step by Step, walks through the tool with the exact inputs and outputs from a live observation, including what happens when the image address is left blank. Use the generator to draft the tags, then read the output line by line before pasting. A generator saves typing. It does not replace the check that the values are true, the image address loads, and the type matches the page.

Whichever route is used, the final step is the same. Publish the page, fetch it through the platform debugger for the surface that matters most, and look at the preview with fresh eyes. Ask whether a stranger would understand the page from the card alone, whether the image matches the topic, and whether the description gives a reason to click. If any answer is no, fix the tag, ask for a fresh fetch, and check again. A preview that has been checked once is not checked forever. A new featured image, a new title or a template change can break it again, so recheck the pages that earn the most shares after any template change.

Checking and Refreshing a Preview

Checking a preview is a separate step from writing the tags, and it needs the platform tools, not just a look at the code. The two tools named most often in the sources opened for this guide are the Sharing Debugger from Meta, for Facebook, and Post Inspector from LinkedIn, for LinkedIn. Both tools fetch the page again, show the preview the platform will build, and list the tags they found and any warnings. Semrush describes the Sharing Debugger as the tool to test Open Graph tags for Facebook, with the page address entered and the Debug action run, and Post Inspector as the equivalent for LinkedIn, with the address entered and Inspect run. The developer guide opened for this article describes the Sharing Debugger in the same terms, and adds that the Scrape Again action forces a fresh crawl, which matters because Facebook caches metadata aggressively.

For X, the position has changed over time, and the sources opened for this guide do not agree on a single current validator. Semrush notes that X no longer provides a link preview in its card validator and suggests using the post composer to see how content will appear. Treat that as a reason to test X previews by drafting a post, rather than by relying on a validator that may no longer exist in its old form. For messaging apps, the honest test is to send the link to a private chat or a test group and look at the card that appears, on a phone as well as on a desktop, because the crop and the text length differ by device.

A short check before a page is shared widely

Before a page is shared in a campaign, a newsletter or a client report, run through this short check in words, not as a feature of any one tool. Confirm that every tag value is the full and correct value, with an absolute address for the image and for the page. Confirm that the image loads from a public address, that it is 1200 by 630 pixels or close to it, and that its main subject survives a centre crop. Confirm that the title reads as a standalone headline and the description reads as a standalone summary, with the point in the first words of each. Confirm that og:type matches the page, website for a service or general page and article for a blog post. Fetch the page through the debugger for the main platform, look at the preview, and ask for a fresh fetch if the preview shows old values. Send the link to a test chat and look at it on a phone. Only then share it widely. That sequence takes a few minutes and prevents the most common public error in sharing, which is a campaign link that shows the wrong image to every recipient at once.

Writing Titles and Descriptions for Sharing

Sharing copy is a small piece of writing with a large job. It must work in a feed, in a chat and on a small screen, beside content the publisher does not control. A few habits make it consistently stronger.

Lead with the outcome, not with the brand or the category. A title that begins with the result the reader will get, or the question the page answers, earns attention faster than a title that begins with a company name or a generic label. Keep the title specific. A title that could belong to any page in the niche, such as a title that only names the topic, gives no reason to choose this page over the next link in the feed. Name the angle, the audience or the decision the page helps with, in plain words.

Write the description as a promise the page keeps. Name what the page explains, who it is for, and what the reader will be able to do after reading it. Avoid superlatives that the page cannot prove, avoid a list of keywords in place of a sentence, and avoid repeating the title word for word. One clear sentence, followed by a second sentence that adds a detail or a boundary, is usually enough. If the description needs three sentences to make sense, the page promise may need sharpening, not the description lengthening.

Match the sharing copy to the page, not to the campaign. A card written to win a click for a promotion will disappoint readers if the page is a guide, and a card written as a guide will underperform if the page is a service page with a clear offer. The card is a contract with the reader. The page must honour it in its first screen, or the reader will leave and the share will have cost trust rather than earning it. That match matters more than any single wording trick, because trust compounds across shares while a misleading card is remembered for the wrong reason.

Conclusion

Open Graph is a small protocol with an outsized effect on how content travels. Five tags decide the title, description, image, address and type that platforms show when a link is shared. Facebook created the protocol in 2010 to standardise that display. The protocol now shapes previews on LinkedIn, X, WhatsApp, Slack, Discord and iMessage, with each platform adding its own layout, crop and cache rules on top of the same tags.

The work is not large, but it is exact. Choose a sharing title that stands alone, a description that puts the point first, an image of 1200 by 630 pixels at a full public address, a canonical page address, and a type that matches the page. Add Twitter Card layout control when X matters. Check the preview through the platform debugger, ask for a fresh fetch when the stored copy is old, and look at the card on a phone before sharing widely. Keep the tags honest, keep them consistent with the page, and keep them checked after template changes.

To build a correct set without typing the tags by hand, open the free Open Graph Generator, type the five values, read the generated tags, and paste them into the head of the page. Then read the companion guide, How to Use an Open Graph Generator Step by Step, for the exact worked example and the blank image case. Pair the sharing check with the search check in the SERP Preview Tool, and with the title and description work in the Meta Tag Generator. A page that looks right in search and looks right when shared has two chances to earn the click, and both chances are worth the few minutes the checks take.

Frequently Asked Questions

What is Open Graph in simple terms?

Open Graph is a protocol that lets a web page state the title, description, image, address and type that social platforms and messaging apps should show when the page is shared. The tags live in the head of the page, platforms read them when they fetch the link, and they build a preview card from the values they find. Without the tags, each platform must guess those values from the page itself.

Which Open Graph tags are required?

The Open Graph protocol lists four required properties for every page: og:title, og:type, og:image and og:url. In practice most publishers also set og:description, which the protocol lists as optional but generally recommended, because a preview without a description looks unfinished on many platforms. The LinkTrixx generator builds all five tags, which is the working set used through this guide.

What size should an Open Graph image be?

Use a wide image of 1200 by 630 pixels, at a 1.91 to 1 aspect ratio, in JPEG or PNG format, served over HTTPS at a full public address. That size is recommended by Semrush for most social platforms and matches the guidance from Meta for high resolution displays. Keep the file reasonably small, keep the main subject and any text away from the edges, and keep the image matched to the page topic.

Do Open Graph tags affect Google rankings?

Not directly. Google does not use Open Graph tags as a ranking factor. A page that looks good when shared can earn more clicks, visits, shares and links, and those effects can help rankings over time, but the effect is indirect and cannot be promised for a single page. Open Graph should be judged as sharing work that supports SEO, not as a ranking technique on its own.

What is the difference between Open Graph and Twitter Cards?

Open Graph is a general protocol created by Facebook and read by many platforms, using the property attribute and the og prefix. Twitter Cards are a separate system created by Twitter, now X, using the name attribute and the twitter prefix, and read by X only. X falls back to Open Graph tags for title, description and image when its own tags are missing, but only the twitter:card tag chooses the large image layout. Most sites should set Open Graph completely first, then add twitter:card for X.

Why does a shared link show an old title or image?

Platforms store a copy of the preview when they first fetch a page, and they reuse that stored copy for later shares. A corrected tag will not change the stored preview until the cache expires or the platform is asked to fetch the page again. Use the Sharing Debugger for Facebook or Post Inspector for LinkedIn to fetch the page again, check that the preview now shows the new values, and allow for the fact that posts already shared may keep the old preview.

We scale your organic traffic with editorial content & natural link building.

Tell us your site and your competitors — we come back with a free link plan, a site list and a custom quote.