You share a link to your new page on WhatsApp or LinkedIn and the preview shows the wrong image, a cropped logo, an old title or nothing at all. The page itself is fine; the problem is in a few lines of HTML called Open Graph tags. This guide explains what they do, which ones you need, and how to generate them with the free Meta Tag Generator.
What Open Graph tags are
When someone shares a link, the app fetches the page and looks for Open Graph (og:) tags in its `` to decide what to show. Facebook created the format, and WhatsApp, LinkedIn, Telegram, Slack and many others use it. X (Twitter) reads Open Graph too, plus its own twitter: tags.
Without these tags, apps guess: they take the first image they find (often a logo or icon) and the page title.
The tags you need
| Tag | What it controls |
|---|---|
| og:title | The bold title in the preview |
| og:description | The line of text under it |
| og:image | The preview picture |
| og:url | The canonical address of the page |
| og:type | website, article or product |
| twitter:card | On X: a small or a large image card |
The Meta Tag Generator writes all of these, plus the title, meta description and canonical tags, and shows a social preview and a Google preview as you type. It also escapes quotes and symbols so the tags never break your HTML.
The right image
- Size: 1200 × 630 pixels (ratio 1.91:1). This works on Facebook, WhatsApp, LinkedIn and X.
- Format: JPG or PNG, ideally under about 1 MB.
- Address: a full
https://URL that anyone can open, not a relative path like/images/share.png. - Safe area: keep text and faces near the centre; some apps crop the edges or show a square version.
- Text: a short headline on the image helps, but keep it large and readable on a phone.
Why the old preview still shows
Apps cache previews, sometimes for days. After fixing your tags:
- Facebook and WhatsApp: open Facebook's Sharing Debugger, enter the URL and click Scrape Again. WhatsApp often follows Facebook's refreshed data, but chats that already contain the link keep the old preview.
- LinkedIn: use LinkedIn's Post Inspector with the URL to refresh it.
- X: previews refresh on their own after a while; sharing the URL with a harmless query string (
?v=2) forces a fresh fetch.
Common problems and fixes
| Problem | Likely cause |
|---|---|
| No preview at all | Missing og: tags, or the page blocks bots or requires a login |
| Wrong image | og:image missing, so the app picked the first image on the page |
| Image does not load | Relative image URL, or the image is blocked by the server |
| Image cropped badly | Image not 1.91:1, or important content near the edges |
| Old title still shows | Cached preview: refresh it with the debugger tools |
WordPress and CMS sites
SEO plugins such as Rank Math and Yoast add Open Graph tags automatically from each post's SEO title, description and featured image. Set those fields instead of pasting tags by hand, and make sure every post has a featured image in the right size.
Related tools
- Check how the title and description look in Google with SERP Preview.
- Add structured data for rich results with the Schema Markup Generator.
- Read our guide on writing title tags and meta descriptions.
Common questions
Do Open Graph tags help SEO? Not directly for rankings, but better previews get more clicks when your links are shared.
Do I need both og: and twitter: tags? X reads og: tags, but twitter:card decides the card style, so add at least that one.
Is a meta keywords tag needed? No. Google ignores it.



