The best Open Graph image size is 1200 × 630 pixels, an aspect ratio of about 1.91:1. It is the size Facebook recommends, and it works well on LinkedIn, Slack, Discord, and most messaging apps. For large cards on X, the same image works too, though X may crop a thin strip from the top and bottom. Keep the file under 5 MB as a safe limit, use JPG or PNG, and stay above the 600 × 315 minimum so platforms show a large card.
This guide gives the recommended dimensions, minimum sizes, file limits, and safe-zone advice so your image looks right wherever the link is shared.
Last checked in November 2026. Platforms update how they display cards, and published specs sometimes disagree by a few pixels, so use the numbers here as reliable defaults and test with a preview.
Quick Answer: The Standard OG Image Size
| Setting | Recommendation |
|---|---|
| Size | 1200 × 630 pixels |
| Aspect ratio | 1.91:1 |
| Minimum for a large card | 600 × 315 pixels |
| Format | JPG or PNG |
| File size | Under 5 MB; smaller loads faster |
| URL | Absolute https:// address |
If you create only one share image per page, make it 1200 × 630.
Open Graph Image Size by Platform
Guides report slightly different figures, mostly differing by a couple of pixels. In practice, one image works for all of them.
| Platform | Typical recommendation | Notes |
|---|---|---|
| 1200 × 630 | Images below 600 × 315 may show as a small thumbnail | |
| 1200 × 627 | 1200 × 630 works the same in practice | |
| X (Twitter) | 1200 × 630 or about 2:1 | Needs the twitter:card tag set to summary_large_image for a large card; may crop slightly |
| Slack | 1200 × 630 | Reads standard og:image |
| Discord | 1200 × 630 | May show a smaller embed unless the large card tag is present |
| WhatsApp and iMessage | 1200 × 630 | Prefer smaller files, so compress the image |
The exact numbers some guides give for X vary between about 1200 × 600 and 1200 × 675. A 1200 × 630 image sits between them, which is why it is the safest single choice.
Why 1200 × 630?
It matches the 1.91:1 shape that Facebook recommends, it is large enough to look sharp on high-resolution screens, and it is well above the 600 × 315 minimum for large cards. It is also small enough to keep file sizes reasonable.
Minimum Size and What Happens Below It
If your image is smaller than about 600 × 315 pixels, Facebook and LinkedIn may show a small square thumbnail next to the text instead of a large card. Below even smaller thresholds, the image may not display at all. Use at least 1200 pixels wide so your image looks sharp on retina screens.
Safe Zone: Where to Put Important Content
Different platforms crop to slightly different shapes. X, for example, may trim a thin strip from the top and bottom of a 1200 × 630 image, and some apps crop a square or circle from the center for small previews.
To be safe:
- Keep logos, faces, and text in the center of the image.
- Leave roughly 40 to 60 pixels of empty margin on every edge.
- Avoid placing text right at the top or bottom.
- Use large type. Cards are often displayed smaller than the original.
File Format and Size
JPG and PNG are accepted everywhere and are the safest formats. Some platforms also support WebP or GIF, but support varies, so stick with JPG or PNG for share images. Compress the file so it loads quickly; messaging apps in particular tend to prefer small images. A few hundred kilobytes is plenty for most designs.
Declaring the Image Size in Your HTML
The Open Graph protocol includes optional properties for the image’s width and height. Adding them helps crawlers know the image dimensions without extra work:
<meta property="og:image" content="https://ngepush.com/images/og-image.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:type" content="image/jpeg">
For X, also add the large card tag:
<meta name="twitter:card" content="summary_large_image">
How to Create and Resize Your Image
Design the image at 1200 × 630, or start from a larger image and resize it to exactly those dimensions. Any image editor or online resizer can do this; just keep the aspect ratio at 1.91:1 so nothing is stretched.
How to Check How Your Image Looks
Before you share a page widely, enter your title, description, and image details into the Open Graph Preview to see how the card is likely to render. The preview works from the details you enter, so it does not fetch your live page. If a platform shows an old or wrong image after you change it, that is usually a cache issue; see why your link preview looks wrong. For the basics of what an OG image is, read what is an Open Graph image.
Common Mistakes
- Using a square or portrait image, which gets cropped or shrunk to a thumbnail.
- Using a tiny image, which looks blurry or shows no large card.
- Putting text near the edges, where it can be cut off.
- Forgetting the X card tag, so X shows the small card regardless of image size.
- Using a relative image URL instead of a full
https://address. - Uploading an oversized file that loads slowly or is rejected.
Conclusion
Use a 1200 × 630 pixel JPG or PNG, keep important content in the center, make sure the URL is absolute, and add the summary_large_image tag for X. Test the result in a preview, and your links will look right almost everywhere.
Frequently Asked Questions (FAQ)
What is the best Open Graph image size?
1200 × 630 pixels, with an aspect ratio of about 1.91:1. It works well across Facebook, LinkedIn, Slack, Discord, and most apps.
What is the minimum og:image size?
About 600 × 315 pixels for a large card on Facebook. Smaller images may show as a small thumbnail or not at all.
What size should an image be for X?
1200 × 630 works well, though X may crop slightly because its large cards are closer to 2:1. Set the twitter:card tag to summary_large_image.
What file format should I use for an OG image?
JPG or PNG. They are supported everywhere. Other formats may not display on every platform.
Can I use one image for all platforms?
Yes. A single 1200 × 630 image with the key content centered works for nearly every platform.
