Web and email size guide

Open Graph Image size: 1200 x 630 pixels.

Make the og:image 1200 by 630 pixels and keep it under 5 MB. That is Meta's recommended size, clears LinkedIn's 1200 by 627 minimum, and fits X's large card, which is 2:1. The Open Graph protocol itself names no size. Email header images are covered at the end.

Checked against 7 official sources, listed below.

Dimensions
1200 x 630

pixels, width by height

Aspect ratio
1.91:1

Exact ratio 40:21

Visible area
Full frame

Cropped to X large card 2:1 and Square thumbnail 1:1 elsewhere

File
≤ 5 MB

JPG, PNG, WebP

What each link preview reader asks for

The protocol at ogp.me defines og:image with optional width, height, type and alt tags, and says a page that gives an image should also give its alt text. The sizes come from the platforms that read the tag, and they disagree in small ways. Slack reads the same tags and states no size at all.

What each link preview reader asks for
ReaderSize it asks forShapeFile limit
Facebook and Messenger (Meta)At least 1200 x 630; 600 x 315 for the large card; 200 x 200 floorAs close to 1.91:1 as possible8 MB
LinkedInAt least 1200 x 627; under 200 px wide gets no large card1.91:15 MB
X large card300 x 157 to 4096 x 40962:1Under 5 MB

What a 1200 by 630 image loses in each card

Centre crops of the same file at the shapes the readers use.

What a 1200 by 630 image loses in each card
Where it showsYour fileShapeKeptCut from each sideArea kept
X summary_large_image1200 x 6302:11200 x 60015 px top and bottom95%
Square thumbnail (list views)1200 x 6301:1630 x 630285 px left and right53%
LinkedIn link card1200 x 6301.91:11200 x 6281 px top and bottom100%

X's 2:1 card takes only 15 pixels off the top and bottom, so a 1200 by 630 file is safe there. LinkedIn says that on mobile, images of other ratios show in full with white padding rather than being cut. A square thumbnail is the harsh one: it keeps the middle 630 pixels of width, so a logo in a corner disappears.

How we worked this out: Centre crops computed with centerCrop in libs/sizes/math.js: the largest window of the target shape at the same scale, cut from the middle of the file, rounded to whole pixels. Done .

Make a 1200 by 630 preview image

X large card 2:1Square thumbnail 1:11200 x 630
Full canvas is visible in the feed. Dashed outlines show how it is cropped elsewhere.

Upload limit used here: 5 MB, JPG, PNG, WebP.

JPG, PNG or WebP. It is resized to exactly 1200 x 630 in your browser; nothing is uploaded.

Fit
Format

Output size

1200 x 630

Web and email: Open Graph image

Need every platform size at once?

Web and email: Open Graph image

1200 x 630

Tags that decide whether the large card appears

Use an absolute URL in og:image, give og:image:width and og:image:height, and give og:image:alt. Meta's documentation says an image below 600 by 315 still shows in the link post but much smaller, and LinkedIn drops the large format under 200 pixels wide. Every platform caches what it fetched, so change the file name when you change the design, then re-scrape the page with the platform's own inspector.

Email header images

600 x 200 (our export)

Email is not Open Graph, but it is the other image a website owner most often has to size. Mailchimp's legacy templates are 600 pixels wide and its new builder's are 660; it recommends images between 600 and 1200 pixels wide in the legacy builder and 660 to 1320 in the new one, as JPG, PNG or GIF, with 1 MB as the recommended maximum. No height is given. A 3:1 strip, 600 by 200 shown and exported at 1200 by 400, keeps the first line of copy in view.

Open Graph image questions

  • 1200 by 630 pixels at about 1.91:1, under 5 MB. Meta recommends at least 1200 by 630, LinkedIn requires at least 1200 by 627 and allows 5 MB, and X's large card is 2:1 and must be under 5 MB, which a 1200 by 630 file satisfies.

  • Usually the image is under the large card minimum (600 by 315 for Meta, 200 pixels wide for LinkedIn), the URL is relative, or the platform cached an older version. Fix the tags, then re-scrape the page in the platform's debugger or post inspector.

  • As wide as the template: 600 pixels for Mailchimp's legacy templates, 660 in its new builder, exported at twice that for sharp screens and under 1 MB. Mailchimp gives no height; 200 pixels at 600 wide is a common strip.

Protocol and platform documents