OG image size for every platform, from each platform's own docs
Use 1200 × 630 pixels, a 1.91:1 ratio, saved as a JPEG or PNG under 600 KB. That meets every size and file limit the platforms below publish, and the 600 KB limit, set by WhatsApp, is the easiest one to miss.
We read each platform's own documentation on 7 November 2026. Where a platform publishes no size, we say so instead of repeating a number from another blog. For the other images a launch needs, such as marketplace galleries and YouTube thumbnails, see image sizes for a product launch.
The sizes, platform by platform
| Platform | What it reads | Size it states | Other limits | Source |
|---|---|---|---|---|
| Facebook and Open Graph | og:image | At least 1200 × 630 for high-resolution displays; 600 × 315 for the larger layout | 1.91:1; 8 MB; 200 × 200 absolute minimum | Meta |
| Link preview image | Minimum 1200 × 627 | 1.91:1; 5 MB; under 401 wide shows as a thumbnail | ||
| X (Twitter) | twitter:image, twitter:card | Not confirmed: see below | ||
| Slack | Open Graph and X card tags | None published | Slack | |
| Discord | Open Graph, X card tags and oEmbed | None published | PNG, GIF, JPG, WebP or AVIF | Discord |
| iMessage | og:image | At least 900 wide | Under 150 wide may show as an icon; page 1 MB; all images and icons 10 MB | Apple |
og:image | At least 300 wide | Ratio no wider than 4:1; under 600 KB | Meta |
The Open Graph protocol itself sets no size. It defines og:image and the optional og:image:width, og:image:height and og:image:alt, and says that a page setting og:image should also set og:image:alt.
Why 1200 × 630 under 600 KB works everywhere
Take the strictest figure from each column. Meta asks for at least 1200 × 630. LinkedIn's minimum is 1200 × 627, which 1200 × 630 clears by three pixels. Apple wants at least 900 wide. WhatsApp wants at least 300 wide and a ratio no wider than 4:1, and 1.91:1 is well inside that. On file size, Meta allows 8 MB and LinkedIn 5 MB, but WhatsApp asks for under 600 KB. So the size is easy, and the file size is where images fail.
Flat colour and type compress well as PNG. A photo is usually smaller as a JPEG. Either way, check the file size after export. We'd use JPEG or PNG rather than WebP or AVIF, because Discord is the only platform here whose page lists formats, and the others don't say.
Don't go much larger than 1200 × 630. None of these platforms asks for more, and a bigger file makes the 600 KB limit harder to meet.
Facebook and other Open Graph readers
Meta's guide says "Use images that are at least 1200 x 630 pixels for the best display on high resolution devices", and to keep "as close to 1.91:1 aspect ratio as possible". Images under 600 × 315 still appear, but much smaller.
It adds a detail many sites miss. The crawler "has to see an image at least once before it can be rendered", so the first person to share a new page may get no image. Meta's fixes are to pre-fetch the page in the Sharing Debugger, or to add og:image:width and og:image:height so it can lay out the preview without downloading the image first. Images are cached by URL, so a changed image needs a new file name.
LinkedIn's help page sets a minimum of 1200 × 627, a recommended ratio of 1.91:1 and a 5 MB maximum. Images narrower than 401 pixels show as a small thumbnail beside the text instead of across the post.
LinkedIn caches too. Its Post Inspector page says the tool refreshes a URL's preview, but only for new posts. Posts already published keep the old image.
X (Twitter)
We couldn't open X's developer documentation on 7 November 2026: the pages returned errors. So we state no X size. Lists elsewhere repeat figures said to come from X's older card documentation, and we can't confirm whether they're current.
What we can say from other platforms' docs: X card tags are read by more than X. Slack and Discord both read them, and Discord uses twitter:card set to summary_large_image to choose its large-image layout. Add that tag, test a post from a private account, and look at it on a phone.
Slack
Slack's documentation says that without an app for your domain, Slack "crawls the URL, looks for common OpenGraph and X (formerly known as Twitter) Card metadata". It publishes no image size. Your Open Graph image is what Slack uses, so the 1200 × 630 image covers it.
Discord
Discord's link preview documentation is the most detailed of the group. It reads Open Graph, X card tags and JSON oEmbed, and accepts PNG, GIF, JPG, JPEG, WebP and AVIF. It states no minimum or maximum size; its own example uses 1200 × 630.
Layout depends on your tags. With no layout tags you get text with a small image. With twitter:card set to summary_large_image, you get the text with a large image below it. Discord says it caches previews for about 30 minutes, and suggests sharing the URL with a new query string, such as ?v=2, to see a change straight away. It also reads theme-color for the accent bar, as a six or eight digit hex value.
iMessage
Apple's technote TN3156, republished in April 2024, gives the clearest numbers: images "at least 900 pixels in width", icons square and at least 108 pixels a side, and images under 150 pixels wide "may be ignored or presented as icons". The page itself is limited to 1 MB, and its images, icons and videos to 10 MB in total. Apple adds that these "are guidelines only".
Two pieces of Apple's advice affect design. It says to avoid text in preview images, because they're shown at different sizes, and to put the words in og:title instead. And previews don't run JavaScript or follow meta refresh redirects, so the tags must be in the HTML the server sends.
Meta's WhatsApp documentation asks for an image "300px or more in width with 4:1 width/height or less aspect ratio" and "under 600KB in size". If those aren't met, WhatsApp may fall back to a small preview, which the page says not to rely on. It also says the page's <head> must appear within the first 300 KB of the HTML, which matters for pages with large inline scripts or styles at the top.
The tags to add
For one image that works across all of these, put these in the <head> of each page:
og:title,og:type,og:urlandog:image, the four the Open Graph protocol requires.og:image:widthset to 1200 andog:image:heightset to 630, so Meta and Discord can lay out the preview without fetching the image first.og:image:alt, describing what the image shows.og:description, which WhatsApp, Discord and others show under the title.twitter:cardset tosummary_large_image, which Discord uses for its large layout.
Use an absolute https address for the image. Keep the main subject in the middle third, since some apps crop or shrink it, and follow Apple's advice to keep text to a minimum.
Check before you share
Each platform caches the first image it sees, so test before the link goes out widely. Our free link preview checker shows the tags a page sends and how the preview is likely to look. Then use the platforms' own tools where they exist: Meta's Sharing Debugger, LinkedIn's Post Inspector and Discord's Embed Debugger. For the rest, send the link to yourself.
Making the image
You can make one in any design tool. If you use Programmable, Graphics has a Share image (OG) format at 1200 × 630, drawn for that shape with a check for cut-off or unreadable text, and its launch kit makes it alongside your social images. It doesn't know a platform's file size limit, so check the downloaded file is under 600 KB. Your icons and favicons, which iMessage uses beside the image, are covered in what each logo file is for.
Common questions
Is 1200 × 627 or 1200 × 630 right?
Use 1200 × 630. LinkedIn's 1200 × 627 is a minimum, which 1200 × 630 meets, and 1200 × 630 is the figure Meta recommends. The difference is too small to affect cropping.
Do I need a separate twitter:image?
Slack, Discord and iMessage all read og:image, and we couldn't confirm X's current rules. Set twitter:card to summary_large_image, test a post on X, and add twitter:image only if X shows the wrong image or none.
Why does my old image still show after I changed it?
The platform cached it. Meta caches by image URL, so give the new image a new file name. LinkedIn's Post Inspector refreshes new posts, and Discord's cache lasts about 30 minutes.
Can the preview image be animated?
Discord accepts GIFs and a video preview with og:video, and iMessage can play a directly linked MP4 from og:video. Others show a still, so make the first frame work on its own.