Learn/Search & sharing

Link previews: Open Graph tags and share images

Open Graph tags decide what people see when your site is shared. Give the homepage a title, description, image, and address.

Want this checked on your own domain?

Join the waitlist

Updated

Message for whoever manages your website

Hi, could you check how our website looks when people share it?

  1. The homepage should have Open Graph tags: og:title, og:description, og:image, og:url, and og:type.
  2. og:image should point, with a full https:// address, to a JPEG or PNG of at least 1200 × 630 pixels and under 5 MB that loads without signing in.

Thank you.

Want this checked on your own domain? Join the waitlist.

Check yours

Run the full report (join the waitlist for access); it shows the title, description, and image an app would use. Meta’s Sharing Debugger shows exactly which tags Facebook’s crawler reads, with any errors.

Fix it

If your site builder or SEO plugin has social sharing settings, set the title, description, and image there. Otherwise, add the tags to the homepage’s <head>:

<meta property="og:title" content="Example Bakery">
<meta property="og:description" content="Sourdough, pastries, and custom cakes baked daily in Springfield.">
<meta property="og:image" content="https://example.com/images/share.jpg">
<meta property="og:image:alt" content="Fresh sourdough loaves on a wooden table">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:url" content="https://example.com/">
<meta property="og:type" content="website">

The image. Platforms document different limits:

PlatformWhat its documentation says
FacebookAt least 1200 × 630 for the best display on high-resolution screens; at least 600 × 315 for the large format, smaller images show much smaller; minimum 200 × 200; at most 8 MB; keep close to 1.91:1 to avoid cropping
LinkedInAt least 1200 × 627; ratio 1.91:1; at most 5 MB; images under 401 pixels wide show as a thumbnail
XUnder 5 MB; JPG, PNG, WEBP, or GIF (first frame only); SVG not supported

A 1200 × 630 JPEG or PNG under 5 MB meets all three.

No link-preview tags

What it means. The homepage has none of og:title, og:description, or og:image. Apps fall back on their own guesses; Facebook, for example, says its crawler then uses internal heuristics to guess the title, description, and image.

Fix. Add the tags shown above, or fill in your platform’s social sharing settings. Include og:type and og:url: the Open Graph protocol lists title, type, image, and URL as required for every page, and Facebook treats og:url as the page’s canonical address, where likes and shares are counted.

Confirm. The report shows “Link previews look right”, and the Sharing Debugger shows your tags.

Shared links show no image

What it means. The page has some Open Graph tags but no og:image (or twitter:image), so shared links appear as text.

Fix.

  1. Make an image of 1200 × 630 pixels, JPEG or PNG, under 5 MB: your logo on a plain background, or a photo of your work.
  2. Upload it to your site and copy its full address, starting with https://.
  3. Add og:image with that address, and og:image:alt describing the image; the Open Graph protocol says a page that specifies an image should specify its alt text.
  4. Add og:image:width and og:image:height. Facebook uses them to render the image the first time a link is shared, before its crawler has processed the image.

Confirm. The report shows the image in its preview.

The preview image doesn’t load

What it means. The address in og:image didn’t return the image: it answered with an error such as 404 or 403, redirected to a web page, or returned something other than an image.

Fix.

  1. Open the image address in a private browser window. It must load without signing in.
  2. If it doesn’t, correct the address, re-upload the image, or remove whatever blocks it, such as a login, hotlink protection, or a firewall rule. LinkedIn notes that images don’t appear when a site blocks its crawler or the image sits in a protected directory.
  3. Check that the server sends an image content type, such as image/jpeg or image/png:
curl -sI https://example.com/images/share.jpg

Confirm. The command shows status 200 and content-type: image/…, and the report shows the image.

Refreshing previews that apps have already cached

Apps store what they fetched. Facebook’s crawler fetches a page’s tags when it is first shared and caches them, and caches images by their address, so a replaced image needs a new address. Run the page through Meta’s Sharing Debugger to make Facebook fetch it again. Previews in posts made earlier don’t update on their own.

Technical reference

Open Graph properties

PropertyStatusNotes
og:titleRequiredTitle as it should appear in the preview
og:typeRequiredwebsite for a homepage; Facebook defaults to website when absent
og:imageRequiredImage URL; repeatable, and the first tag wins in a conflict
og:urlRequiredCanonical URL, used as the permanent ID
og:descriptionOptionalThe protocol suggests one to two sentences; Facebook says usually two to four
og:site_nameOptionalName of the overall site
og:localeOptionalFormat language_TERRITORY; default en_US
og:image:altOptionalShould accompany og:image
og:image:width, og:image:height, og:image:typeOptionalStructured properties of the preceding og:image

Tags use <meta property="og:…" content="…">. Structured properties apply to the most recent og:image above them (Open Graph protocol, Arrays).

X cards

X reads its own twitter: tags and falls back to Open Graph:

X tagFalls back toLimit
twitter:card— (with og:type, og:title, and og:description present, a summary card may be shown)summary or summary_large_image
twitter:titleog:title70 characters
twitter:descriptionog:description200 characters
twitter:imageog:imageUnder 5 MB; JPG, PNG, WEBP, GIF; no SVG
twitter:image:altog:image:alt420 characters

These details come from X’s cards markup reference as last published on its developer site, in early 2026. Add <meta name="twitter:card" content="summary_large_image"> if you want X to show the large image format.

What the report checks

The report reads the final homepage after redirects, when it is an HTML page and the site doesn’t forward to another domain.

  1. If none of og:title, og:description, or og:image is present: No link-preview tags.
  2. If there is no og:image or twitter:image: Shared links show no image.
  3. It resolves the image address against the page, follows redirects, and requires status 200 with an image/ content type other than SVG, which X doesn’t support; otherwise: The preview image doesn’t load.
  4. Otherwise: “Link previews look right”.

For the preview it shows, the title comes from og:title, then twitter:title, then <title>; the description from og:description, then twitter:description, then the meta description. The report doesn’t judge the image’s dimensions or file size against the platforms’ limits.

Sources

Want this checked on your own domain?

Join the waitlist
Domain Readiness

Free checks for email, website, DNS, and registration, with plain-English fixes.

Domain Readiness™ (domainreadiness.com) is a service of Riviera Learning, LLC.