Skip to content

Open Graph image size: what Facebook, LinkedIn, X and Slack ask for

The og:image size each platform documents: 1200 x 630 for Facebook, 1200 x 627 for LinkedIn, 2:1 for X, plus file limits, the tags to add and how to refresh a stale card.

By Shortlen Editorial Updated 7 min read

The short answerUse a 1200 x 630 pixel image (a 1.91:1 ratio) in JPG or PNG under 5 MB. That matches Facebook's recommendation of at least 1200 x 630, LinkedIn's 1200 x 627 at 1.91:1, and fits X's summary_large_image card, which uses a 2:1 ratio and crops a little from the top and bottom. Keep text and logos away from the edges and set og:image:width, og:image:height and og:image:alt.

Key takeaways

  • 1200 x 630 pixels is the one size that satisfies Facebook, LinkedIn and X's large card; under 5 MB keeps it inside the strictest limit.
  • X's large image card is 2:1, so a 1200 x 630 image loses about 15 pixels at the top and bottom; keep important content in the middle.
  • LinkedIn shows images narrower than 401 pixels as small thumbnails, and Facebook shows small images much smaller.
  • Add og:image:width and og:image:height: Facebook says they help it render the image on the first share.
  • Platforms cache images by URL, so to change a card's image, publish it at a new address and refresh the preview.

When someone shares your link, the platform fetches your page, reads its Open Graph tags and builds a card: a picture, a title and a line of description. The picture does most of the work, and getting its size wrong means a cropped logo, a tiny thumbnail or no image at all. Each platform documents its own numbers, and they almost agree. This guide collects them from each platform’s own pages, as published on 24 October 2026, and gives one size that works everywhere.

What size should an Open Graph image be?

Use 1200 x 630 pixels, a ratio of about 1.91:1, saved as JPG or PNG under 5 MB. That one image meets Facebook’s and LinkedIn’s recommendations and fits X’s large card with a small crop.

PlatformRecommended sizeRatioMinimumFile limitSource
Facebook (and other Meta apps)At least 1200 x 630About 1.91:1200 x 200; 600 x 315 for the large post8 MBMeta for Developers
LinkedInAt least 1200 x 6271.91:1Below 401 px wide shows as a thumbnailUnder 5 MBLinkedIn Help
X (summary_large_image)Up to 4096 x 40962:1300 x 157Under 5 MBX Developer Platform (archived Feb 2026)
SlackNot documentedNot documentedNot documentedNot documentedSlack Developer Docs

X’s documentation also lists the formats it accepts: “JPG, PNG, WEBP and GIF formats are supported. Only the first frame of an animated GIF will be used. SVG is not supported.” Slack’s docs say it “looks for common OpenGraph and X (formerly known as Twitter) Card metadata” but give no image size, so an image that works for Facebook and X is the safe choice there too.

Which tags does a share card need?

The Open Graph protocol at ogp.me lists four required properties for every page: og:title, og:type, og:image and og:url. For the image, it also defines structured properties:

  • og:image:width and og:image:height: “The number of pixels wide” and high.
  • og:image:alt: “A description of what is in the image (not a caption).”
  • og:image:secure_url: an alternate address for pages that need HTTPS.

LinkedIn says it reads four tags: og:title, og:image, og:description and og:url. X reads its own twitter: tags first and falls back to Open Graph: its markup reference lists og:image as the fallback for twitter:image and og:title for twitter:title. To get the large card on X, add twitter:card with the value summary_large_image.

A complete set looks like this:

<meta property="og:title" content="Spring sale: 20% off" />
<meta property="og:description" content="Three days only, on every plan." />
<meta property="og:image" content="https://example.com/og/spring-1200x630.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Spring sale banner with 20% off in large type" />
<meta property="og:url" content="https://example.com/spring" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />

Our free Open Graph tag generator writes these tags for you and previews the card.

Where is the safe zone on a 1200 x 630 image?

No platform publishes a safe zone, but the ratios tell you where crops happen. A 1200 x 630 image shown at X’s 2:1 ratio becomes 1200 x 600, so about 30 pixels are lost, roughly 15 at the top and 15 at the bottom if the crop is centered. Platforms can also show the card smaller on phones, which makes small text unreadable.

Practical rules that follow from that:

  • Keep logos and text at least 60 pixels from every edge.
  • Use a few large words, not a paragraph. Aim for text you can read with the image at a third of its size.
  • Put the most important element in the middle third.
  • Avoid putting the title inside the image if it repeats the og:title; the card shows the title anyway.

Should every page have its own share image?

Yes, where you can. X’s documentation for the large image card is blunt about it: “You should not use a generic image such as your website logo, author photo, or other image that spans multiple pages.” A unique image per page tells people what they will get before they click, and it stops every link from your site looking the same in a feed.

You do not need a designer for each one. A simple system works:

Page typeShare image idea
Blog post or guideThe title in large type on a brand-colored background, plus one small illustration
Product pageThe product photo on a plain background, with the product name
Event pageDate, place and the event name, readable at thumbnail size
Home pageYour logo and one line on what you do (the one place a logo-led image fits)
Sale or campaignThe offer in a few words (“20% off, three days”)

Build one 1200 x 630 template per page type and swap the words. Save photos as JPG and images with text or flat colors as PNG, and compress them: a few hundred kilobytes loads faster for every crawler than a file near the 5 MB limit.

What should the alt text say?

Write alt text for the share image the way you would for any image: what it shows, in one sentence. The Open Graph protocol says that if a page specifies an og:image, “it should specify og:image:alt”, and describes it as “A description of what is in the image (not a caption).” X has its own twitter:image:alt tag, with a maximum of 420 characters, for people who use screen readers.

Good: “Spring sale banner with 20% off in large white type on a green background.” Weak: “banner” or a repeat of the page title.

Why does the image not show on the first share?

Facebook explains this directly. Its crawler caches image details the first time a page is shared, so “the first share may not render the image”. The fixes it gives: pre-cache the page through the Sharing Debugger, or set og:image:width and og:image:height so the image can render before it has been downloaded.

LinkedIn adds another cause: if the image meets the requirements but still does not appear, your site may be blocking LinkedIn from fetching it, or the image may sit in a protected directory. Check that your firewall, bot protection or login wall lets crawlers fetch both the page and the image.

Do square or small images work?

They work, but they lose impact. Facebook says the minimum is 200 x 200 pixels and suggests at least 600 x 315 for the larger link post; smaller images “display, but much smaller”. LinkedIn shows images narrower than 401 pixels as thumbnails beside the text instead of a wide picture above it. So a square logo as og:image tends to produce a small card on both.

If all you have is a square image, place it in the middle of a 1200 x 630 canvas with your brand color around it. It takes a minute and turns a thumbnail into a full-width card.

How do you change an image that is already cached?

Facebook says images are cached by URL. So:

  1. Save the new image under a new file name, for example spring-v2-1200x630.png.
  2. Update og:image (and twitter:image if you set it) to the new address.
  3. Leave the old image online: Facebook warns that existing shares may still reference it.
  4. Ask each platform to fetch the page again with its own debugging tool.

Updating the image does not change cards already posted; those have to be refreshed separately. Our guide to link previews not showing walks through the usual faults platform by platform.

Yes. When you share a short link, the platform follows it to your page and reads that page’s tags. But sometimes you want a different card for one campaign, or the destination page has no good image. BN Shortener lets you set a custom social preview on a link: an OG title, description and image (1200 x 630 recommended, with width and height), and separate X card settings that fall back to the OG values.

One trade-off to know: if you set a custom preview card, search crawlers get the preview page instead of the 301 redirect. Leave the card off links where the 301 matters for SEO. Our guide to whether short links hurt SEO explains why that matters.

A short link go.brand.com/guide passing through a 301 redirect to yourbrand.com, labelled single hop and HTTPS
A plain 301 short link passes visitors and crawlers straight to your page and its own share card.

What is the checklist for a good share image?

  • 1200 x 630 pixels, JPG or PNG, under 5 MB (ideally far less).
  • Text and logo at least 60 pixels from the edges, readable when small.
  • og:image is an absolute HTTPS address that opens in a private window.
  • og:image:width, og:image:height and og:image:alt are set.
  • twitter:card is summary_large_image if you want the big card on X.
  • Crawlers are not blocked by a login, firewall or bot challenge.
  • You checked the card in our link preview checker, which shows the card for WhatsApp, Facebook, LinkedIn, X and Slack.
  • A new image gets a new file name.

If links get flagged or lose their cards on social media, see why links get flagged on social media.

Start free

Write your tags with the free Open Graph tag generator and check them with the link preview checker. When you want short links with their own share cards, start free at b1.lc: the free plan includes 100 new links a month. Pro is $15 a month ($144 a year).

Sources

  1. The Open Graph protocol, ogp.me, undated. Checked 2026-10-24.
  2. Images in link shares, Meta for Developers, undated. Checked 2026-10-24.
  3. Make your website shareable on LinkedIn, LinkedIn Help, undated. Checked 2026-10-24.
  4. Summary card with large image (archived copy, captured 4 February 2026), X Developer Platform, 2026-02-04. Checked 2026-10-24.
  5. Cards markup tag reference (archived copy, captured 1 February 2026), X Developer Platform, 2026-02-01. Checked 2026-10-24.
  6. Unfurling links in messages, Slack Developer Docs, undated. Checked 2026-10-24.

Questions people also ask

What is the best Open Graph image size?

1200 x 630 pixels. Facebook asks for at least 1200 x 630 at about 1.91:1, LinkedIn for at least 1200 x 627 at 1.91:1, and X's large card accepts it with a slight crop to 2:1. Keep the file under 5 MB in JPG or PNG.

What is the minimum og:image size?

Facebook's minimum is 200 x 200 pixels, and it suggests at least 600 x 315 for the larger link post. X's large card needs at least 300 x 157. LinkedIn shows images narrower than 401 pixels as thumbnails. Small images work, but look poor.

What is the maximum file size for an og:image?

Facebook allows up to 8 MB, LinkedIn asks for under 5 MB and X says images must be less than 5 MB. Aim well under 5 MB, ideally a few hundred kilobytes, so the image loads fast for every crawler.

Does X use og:image?

Yes, as a fallback. X's markup reference lists og:image as the fallback for twitter:image, and og:title and og:description for the title and description. Add twitter:card with the value summary_large_image to get the large card.

Can I use an SVG or animated GIF as the share image?

Not reliably. X says SVG is not supported and only the first frame of an animated GIF is used. Use a JPG or PNG for the share image.

I changed my og:image but the old picture still shows. Why?

Platforms cache the image. Facebook says images are cached by URL, so publish the new image at a new address, update og:image, and ask Facebook's Sharing Debugger to scrape the page again. Existing shares may keep the old image.

Try it on your next link

The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.