What are Open Graph tags?
Open Graph tags tell social platforms and messaging apps which title, description and image to show when someone shares your link. Without them, platforms guess, and the preview often looks broken or picks the wrong image.
| Tag | What it controls |
|---|---|
| og:title | The headline in the preview |
| og:description | The short text under the headline |
| og:image | The large preview image |
| twitter:card | The layout of the preview on X |
Tips for better link previews
Use a 1200 × 630 image
This size works well across Facebook, LinkedIn and X.
Put text in the middle
Some apps crop the edges, so keep important text centred.
Write for sharing
Your share title can be more inviting than your SEO title.
Refresh the cache
Platforms cache previews. Use their sharing debuggers after you make changes.
Frequently asked questions
Why does my link show the wrong image?
Usually because og:image is missing or the platform cached an old version. Add the tag, then refresh the cache with the platform’s sharing debugger.
What image size should I use?
1200 × 630 pixels is a safe choice for most platforms.
Do I need Twitter Card tags too?
X can fall back to Open Graph tags, but adding twitter:card makes sure it shows a large image preview.
Is this exactly how the preview will look?
It’s a close approximation. Each platform changes its layout from time to time and on different devices.