What happens when someone pastes your link
When a user pastes your URL into Facebook, LinkedIn, Slack, Discord, WhatsApp, iMessage, Microsoft Teams, or just about any modern messaging surface, the receiving platform fetches your page and looks for Open Graph (og:*) meta tags in the head. Those tags determine the preview card the platform renders: the image, the title, the description, the site attribution. Without them, you get plain text, a broken-looking thumbnail, or whatever scrape the platform can stitch together from raw page content. With them, your link looks intentional. This Open Graph checker shows you that card and checks your og:image size before anyone shares the link.
Open Graph started as a Facebook-only protocol in 2010 and has since become the de facto standard for nearly every social and messaging platform on the web. LinkedIn uses og:*. Slack uses og:*. Most chat apps fall back to og:* even when they have their own preferred tag set. So shipping clean Open Graph markup buys you good-looking previews almost everywhere with one block of HTML.
og:title, og:description, og:image and og:url
og:title is the bold headline that appears under the image. It can match your html title tag or differ; many sites use a cleaner, brand-free version for social. Aim for 60 characters or fewer to avoid truncation across platforms; LinkedIn cuts earlier than Facebook.
og:description is the smaller text under og:title. Aim for 100 to 160 characters. Below 100 looks thin; above 200 gets cut on most platforms. Like a meta description, write for the click, not for keywords; the platforms do not weigh keywords here.
og:image is the single highest-impact field. It is what the eye sees first in any feed. Without it, most platforms fall back to a header logo, a random scraped image, or no image at all (LinkedIn renders a tiny gray placeholder). Always set og:image with an absolute https URL.
og:url is the canonical URL of the page being shared. This prevents tracking parameters and session URLs from creating duplicate cached previews per query string. Set it to the same URL as your canonical link tag. Here is a complete block for an article page, including the optional image hints covered below:
<meta property="og:type" content="article" />
<meta property="og:site_name" content="Trailhead Outfitters" />
<meta property="og:title" content="How to Choose a Hiking Backpack" />
<meta property="og:description" content="Capacity, fit and frame type explained, with a packing list for day hikes and overnights." />
<meta property="og:url" content="https://www.trailhead.example/guides/hiking-backpack" />
<meta property="og:image" content="https://www.trailhead.example/og/hiking-backpack-1200x630.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Hiker on a ridge wearing a 40-litre backpack" />
<meta property="article:published_time" content="2026-09-14T08:00:00Z" />Getting the share image to 1200 by 630
Use 1200 pixels wide by 630 pixels tall (a 1.91:1 aspect ratio). This is the Facebook recommendation and works on every other platform that consumes Open Graph. Smaller images get upscaled and look fuzzy. Larger images get cropped or downscaled.
Keep file size under 8 megabytes (the Facebook hard limit) but aim for under 300 kilobytes for performance. Use JPG or PNG; GIF and WebP support is inconsistent across platforms. Avoid text-heavy images: many platforms reduce the image size in feeds and small text becomes unreadable. Bold focal imagery, a clear logo position, and at most a five-word headline work best.
Add og:image:width and og:image:height meta tags. They give platforms layout hints before the image finishes downloading, which prevents the card from reflowing and keeps the design consistent. Add og:image:alt with a short description for accessibility on platforms that read it aloud.
Choosing og:type: website, article or product
og:type tells the platform what kind of content this is. Default to "website" for landing pages and most content. Use "article" for blog posts and editorial content; some platforms render slightly richer cards for articles and read the article:* tags that come with it. Use "product" for ecommerce pages with price and availability, "profile" for person pages, and the music or video sub-types for media-specific pages.
Each type unlocks additional optional tags. article supports article:published_time, article:author, and article:tag. product supports product:price:amount and product:price:currency. These are not always rendered in previews but they enrich downstream platforms that consume the feed (RSS readers, news aggregators, AI search tools).
Where Open Graph ends and Twitter Cards and schema begin
These three are layered, not redundant. Open Graph covers Facebook, LinkedIn, Slack, and the long tail of modern messaging apps. Twitter Card covers X (Twitter) and a few adjacent platforms. Schema.org JSON-LD covers Google search and AI search systems (ChatGPT search, Perplexity, AI Overviews). For full coverage, ship all three; they do not conflict.
That said, Twitter falls back to Open Graph when Twitter Card tags are missing. So if your time budget is limited, ship complete og:* tags first; the og:image and og:title will carry through to most surfaces. Then add Twitter-specific tags (twitter:card, twitter:site) for the X-specific UX, which you can check in the Twitter card preview, and add Schema for search.
Stale previews, relative URLs and duplicate tags
Relative image URLs. Open Graph requires absolute URLs starting with https. A relative path like "/og.jpg" silently fails on every consumer. Always use the full domain.
Cached old previews. Once a platform has scraped your URL, it keeps showing that cached preview, and Facebook only re-scrapes on its own schedule (Meta says roughly every 30 days). If you change your og:image and resharing still shows the old one, paste the URL into the Facebook Sharing Debugger (developers.facebook.com/tools/debug) and click "Scrape Again": it shows exactly which tags Facebook read, flags missing or invalid ones, and refreshes the cache. LinkedIn's Post Inspector (linkedin.com/post-inspector) does the same for LinkedIn: it fetches the page fresh, shows the preview LinkedIn will use, and updates its cached copy.
Duplicate or conflicting tags. CMS plugins, theme defaults, and analytics scripts sometimes inject their own og:* tags alongside yours, leaving multiple og:title or og:image entries in the head. Most platforms pick the first occurrence, but the behavior is undefined. Use the browser inspector to confirm only one of each og:* tag is rendered, and remove duplicates at the source.
Always test before announcing. Paste your URL into a private Slack channel, a Facebook draft, and a LinkedIn message compose box (without sending) to see the real preview. The live render almost always reveals at least one issue the in-page preview missed.
Editing the card live, then copying the tags
The tool does two jobs. First, it renders a live preview card the way Facebook, LinkedIn, and Slack would draw it, so you can see the image crop, the title wrap, and the description trim before any platform caches them. As you edit og:title, og:description, and og:image, the card updates instantly, which turns guesswork into a design surface. Second, it generates the clean block of og:* meta tags for you to paste into your page head, so you do not have to remember the exact property names or the order they belong in.
The generator output uses absolute https image URLs, includes the width and height hints, and follows the 1200 by 630 default unless you change it. That means the markup you copy is already compliant with the rules that trip most people up. You still verify against a real platform afterward, because caching and moderation live outside your markup, but starting from correct tags removes the most common class of failure entirely.
Where to paste the tags on your platform
WordPress
Yoast SEO and Rank Math generate og:* tags for every post and page. Use the Social tab in the post editor to set a custom social title, description and image, and set a site-wide fallback image in the plugin's Social (Yoast) or Titles & Meta (Rank Math) settings. Only one plugin should output Open Graph; Jetpack and some themes add their own, which causes duplicates.
Shopify
Shopify themes output og:* tags from a snippet (often meta-tags.liquid) using the page title, SEO description and featured or first product image. Set the fallback share image in Online Store, Preferences, and edit each product's "Search engine listing" fields to control the title and description that flow into og:title and og:description.
Next.js, Astro and hand-coded sites
In Next.js, the openGraph field of the metadata export renders these tags on the server, and an opengraph-image file can generate a per-page image. In any framework, make sure the tags are in the initial HTML: Facebook, LinkedIn and Slack do not run JavaScript, so tags added client-side or through a tag manager are not seen.
Why the og:image fails more than any other tag
If a link preview looks broken, the image is almost always the reason. The failure modes are predictable. A relative path instead of an absolute https URL means no platform can resolve it. An image hosted behind authentication or a hotlink-protection rule returns a forbidden response to the platform's scraper even though it loads fine in your own browser. An image smaller than the recommended dimensions gets upscaled into a blurry mess. An image with the wrong aspect ratio gets cropped, often slicing off the headline text you carefully centered.
The preview here catches all of these by showing you the actual rendered crop rather than the raw file. If the card looks wrong in the preview, it will look wrong in the feed. The fix is usually to swap in a properly sized 1200 by 630 image served from a public https URL, keep any important text away from the edges, and confirm the file is light enough to load fast. An image that takes too long to fetch sometimes gets skipped by a platform's scraper, leaving you with a text-only card despite valid markup.
Open Graph beyond social feeds: AI answers and chat unfurls
Open Graph started as a social-sharing convenience, but today the same tags get consumed in more places than ever. AI search tools and chat assistants that surface links increasingly render an unfurled card, and they pull og:title, og:description, and og:image to build it, just like a messaging app does. A clean Open Graph block therefore shapes how your link looks not only in a feed but also when an AI engine cites you with a visual preview. Pages with no og:image become a flat text link in those surfaces, which earns far less attention.
The takeaway is to treat Open Graph as part of your core metadata rather than a nice-to-have for the marketing team. Every page you actually want shared or cited should carry a complete, accurate og:* set, and the image should communicate the page topic at a glance, because in a feed or an AI answer the image is read before the words. Using the preview to sanity-check that image at its real rendered size is the cheapest way to make sure your links look intentional wherever they end up.
Shipping Open Graph across templates, not just pages
The fastest way to get Open Graph wrong at scale is to set it once on the homepage and forget the templates. Blog posts, product pages, and category pages each need their own og:title, og:description, and ideally their own og:image, because a single site-wide image makes every shared link look identical and generic. Many sites solve this by generating a dynamic og:image per page that includes the page title baked into a branded template, so every share is distinct without manual design work.
Whatever approach you take, test the template with a real example from each page type rather than assuming the homepage result carries over. Use this preview on one representative blog post, one product, and one category page, confirm the per-page values resolve correctly, then trust the template for the rest. After any theme update, plugin change, or migration, re-test, because those are the moments a working og:* setup quietly reverts to a default or starts emitting duplicate tags that confuse the consuming platforms. Our meta tags guide explains how Open Graph fits with your title, description and canonical tags.