In this article
What Open Graph tags are
Open Graph is a set of meta tags, introduced by Facebook, that describe how a page should look when shared. WhatsApp, Facebook, LinkedIn, Telegram, Slack, Discord and many others read them. X (Twitter) uses its own “Twitter Card” tags but falls back to Open Graph.
The essential tags
| Tag | Purpose |
|---|---|
og:title | Headline on the card |
og:description | One or two lines of summary |
og:image | The preview picture, the most important part |
og:url | The canonical address of the page |
og:type | website, article, product and so on |
twitter:card | summary_large_image for a big picture on X |
The image: size and design
- Size: 1200 × 630 pixels (about 1.91:1) works across almost every platform.
- Keep key content central: some apps crop to a square or a narrower shape.
- Large, readable text: previews are small on phones.
- File size: keep it under about 1 MB as JPG or PNG, some apps skip heavy images.
- Absolute URL:
https://yoursite.com/images/share.jpg, not/images/share.jpg.
Prepare the image with Resize Image and shrink it with Compress Image.
How to generate the tags
- Open the Open Graph Generator.
- Fill in title, description, image URL, page URL and type.
- Watch the live share-card preview update.
- Copy the tags, Twitter Card tags are included, into your page’s
<head>.
The tool warns about relative URLs and missing images, the two most common reasons previews fail.
Old preview still showing?
Platforms cache previews. After changing tags:
- Facebook: use the Sharing Debugger and click “Scrape Again”.
- LinkedIn: use the Post Inspector to refresh.
- WhatsApp: caches for a while; adding a harmless parameter like
?v=2to the link when testing forces a fresh preview.
Titles and descriptions for sharing
Social titles can be a little more conversational than search titles: “Fresh mango cheesecake, order by Friday” works better in a family WhatsApp group than a keyword-heavy SEO title. Keep descriptions to one or two short sentences; many apps show only the first line, and some show none at all on small screens.
Each page deserves its own card
Use a specific image and title for important pages, products, articles, events, rather than one generic site image. A product photo and price-led title get far more clicks in group chats than a logo.
WordPress
SEO plugins such as Yoast and Rank Math add Open Graph tags automatically and let you set a social image per post. Use the generator for static pages, landing pages and to check what a good set of tags looks like. For search snippets, see the Meta Tag Generator.
Frequently asked questions
Why does my link show no image when shared?
The page may be missing an og:image tag, or the image is too small or blocked.
What image size is best for link previews?
1200 by 630 pixels works well for most platforms.
How do I refresh an old preview?
Use the Facebook Sharing Debugger to scrape the page again. WhatsApp may take time to update its cache.
What tags control the preview?
og:title, og:description, og:image and og:url.
Do previews affect clicks?
Yes. A clear title and image make people more likely to open the link.
Why is my WhatsApp link preview not showing an image
The og:image is missing, too large, not on https, or blocked from crawlers. Use a JPG or PNG under about 300 KB on a public https URL.
How long does it take for a new preview to appear
Platforms cache previews for days. Force a refresh with their debugging tools, or add a small query string to the shared link.