OG Image Size: What's Actually Documented
Search "og image size" and you'll find many confident tables of numbers. Many of them are copied from each other, and some are years out of date. This guide does something narrower: it lists only the limits that platforms publish in their own documentation, cites each one, and says plainly where we couldn't find an official spec.
If you only need the answer: 1200×630 pixels, PNG or JPEG, under 600 KB, at an absolute https:// URL. That meets every official requirement below at once. The rest of this page explains why.
The short table
| Platform | Recommended size | Minimum | Max file size | Ratio | Source |
|---|---|---|---|---|---|
| Facebook / Meta | at least 1200×630 | 600×315 for large link previews; 200×200 absolute minimum | 8 MB | as close to 1.91:1 as possible | Meta for Developers, "Images in Link Shares" |
| n/a | 1200×627 | 5 MB | 1.91:1 recommended | LinkedIn Help, "Make your website shareable on LinkedIn" (a521928) | |
| n/a | 300 px wide | under 600 KB (recommended) | 4:1 width/height or less | Meta for Developers, WhatsApp "Link Previews" | |
| X (Twitter) | No current official spec found | See below | |||
| Slack, Discord, iMessage | No official image size spec found | See below |
Sources: https://developers.facebook.com/docs/sharing/webmasters/images/, https://www.linkedin.com/help/linkedin/answer/a521928, https://developers.facebook.com/docs/whatsapp/link-previews/. All checked October 2026.
Facebook (Meta)
Meta's "Images in Link Shares" page says:
- Use images that are at least 1200 × 630 pixels for the best display on high-resolution devices.
- At minimum, use 600 × 315 to get the larger link-preview format. Smaller images still display, but much smaller.
- The minimum allowed dimension is 200 × 200.
- The image file must not exceed 8 MB.
- Keep images as close to 1.91:1 as possible to show the full image in Feed without cropping.
It also includes two practical details that explain many "missing image" reports:
- Meta's crawler only accepts gzip and deflate encodings, so make sure your server isn't serving the image with another encoding.
- The crawler has to see an image before it can render it, so the first share may not show an image. Meta lists three fixes: pre-cache the URL with the Sharing Debugger, force a scrape through the Graph API, or include
og:image:widthandog:image:heightso the crawler can render the image without fetching it first.
LinkedIn's help article on making a site shareable lists these image requirements for its sharing module:
- Max file size: 5 MB
- Minimum dimensions: 1200 (w) × 627 (h)
- Recommended ratio: 1.91:1
It also notes that images less than 401 pixels wide display as a thumbnail, and that if an image meets the requirements but still doesn't appear, your site may be blocking LinkedIn from fetching it, or the image may be in a protected location.
The same page lists separate specs for ads (for example, a maximum of 7680×4320). Those apply to single-image ads, not link previews, so don't mix them up.
Meta's WhatsApp "Link Previews" documentation says:
- The
<head>containing the markup must appear within the first 300 KB of the HTML. The whole document doesn't need to fit within 300 KB. og:imageis an absolute URL for the thumbnail.- The image should be under 600 KB.
- It should be 300 px or more wide, with a width/height ratio of 4:1 or less.
- The description is limited to 1 or 2 lines, and "80 characters will suffice."
Note the wording: "should be under 600 KB." The doc doesn't say what happens to larger images. Many third-party pages claim WhatsApp silently drops images above some size, but that isn't in Meta's documentation, so treat 600 KB as the target and don't rely on any specific failure behavior.
This is the tightest documented file-size target, which is why we suggest keeping every OG image under 600 KB. A 1200×630 card with flat colors and text usually fits easily as a PNG. Photos may need JPEG.
X (Twitter)
We couldn't find a current official specification. X's developer documentation for Cards is no longer available at its previous URLs, and X removed the preview feature from its Card Validator in August 2022. X's developer forum post from 2 Aug 2022 announced this and pointed people to the post composer for previews. Third-party guides repeat older figures from archived docs. We don't list numbers here because we couldn't confirm them from a live official source.
What we can say: set twitter:card to summary_large_image to request the large-image layout, and a 1200×630 image under the limits above is a reasonable default. To check, paste the link into the X composer without posting, or use the Free OG Image Checker.
Slack, Discord, iMessage
We didn't find official image size or file size specs for link previews on these platforms. Apple's and Slack's developer docs describe how link previews work in general terms. Until there's an official number, follow the strictest documented values above (1200×630, under 600 KB, absolute HTTPS URL) and test.
Framework limits: Next.js
If you use Next.js's file-based metadata, the framework enforces its own limits. Per the Next.js opengraph-image docs, a static opengraph-image file must not exceed 8 MB and a twitter-image file must not exceed 5 MB, or the build fails. Supported static formats are .jpg, .jpeg, .png, and .gif. Generated images (ImageResponse) default to 1200×630, and the docs note a 500 KB bundle limit for the code, fonts, and assets used to generate them. See our Next.js guide.
Putting it together: one image that meets all of them
| Requirement | Strictest documented value | Our recommendation |
|---|---|---|
| Dimensions | LinkedIn min 1200×627; Facebook "at least" 1200×630 | 1200×630 |
| Ratio | 1.91:1 (Facebook, LinkedIn); ≤ 4:1 (WhatsApp) | 1.91:1 |
| File size | WhatsApp "under 600 KB" | < 600 KB |
| Format | (Next.js static files: jpg/jpeg/png/gif) | PNG for text cards, JPEG for photos |
| URL | WhatsApp: absolute | Absolute https:// URL |
| Tags | Meta: width/height help first share | Add og:image:width/og:image:height |
Replace your-site.com with your own site.
<meta property="og:image" content="https://your-site.com/og/my-post.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Title of my post" />
<meta name="twitter:card" content="summary_large_image" />
Format notes
Avoid SVG for og:image. None of the official sources above list it, and support across platforms is unreliable. WebP and AVIF are similar: support varies and isn't documented consistently, so PNG or JPEG is the safe choice.
Keeping text readable
Platforms crop and scale differently. LinkedIn may show a thumbnail under 401 px wide, and WhatsApp allows wide ratios up to 4:1. Keep important text away from the edges and use large type. A title of 60–80 px on a 1200×630 canvas stays readable when scaled down in feeds.
Doing it by hand vs. generating it
If you design cards by hand, export at 1200×630 and compress until you're under 600 KB. If you generate them (with Satori, @vercel/og, Hugo's images.Text, or anything else), set the output size explicitly and check the file size of real outputs, especially with photo backgrounds.
Or skip the bookkeeping: Unfurlkit returns a 1200×630 PNG from one URL:
<meta property="og:image" content="https://unfurlkit.com/v1/basic.png?title=My%20Post&theme=dark" />
Every image URL needs your key. A Free key gets 10 renders in total (no monthly reset), with a small "unfurlkit" watermark, and needs no card. Pro is $9/mo or $90/yr, with 10,000 renders a month, no watermark, and custom fonts (Inter, Roboto, Playfair Display, JetBrains Mono) and logo. A render is counted only when a unique image is generated and wasn't already cached. Shares and cache hits don't count. Over the limit, images keep rendering. On a signed Free key, images already made keep showing, and new ones get a plain version (your title on the basic card, with the small mark) that doesn't count. Upgrade to Pro for more renders. Upgrade to Pro to remove watermarks from all your images.
Size checklist
- Dimensions are 1200×630 (or at least 1200×627 for LinkedIn).
- File is under 600 KB (WhatsApp's documented target; also well under LinkedIn's 5 MB and Meta's 8 MB).
- Format is PNG or JPEG.
og:imageis an absolutehttps://URL and returns 200.og:image:widthandog:image:heightare set and match the real file.- For WhatsApp, the
<head>with your tags is within the first 300 KB of the HTML. Put meta tags before large inline scripts and styles. - Check the page with the Free OG Image Checker, which measures the real image and flags size and ratio issues per platform. We don't store the URLs you check.
FAQ
Which languages and scripts are supported? Right-to-left scripts such as Arabic and Hebrew aren't supported yet at launch.
What's the best OG image size in 2026? 1200×630. It meets Facebook's recommendation and LinkedIn's minimum, and matches the 1.91:1 ratio both recommend.
What's the OG image size for WhatsApp? Meta's WhatsApp docs say at least 300 px wide, a width/height ratio of 4:1 or less, and under 600 KB. A 1200×630 image under 600 KB satisfies all three.
What's the OG image size for Facebook? At least 1200×630 for best results, 600×315 minimum for the large preview, 200×200 absolute minimum, 8 MB maximum.
What's the OG image size for LinkedIn? Minimum 1200×627, max 5 MB, 1.91:1 recommended. Under 401 px wide shows as a thumbnail.
Is there an official size for X/Twitter? We couldn't find a current official spec. See the X section above.
Does a bigger file look better? Not beyond 1200×630. Larger files only risk going over WhatsApp's 600 KB guidance.
Why is my image cropped? Usually the ratio. Stay at 1.91:1 and keep text away from the edges.
Summary
Only three platforms in this guide publish link-preview image specs: Meta for Facebook, LinkedIn, and Meta for WhatsApp. Next.js adds its own build-time limits. A 1200×630 PNG or JPEG under 600 KB at an absolute HTTPS URL, with width and height tags, satisfies all of them.
See Unfurlkit pricing · Check any page with the Free OG Image Checker.