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
- Visible area
- Full frame
- File
- ≤ 5 MB
pixels, width by height
Cropped to X large card 2:1 and Square thumbnail 1:1 elsewhere
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.
| Reader | Size it asks for | Shape | File limit |
|---|---|---|---|
| Facebook and Messenger (Meta) | At least 1200 x 630; 600 x 315 for the large card; 200 x 200 floor | As close to 1.91:1 as possible | 8 MB |
| At least 1200 x 627; under 200 px wide gets no large card | 1.91:1 | 5 MB | |
| X large card | 300 x 157 to 4096 x 4096 | 2:1 | Under 5 MB |
What a 1200 by 630 image loses in each card
Centre crops of the same file at the shapes the readers use.
| Where it shows | Your file | Shape | Kept | Cut from each side | Area kept |
|---|---|---|---|---|---|
| X summary_large_image | 1200 x 630 | 2:1 | 1200 x 600 | 15 px top and bottom | 95% |
| Square thumbnail (list views) | 1200 x 630 | 1:1 | 630 x 630 | 285 px left and right | 53% |
| LinkedIn link card | 1200 x 630 | 1.91:1 | 1200 x 628 | 1 px top and bottom | 100% |
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
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.
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
- The Open Graph protocol, checked . Defines og:image and its width, height, type and alt tags; recommends no size
- Meta for Developers: Images in link shares, checked
- LinkedIn Help: Make your website shareable on LinkedIn, checked
- LinkedIn Help: Customize the image and title of a Page post preview, checked
- X Developer Platform: Summary card with large image (archived copy of the official page), checked . The live page now redirects to docs.x.com, which no longer carries the cards pages
- Slack developer docs: Unfurling links in messages, checked . Reads Open Graph and X card tags; states no image size
- Mailchimp Help: Image recommendations for content blocks, checked