Open Graph Tag Preview

Preview your Open Graph link card and generate the meta tags.

Free Open Graph tag preview tool. See how your link will look when shared on Facebook, LinkedIn and Slack, and copy ready-made og meta tags. Runs entirely in your browser — nothing is uploaded. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

What size should an og:image be?

The recommended Open Graph image size is 1200 by 630 pixels, a 1.91 to 1 ratio. This displays as a large card on Facebook and LinkedIn without cropping.

When someone shares your link on Facebook, LinkedIn, Slack or Discord, the preview card they see is built from the Open Graph meta tags in your page’s <head>. This tool shows that card live as you type and generates the exact og: tags to copy and paste — so you can check the result before publishing rather than after the link is already out in the wild.

How it works

Open Graph is a metadata protocol (originally from Facebook, now an open standard) that lets any page declare how it should appear when shared. Crawlers read four core properties:

TagPurpose
og:titleThe card headline
og:descriptionThe supporting line under the title
og:urlThe canonical link the card points to
og:imageThe thumbnail or large preview image

You fill in those values; the preview re-renders instantly and the tool emits the matching <meta property="og:..." content="..."> lines. Paste them into your <head> and crawlers will build the same card you see here.

Worked example

For a blog post you might enter an og:title of “How we cut our build time in half”, an og:description summarising the post, the canonical og:url, and an og:image URL. The tool then generates:

<meta property="og:title" content="How we cut our build time in half" />
<meta property="og:description" content="A practical write-up..." />
<meta property="og:url" content="https://example.com/blog/faster-builds" />
<meta property="og:image" content="https://example.com/og/faster-builds.png" />

Use a 1200×630 image (a 1.91:1 ratio) for the cleanest large card without cropping, and keep titles under about 60 characters so they are not trimmed. Everything runs locally in your browser; nothing you enter is uploaded.

Image sizing and platform quirks

The recommended 1200×630 px image renders as a large card on Facebook and LinkedIn. Platforms that show a smaller thumbnail (like WhatsApp) crop the image to a square from the center, so put your key visual in the middle third.

PlatformPreferred image sizeCard style
Facebook1200 × 630 pxLarge card
LinkedIn1200 × 627 pxLarge card
Slack1200 × 630 pxInline preview
Discord1200 × 630 pxInline embed
WhatsApp300 × 200 px minimumSmall thumbnail

If you do not supply an og:image, most platforms show a blank grey box — a missed opportunity every time someone shares your link.

Why og:title and the page <title> differ

The HTML <title> element controls the browser tab and search engine result headline. It typically includes the site name — for example “How we cut build time in half | Acme Blog”. The og:title is the social card headline and works better without the site name, because the card already shows the domain. Many teams write a punchier, more specific og:title than the HTML <title>.

Refreshing cached cards

Platforms cache the first preview they fetch and can hold it for days. After updating your Open Graph tags, use the platform’s own scraping tool to force a refresh:

  • Facebook: Sharing Debugger at developers.facebook.com/tools/debug
  • LinkedIn: Post Inspector at linkedin.com/post-inspector
  • Twitter/X: Card Validator at cards-dev.twitter.com/validator

These tools re-fetch the page and reset the cache so the next share shows the updated card.