Link previews: Open Graph tags and share images
Want this checked on your own domain?
Join the waitlistUpdated
Message for whoever manages your website
Hi, could you check how our website looks when people share it?
- The homepage should have Open Graph tags: og:title, og:description, og:image, og:url, and og:type.
- 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:
| Platform | What its documentation says |
|---|---|
| At 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 | |
| At least 1200 × 627; ratio 1.91:1; at most 5 MB; images under 401 pixels wide show as a thumbnail | |
| X | Under 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.
- 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.
- Upload it to your site and copy its full address, starting with
https://. - Add
og:imagewith that address, andog:image:altdescribing the image; the Open Graph protocol says a page that specifies an image should specify its alt text. - Add
og:image:widthandog: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.
- Open the image address in a private browser window. It must load without signing in.
- 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.
- Check that the server sends an image content type, such as
image/jpegorimage/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
| Property | Status | Notes |
|---|---|---|
og:title | Required | Title as it should appear in the preview |
og:type | Required | website for a homepage; Facebook defaults to website when absent |
og:image | Required | Image URL; repeatable, and the first tag wins in a conflict |
og:url | Required | Canonical URL, used as the permanent ID |
og:description | Optional | The protocol suggests one to two sentences; Facebook says usually two to four |
og:site_name | Optional | Name of the overall site |
og:locale | Optional | Format language_TERRITORY; default en_US |
og:image:alt | Optional | Should accompany og:image |
og:image:width, og:image:height, og:image:type | Optional | Structured 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 tag | Falls back to | Limit |
|---|---|---|
twitter:card | — (with og:type, og:title, and og:description present, a summary card may be shown) | summary or summary_large_image |
twitter:title | og:title | 70 characters |
twitter:description | og:description | 200 characters |
twitter:image | og:image | Under 5 MB; JPG, PNG, WEBP, GIF; no SVG |
twitter:image:alt | og:image:alt | 420 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.
- If none of
og:title,og:description, orog:imageis present: No link-preview tags. - If there is no
og:imageortwitter:image: Shared links show no image. - 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. - 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