DA

Free tool

Open Graph preview: test how your link looks when it’s shared

Open Graph tags decide the card people see when your link is shared on Facebook, LinkedIn, X or iMessage. Add a title, description and image, see roughly how the card looks, catch what’s missing, then copy the tags.

45 / 60 characters

132 / 160 characters

Recommended 1200 × 630 px (1.91 : 1), under 5 MB, JPG or PNG.

  • Add an image. Without one, your link gets a small card that’s easy to miss.

Previews (approximate: each platform changes its layout now and then)

Facebook & LinkedIn
No image
EXAMPLE.DKBakery on the Corner: sourdough every morningFresh sourdough, cinnamon buns and coffee in the middle of Aarhus. Open every day from 7 am. Order ahead for pick-up on the website.
X
No image
Bakery on the Corner: sourdough every morning
example.dk
iMessage
No image
Bakery on the Corner: sourdough every morningexample.dk
Meta tags
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.example.dk">
<meta property="og:title" content="Bakery on the Corner: sourdough every morning">
<meta property="og:description" content="Fresh sourdough, cinnamon buns and coffee in the middle of Aarhus. Open every day from 7 am. Order ahead for pick-up on the website.">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Bakery on the Corner: sourdough every morning">
<meta name="twitter:description" content="Fresh sourdough, cinnamon buns and coffee in the middle of Aarhus. Open every day from 7 am. Order ahead for pick-up on the website.">

What are Open Graph tags?

Paste a link into Facebook, LinkedIn, Slack, Messenger, WhatsApp or iMessage, and the app fetches the page and looks for Open Graph tags: og:title, og:description, og:image and og:url in the page’s <head>. They decide the card people see before they click.

X reads its own twitter: tags first and falls back to Open Graph. Set both, as this tool does, and you get the same card everywhere.

How to test your share card

  1. Type the title and description you want on the card.
  2. Paste the full https:// address of your share image and of the page.
  3. Check the previews for Facebook and LinkedIn, X and iMessage, and read any warnings: missing fields, text too long, an image that’s too small or the wrong shape.
  4. Copy the meta tags and paste them into the <head> of the page.

Open Graph image size: 1200 × 630

Use an image of 1200 × 630 pixels (a 1.91 : 1 ratio), as JPG or PNG. That size is sharp on every platform and isn’t cropped on Facebook or LinkedIn. Keep text and faces away from the edges; some apps crop to a square.

Keep the file small. X accepts up to 5 MB, but messaging apps can skip a heavy image, and a smaller file loads faster everywhere. Our image compressor gets a photo well under 1 MB without visible loss; pick JPEG, since not every app shows WebP in a share card.

og:image must be a full address starting with https://. A relative path like /images/share.jpg won’t work.

Title and description length

Keep the title under about 60 characters and the description under about 160. Longer text gets cut, and many cards hide the description altogether, so put the point first. The same limits work in Google, so you can often reuse the text you wrote for how your website looks on Google.

Example: a bakery’s share card

A bakery in Aarhus shares its home page. A card that works:

  • og:title: “Bakery on the Corner: sourdough every morning”
  • og:description: fresh bread, the opening hours and how to order, in one or two sentences
  • og:image: a 1200 × 630 photo of the counter, no text near the edges
  • og:url: the page’s full https:// address, on your own domain

Changed the tags, but the old card still shows?

Platforms cache link cards. Facebook’s Sharing Debugger and LinkedIn’s Post Inspector let you fetch the page again. X, WhatsApp and iMessage refresh on their own after a while.

Common mistakes

  • No og:image, so the link gets a small card that’s easy to miss.
  • A relative image path instead of a full https:// address.
  • An image behind a login, one that’s too small, or one so heavy the app gives up.
  • The same generic card on every page, even the ones people share most, like a blog post or an offer.

Frequently asked questions

Usually og:image is missing, uses a relative path, points to a file behind a login, or is too small. Use a public https:// address to an image of at least 1200 × 630.

1200 × 630 pixels, a 1.91 : 1 ratio, as JPG or PNG. Keep the file well under 1 MB with the image compressor, so every app loads it.

No, they are approximate. Each platform changes its layout, font and cropping now and then. The tags are what count, and those are exact.

Not necessarily. One good image for the whole site beats none by far. Pages that get shared a lot, like a menu or an offer, deserve their own.

No. Google uses your title and meta description and its own pick of images. Open Graph is for social media and chat apps, where a good card gets more clicks.

Read on

More free tools

May we use Google Analytics to see which pages get read? It sets cookies and sends details of your visit to Google, including in the US. We don’t use it for advertising. About cookies