Open Graph Tags Guide: Control How Your Links Look When Shared

When someone shares your link on Facebook, LinkedIn, WhatsApp, Slack or X, the app shows a preview card with an image, a title and a short description. Open Graph tags let you control that card. Without them, apps guess – and often pick a random logo, a cookie banner text or no image at all.

Free tool
Make a 1200 × 630 share image
Add your title, logo and background, download PNG or JPG and copy the og:image meta tags. Free OG image maker.
Open OG Image Maker →

The Open Graph tags you need

TagWhat it doesExample
og:titleHeadline of the cardHow to Make a QR Code
og:descriptionOne or two lines under the titleFree, no signup, never expires
og:imageThe preview imagehttps://example.com/og/qr-guide.png
og:urlThe canonical page addresshttps://example.com/qr-guide/
og:typeKind of contentarticle or website
og:site_nameYour brandTechpass Master
twitter:cardCard style on Xsummary_large_image

X (Twitter) falls back to Open Graph tags for title, description and image, so you rarely need separate Twitter tags apart from twitter:card.

The perfect og:image

  • Size: 1200 × 630 px (1.91:1). It looks sharp on high-resolution screens.
  • Format: PNG for text and logos, JPG for photos. Keep it under about 1 MB.
  • Safe area: some apps crop to a square or a narrower shape – keep the title and logo near the centre.
  • Text: short and large. A 6–8 word title is readable even in small chat previews.
  • Branding: your logo or colours so people recognise your links.

Create one in a minute with our OG Image Maker.

How to add Open Graph tags

WordPress

SEO plugins add Open Graph tags automatically from your title, excerpt and featured image. Most also have a Social tab on each post where you can upload a custom share image and text.

Other platforms

Shopify, Wix and Squarespace use your SEO title, description and social image settings. For custom sites, add the tags to the <head> of each page. Our Meta Tag Generator creates them for you.

Why is the wrong image showing?

  • Cache: platforms store previews. Use the platform’s tools to refresh: Facebook Sharing Debugger, LinkedIn Post Inspector. Then share again.
  • Image too small or blocked: very small images, images behind a login or blocked in robots.txt are ignored.
  • Relative URL: og:image must be a full https URL.
  • Several og:image tags: a theme and a plugin may both add tags – the first one usually wins.
  • WhatsApp: caches previews too; adding a version parameter to the URL (for example ?v=2) forces a new preview.

Does Open Graph help SEO?

Not as a ranking factor. But attractive previews get more clicks and shares, which brings more visitors and more chances of links – a real indirect benefit.

Quick checklist

  • One clear og:title and og:description per page
  • A 1200 × 630 og:image with an absolute URL
  • twitter:card set to summary_large_image
  • Tested in Facebook Sharing Debugger and LinkedIn Post Inspector

FAQ

What is the best Open Graph image size?

1200 × 630 pixels.

Do I need Twitter card tags as well as Open Graph?

Only twitter:card. X uses your Open Graph title, description and image.

How do I update a link preview on Facebook?

Paste the URL into the Facebook Sharing Debugger and click Scrape Again.

Why does WhatsApp show no image?

The og:image may be missing, too large, behind a redirect or blocked. Use a public https image under about 1 MB.

Can each blog post have its own share image?

Yes – and it is recommended. Set a featured or social image per post in your SEO plugin.

Free tool
Try the free OG Image Maker
No signup and nothing uploaded – it runs right in your browser. Browse all 74 free tools on our Free Tools page.
Open OG Image Maker →

Need a website or app for your business? Talk to Techpass Master – we design and build websites and apps for clients worldwide.

WhatsApp us📞 Call now