CoreCited
Technical

OG image size: the dimensions that work on LinkedIn, X, Facebook, Slack and WhatsApp

The right OG image size for each platform: dimensions, aspect ratios, file size limits, safe zones for text, and how to check your og:image tags.

AlexFounder & Developer12 min read

The short answer is 1200 x 630 pixels, a 1.91:1 ratio, saved as a PNG or JPEG well under 600 KB. Meta recommends that size for Facebook, LinkedIn asks for nearly the same, and it fits inside what X, WhatsApp and iMessage document. Now the caveat. No platform promises to show the whole image. X’s large card is 2:1, small previews shrink it, Apple advises against text in preview images at all, and Slack and Discord publish no image specs. This page gives the one OG image size, what each platform actually documents, and where to keep text so a crop cannot cut it.

Before you resize anything, look at what your page sends today. The free Open Graph checker reads your og:image and X card tags, checks the image they point to, and shows the link preview for LinkedIn, X, Facebook, Slack and WhatsApp. It draws the card from your tags; each app still has the final say on how it renders.

Key takeaways
1Use 1200 x 630 (1.91:1). It is Meta's recommended size, it clears LinkedIn's 1200 x 627 minimum, and it is close enough to X's 2:1 large card.
2File size is the tighter limit. WhatsApp asks for under 600 KB, while Facebook allows 8 MB and LinkedIn and X allow 5 MB.
3Keep text and faces in the middle, away from every edge. No platform publishes a safe zone, so this is practical guidance.
4Add og:image:width, og:image:height, og:image:type and og:image:alt. Meta says width and height let it show the image on the very first share.
5Slack and Discord document no image limits, and X has taken its Cards docs off its live site. Test a real share, not only the spec.
1.91:1
the image ratio Meta and LinkedIn both recommend
Meta; LinkedIn Help
8 MB
Facebook's file size limit for a link share image
Meta for Developers
600 KB
WhatsApp's ceiling, the tightest file limit we found
WhatsApp docs (Meta)
900 px
the minimum width Apple advises for iMessage preview images
Apple, Apr 2024

Each figure is a documented limit from the platform’s own page: Meta[1], LinkedIn[4], WhatsApp[7] and Apple[8]. No survey or study figures are used on this page.

The one OG image size that works almost everywhere

Definition · OG image
The picture named in a page’s og:image meta tag. The Open Graph protocol defines it as “An image URL which should represent your object within the graph”[12]. In practice it is the image that appears when someone pastes your link into a feed or a chat.

The 1200 x 630 figure is not folklore. It comes from Meta. Its page on images in link shares says: “Use images that are at least 1200 x 630 pixels for the best display on high resolution devices.” On shape, it says to “keep your images as close to 1.91:1 aspect ratio as possible to display the full image in Feed without any cropping”[1]. 1200 divided by 630 is 1.905, which rounds to 1.91.

Other platforms land close by. LinkedIn’s minimum is 1200 x 627 at the same 1.91:1 ratio[4], so 1200 x 630 clears it by three pixels of height. Apple advises images at least 900 pixels wide for iMessage previews[8]. WhatsApp wants 300 pixels or more in width[7]. X’s large card asked for a 2:1 ratio and at least 300 x 157[5]. One image at 1200 x 630 meets every documented minimum on that list.

Bigger is not better past this point. Every extra pixel adds bytes, and the strictest documented file limit is WhatsApp’s: the image “should be under 600KB in size”[7]. So check the exported file, not just its dimensions.

Two Meta pages, two different numbers
Meta’s separate sharing best-practices page says to use images “at least 1080 pixels in width” and recommends 1:1 images. Read the context: both lines are about image link ads[3]. For ordinary link shares, Meta’s images page and its 1200 x 630 figure are the ones that apply[1].

Open Graph image dimensions by platform

Every cell below is quoted from the platform’s own documentation, read on 6 October 2026. Where a platform says nothing, the cell says so. Many size charts online fill those gaps with numbers we could not trace to any platform.

OG image size by platform
From each platform's own docs, read 6 October 2026. Toggle columns to compare one limit at a time.
RecommendedMinimumRatioMax file sizeFormats
FacebookAt least 1200 x 630200 x 200 allowed; 600 x 315 for the large card1.91:18 MBJPEG, GIF or PNG (the og:image:type values Meta lists)
LinkedInNot stated beyond the minimum1200 x 627; under 401 px wide shows as a thumbnail1.91:15 MBJPG, PNG or GIF (animated: 300 frames or fewer)
X, summary_large_imageNot documented300 x 157 (max 4096 x 4096)2:1Under 5 MBJPG, PNG, WEBP or GIF (first frame only); no SVG
X, summary (small card)No current X sourceNo current X sourceNo current X sourceNo current X sourceNo current X source
WhatsAppNot documented300 px wide4:1 or narrower (width to height)Under 600 KBNot documented
iMessage (Apple Messages)At least 900 px wideUnder 150 px wide may be ignored or shown as an iconNot documentedPage 1 MB; images, icons and video 10 MB in totalNot documented
SlackNot documentedNot documentedNot documentedNot documentedNot documented
DiscordNot documentedNot documentedNot documentedNot documentedNot documented
Pinterest (Pins, not link cards)1000 x 1500Not documented2:320 MB desktop, 32 MB in appPNG or JPEG

Facebook

Meta sets three thresholds. “The minimum allowed image dimension is 200 x 200 pixels.” At least 600 x 315 is needed “to display link page posts with larger images”, and anything smaller “will still display in the link page post, but the size will be much smaller.” And 1200 x 630 or more is the size for high resolution screens. The file “must not exceed 8 MB”[1].

LinkedIn

LinkedIn’s help page is short and specific: “Minimum image dimensions: 1200 (w) x 627 (h) pixels”, a “Recommended ratio: 1.91:1”, a 5 MB maximum, and JPG, PNG or GIF. Small images are not rejected, they are demoted: “Images less than 401 pixels wide display as a thumbnail image”[4]. If a correct image still does not show, LinkedIn suggests your site may be blocking it from fetching the file. The LinkedIn post preview guide covers stale cards and how to refresh them.

X (Twitter)

For the large card, X’s documentation said: “Images for this Card support an aspect ratio of 2:1 with minimum dimensions of 300x157 or maximum of 4096x4096 pixels. Images must be less than 5MB in size. JPG, PNG, WEBP and GIF formats are supported. Only the first frame of an animated GIF will be used. SVG is not supported”[5].

X's card docs are no longer on its live site
The old developer.x.com Cards pages now redirect to a general overview at docs.x.com, and the current docs have no Cards section[6]. The large card figures above are quoted from an archived copy dated 12 January 2026[5]. We could not load an archived copy of the small summary card page, so this page gives no figures for it. Treat any chart that does as unsourced for now.

WhatsApp

Meta documents WhatsApp link previews in its business messaging docs. The og:image is “an absolute URL” and the image “should be under 600KB in size. Image should be 300px or more in width with 4:1 width/height or less aspect ratio.” The page’s <head> must also sit “within the first 300KB of the HTML”. When something is off, WhatsApp may relax the rules or fall back to a small preview, but Meta warns that “this should not be relied on”[7]. The WhatsApp link preview guide walks through the usual failures.

iMessage

Apple’s technote gives the clearest numbers of any platform: “Images should be at least 900 pixels in width.” “Images less than 150 pixels in width may be ignored or presented as icons.” The linked page itself is limited to 1 MB, and its icons, images and videos to 10 MB in total. Apple adds that these are “guidelines only. Limits may change in the future”[8]. Apple also gives advice most charts leave out, covered in the safe zone section below.

Slack and Discord

Slack documents how its crawler behaves, not what size to use. Slackbot reads “oEmbed and Twitter Card / Open Graph tags”, fetches “as little of the page as it can”, fetches any referenced image “to check validity and extract other metadata”, and caches results for around 30 minutes[9]. It gives no image size, ratio, file limit or format.

Discord publishes no link preview documentation at all. A pull request to add it to Discord’s developer docs was opened on 16 September 2026 and was still open when we checked[10]. Until it ships, Discord figures on other sites cannot be traced to a Discord document.

Pinterest

Pinterest is the exception to the landscape rule. For standard image Pins it says: “We recommend using a 2:3 aspect ratio, or 1000 x 1500 pixels.” It warns that “Pins with an aspect ratio greater than 2:3 might get cut off in people’s feeds”, and accepts PNG or JPEG[11]. A 1200 x 630 card is the wrong shape for a Pin. If Pinterest matters to you, put a tall image in the page itself rather than changing your og:image for everyone.

Safe zones: where to put text so a crop cannot cut it

Start with the limit: no platform publishes a safe zone for link images. What follows is arithmetic on the documented shapes, plus our own rules of thumb. Treat it as practical guidance, not a platform rule.

A 1200 x 630 image is 1.91:1. When a platform shows it at that ratio, nothing is lost. When it shows a different shape, something has to go. The platforms do not document where they anchor a crop, so the table assumes an even trim from both sides.

What a 1200 x 630 image keeps in each shape
Arithmetic, not platform documentation. Assumes the crop is centred, which no platform guarantees.
Where you meet itWhat is leftWhat is lost
1.91:1, shown wholeFacebook and LinkedIn large cards, by their stated ratioAll of 1200 x 630Nothing
2:1X's large card, by its stated ratio1200 x 60030 px of height, 15 px top and bottom
1:1 squareAny app that shows a square thumbnailThe centre 630 x 630285 px off each side, nearly half the width
Small previewWhatsApp's small fallback preview, LinkedIn's thumbnailShape not documentedDetail: small text stops being readable

Apple goes further than any crop table. Its advice for iMessage is to “Avoid text in preview images”, because images “may be displayed at varying sizes depending on context and device, potentially making text unreadable.” It suggests keeping the image graphical and putting words in the metadata instead[8]. That is a fair warning even outside iMessage: the title already travels in og:title, so the image does not have to carry it.

Our rules of thumb, from the arithmetic above:

  • Design at 1200 x 630, and keep anything that matters at least 60 to 80 px from every edge.
  • Centre the key element. A headline or face in the middle survives the 2:1 trim and most of a square crop. One hugging the left edge does not survive a square.
  • Use few words, very large. Five words at 60 px or more have room to shrink. A sentence at 30 px has none.
  • Nothing important in the corners. Small logos, dates and borders at the edges are the first things a crop removes.

Our own cards are an honest example of the trade-off. This site renders every share image at 1200 x 630, with 72 px of padding top and bottom and 80 px at the sides. The headline is left-aligned, so it would not survive a square crop. The site declares X’s large 2:1 card instead, where, on the even-trim assumption above, only thin strips at the top and bottom are at risk. And the cards do put the headline in the image, against Apple’s advice, because one card has to serve every platform.

Image meta tags: og:image and the tags around it

The image is only half the job. The image meta tags tell each crawler where it is, what it is and how big it is. These are the ones worth setting:

Image meta tags for a 1200 x 630 PNG
<!-- Open Graph: read by Facebook, LinkedIn, WhatsApp, iMessage, Slack and others -->
<meta property="og:image" content="https://example.com/og/pricing.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Three pricing plans side by side, the middle one highlighted" />

<!-- X: the large 2:1 card, with its own image and alt text -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://example.com/og/pricing.png" />
<meta name="twitter:image:alt" content="Three pricing plans side by side, the middle one highlighted" />

og:image points at the file. Use an absolute URL, which WhatsApp requires[7]. Meta caches images by URL: they “won’t be updated unless the URL changes”, so a new image needs a new URL[2].

og:image:width and og:image:height are optional in the protocol[12], but Meta asks for them so its crawler can “render the image immediately without having to asynchronously download and process it”[3]. Its webmaster guide puts it as making sure the image “loads properly the first time it’s shared”[2]. Without them, the first person to share a new page may get a card with no image.

og:image:type is the file’s MIME type[12]. Meta lists three values: image/jpeg, image/gif or image/png[2]. That is one more reason to skip WebP for share images, even though X accepts it.

og:image:alt describes the image for people who cannot see it. The protocol says it is “A description of what is in the image (not a caption)”, and that if a page specifies an og:image, “it should specify og:image:alt”[12]. X has its own twitter:image:alt, with a maximum of 420 characters[5].

More than one og:image is allowed. The protocol says “The first tag (from top to bottom) is given preference during conflicts”[12], so put the image you want first. The Open Graph protocol guide covers every other tag, including the rest of the X card.

How to generate OG images

A handful of pages can live with images exported by hand from a design tool. Past that, people stop making them, and pages go out with no og:image or the same logo on every link. Generating them from code fixes that: each page gets a card built from its own title, at the right size, every time.

In the Next.js App Router, a file named opengraph-image in a route folder becomes that page’s image. It can be a static .jpg, .png or .gif, or a .tsx file that returns an image from code. Next.js then writes og:image, og:image:type, og:image:width and og:image:height into the page head, plus og:image:alt from an alt export. It also enforces the platform limits on static files: if an opengraph-image file passes 8MB or a twitter-image file passes 5MB, “the build will fail”[13].

A minimal opengraph-image.tsx
// app/pricing/opengraph-image.tsx
import { ImageResponse } from "next/og";

export const size = { width: 1200, height: 630 };
export const contentType = "image/png";
export const alt = "Pricing: three plans, from free";

export default function Image() {
  return new ImageResponse(
    (
      <div
        style={{
          width: "100%",
          height: "100%",
          display: "flex",
          alignItems: "center",
          justifyContent: "center",
          padding: 80,
          background: "#ffffff",
          fontSize: 72,
          fontWeight: 700,
          textAlign: "center",
        }}
      >
        Pricing: three plans, from free
      </div>
    ),
    { ...size },
  );
}

The code route uses ImageResponse, which turns JSX and CSS into a PNG with Satori and Resvg. Its default canvas is 1200 x 630. Three limits catch people out: “Only flexbox and a subset of CSS properties are supported”, so no CSS grid; the bundle, fonts and images included, has a maximum of 500KB; and fonts must be ttf, otf or woff[14].

This site works exactly this way. Every post folder, this one included, has a few-line opengraph-image.tsx that hands the post’s title to one shared template, so there is one card design rather than dozens drifting apart. The Next.js SEO guide covers the rest of what a Next.js site sends to search engines and AI crawlers.

Open Graph image examples: patterns that work

These are patterns, not other people’s images. Each one suits a kind of page, and each has a way to go wrong.

Six OG image patterns
Our own assessment. The square crop column assumes the key element is centred.
Good forSurvives a square crop?Watch out for
Title cardArticles and guidesOnly if the headline is centredLong titles shrink until they are unreadable
Product on a plain backgroundProduct and shop pages✓YesBusy lifestyle shots where the product is small
One big numberReports, studies, shared results✓YesThe number must be real and sourced on the page
A personTalks, podcasts, author pages~Faces near the edge get cut
Cropped interface detailSoftware features~Full-page screenshots are unreadable when small
Your logo on every pageThe home page only✓YesEvery share of every page looks the same

The last row is the most common mistake. X’s own card docs told sites not to use “a generic image such as your website logo, author photo, or other image that spans multiple pages”[5]. A logo tells someone who made the page. It does not tell them what the page says, which is the reason they would click.

A good example of each pattern shares three traits. One subject. Large shapes that still read at thumbnail size. And a clear link to the page: the product it sells, the number it reports, the person who speaks.

Design for 1200 x 630 and keep the subject in the middle. The size is the easy part. The crops, the caches and the file limits are where cards break.

How to check your OG image

Your own browser never shows the card, so check it the way the platforms see it. Start with the Open Graph checker, which reads the tags, checks the image and previews the card on five platforms in one pass. Then confirm on the platforms that matter most to you:

  • Facebook: Meta’s Sharing Debugger shows how its crawler reads your markup, and “also triggers a scrape of your page”, which refreshes a stale card[2].
  • LinkedIn: Post Inspector does the same job. The LinkedIn guide has the steps.
  • Slack: Slack documents no refresh tool, and it caches for around 30 minutes[9], so wait half an hour before you test a fix.
  • WhatsApp: send the link in a chat. Meta says that if no preview appears above the composer box after 10 seconds, check that every requirement is met[7].

From the command line, two requests answer most questions: which image the tags name, and whether that image answers 200 with an image content type and a sensible file size.

Check the tags and the image with curl
# 1. Which image do the tags point at?
curl -s https://example.com/page | grep -io '<meta[^>]*\(og\|twitter\):image[^>]*>'

# 2. Does that image answer 200, with an image type and a sane size?
curl -sI https://example.com/og/page.png | grep -iE "^HTTP|^content-type|^content-length"

Put the tags early in the <head>, too. WhatsApp needs the head within the first 300KB of HTML[7], Slack fetches as little of the page as it can[9], and Apple stops at 1 MB for the page[8]. Tags that only appear after JavaScript runs may never be seen: Apple says its previews do not run JavaScript[8].

Before you publish a share image
0/7

After the click

A good share card earns a click when someone posts your link. There is a step before that one, with no card at all: whether ChatGPT, Perplexity or Gemini name your brand when someone asks about your category. CoreCited tracks that. The free AI visibility checker gives a first reading, and every plan limit is on the pricing page.

Questions people ask

What is the best OG image size?

1200 x 630 pixels, a 1.91:1 ratio. Meta recommends at least 1200 x 630 for link shares on Facebook, LinkedIn's minimum is 1200 x 627 at the same ratio, and the size sits inside the documented limits for X's large card, WhatsApp and iMessage. Keep the file small: WhatsApp asks for under 600 KB.

What size should an OG image be for LinkedIn?

LinkedIn's help page asks for at least 1200 x 627 pixels at a 1.91:1 ratio, up to 5 MB, as JPG, PNG or GIF. Images under 401 pixels wide show as a small thumbnail instead of a large card. A 1200 x 630 image meets all of it.

What size should a Twitter (X) card image be?

For the large card (summary_large_image), X's documentation gave a 2:1 ratio, at least 300 x 157 and at most 4096 x 4096 pixels, under 5 MB, as JPG, PNG, WEBP or GIF, with no SVG. A 1200 x 630 image is close to 2:1, so expect a thin trim. X has since taken its Cards pages off its live developer site, so those figures come from an archived copy.

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

It depends on the platform. Facebook allows up to 8 MB, LinkedIn 5 MB, X under 5 MB for the large card, and WhatsApp asks for under 600 KB. Slack and Discord publish no limit. Aim for well under 600 KB and one image works everywhere.

Can I use WebP or SVG for an Open Graph image?

Use PNG or JPEG. X's archived card docs list WEBP as supported and SVG as not supported. Meta lists only image/jpeg, image/gif and image/png as og:image:type values, and LinkedIn lists JPG, PNG and GIF. WhatsApp and Apple do not list formats.

Why does my old OG image still show after I changed it?

Platforms cache what they fetched. Meta says images are cached by URL and are not updated unless the URL changes, and Slack caches unfurls for around 30 minutes. Give the new image a new URL, then ask the platform to fetch again, for example with Meta's Sharing Debugger.

Do I need og:image:width and og:image:height?

They are optional in the Open Graph protocol, but worth adding. Meta says they let its crawler render the image immediately on the first share, without having to download and process it in the background first.

Keep reading

Sources

[1]Images in Link Shares — Meta for Developers, read 6 October 2026
[2]A Guide to Sharing for Webmasters — Meta for Developers, read 6 October 2026
[3]Sharing best practices — Meta for Developers, read 6 October 2026
[4]Make your website shareable on LinkedIn — LinkedIn Help, read 6 October 2026
[5]Summary Card with Large Image (archived copy) — X Developer Platform, via the Internet Archive, snapshot 12 January 2026
[7]Link Previews — WhatsApp Business Platform docs, Meta for Developers, read 6 October 2026
[8]TN3156: Create rich previews for Messages — Apple Developer (technote), republished 30 April 2024
[9]Slack Robots — Slack API docs, read 6 October 2026
[10]Document link previews (pull request #8606) — discord/discord-api-docs on GitHub, opened 16 September 2026, still open 6 October 2026
[11]Review ad specs (standard image Pins) — Pinterest Business Help, read 6 October 2026
[12]The Open Graph protocol — ogp.me, read 6 October 2026
[13]opengraph-image and twitter-image — Next.js docs, updated 9 July 2026
[14]ImageResponse — Next.js docs, updated 25 August 2026

Find out where you actually stand

One real question, real AI engines, and the answer they gave — including who was named in it. No account, no card.