The Open Graph image is the picture people see when your page is shared in a feed or a chat. It is often the first impression of your content, and on most platforms it takes up far more space than the headline. Get the size wrong and you get an awkward crop, a tiny thumbnail, or no image at all.

The good news is that one image can serve every major platform. Here is the size to use, how each network displays it, and the tags that make it work.

Use 1200 x 630 pixels. That is a 1.91:1 aspect ratio, which matches the large link card on Facebook and LinkedIn and is close enough to X's large card that nothing important is lost.

PropertyRecommended value
Dimensions1200 x 630 px
Aspect ratio1.91:1
Minimum for a large preview600 x 315 px
File sizeUnder 300 KB (WhatsApp), well under 5 MB everywhere else
FormatJPG or PNG

You can build this size directly in our Open Graph image resizer, which crops to 1200 x 630, shows the area each platform might trim, and keeps the file under 300 KB.

How each platform displays the image

The same image is shown slightly differently across networks. Knowing the differences tells you where it is safe to put text.

PlatformHow the preview appears
FacebookLarge image above the title, 1.91:1
LinkedInLarge image above the title, close to 1.91:1
XLarge card when the page uses summary_large_image, otherwise a small square
DiscordImage inside an embed, scaled to the chat width
SlackImage under the link unfurl
WhatsAppSmall square thumbnail, or a wide preview when the file is small enough
iMessageWide image card

X is the main exception. It crops its own previews a little differently and needs its own card tag to show the large version. WhatsApp is the other one to watch, because it is strict about file size.

The meta tags you need

The image comes from tags in the <head> of your page. These are the ones that matter:

<meta property="og:title" content="Your page title">
<meta property="og:description" content="One or two sentences about the page.">
<meta property="og:image" content="https://example.com/images/share.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="A short description of the image">
<meta name="twitter:card" content="summary_large_image">

Three details prevent most problems:

  1. Use an absolute URL that starts with https. Relative paths like /images/share.jpg are ignored by several platforms.
  2. Declare the width and height. Facebook can then show the image on the very first share instead of waiting to download it.
  3. Add the twitter:card tag. X falls back to og:image for the picture, but without this tag it shows a small square preview.

A link preview is a small advert for the page. The most effective ones we see share a few traits:

  • One strong visual that relates to the content, such as a product, a person or a clear diagram.
  • A short headline of three to six words, if you use text at all. The platform already shows your title underneath.
  • Your logo, small, in a corner. It builds recognition without taking over.
  • A margin of about 60 pixels on all sides kept free of text, because some apps trim the edges or round the corners.

If your article already has a 16:9 featured image, make the share version from the same photo. The blog featured image resizer and the Open Graph tool can produce both from one original in a minute.

Avoid putting your whole page title inside the image. It duplicates the title shown below the card and becomes unreadable on a phone.

Create a 1200 x 630 Open Graph image1200 x 630, free, runs in your browserOpen tool

File size and format

Every platform downloads your og:image the first time a link is shared, and some give up on large files. WhatsApp is the strictest. In practice it shows the wide preview reliably only when the image is under about 300 KB.

FormatTypical size at 1200 x 630Recommendation
JPG, quality 85120 to 250 KBBest default for photos
PNG300 KB to 1 MBOnly for flat graphics with few colours
WebP80 to 150 KBNot supported by every platform for previews

For og:image, JPG is the safest choice even if the rest of your site uses WebP. If your image is a photo saved as PNG, convert it to JPG at quality 85 and the file usually drops below 250 KB with no visible difference.

Open Graph sizes compared by platform

The 1200 x 630 standard works almost everywhere, but each platform has its own minimums and preferences. This table shows what happens on the most common ones.

PlatformMinimum that shows a large cardBest uploadRatio shown
Facebook600 x 3151200 x 630About 1.91:1
LinkedIn1200 x 627 for best results1200 x 630About 1.91:1
X300 x 1571200 x 630About 1.91:1, cropped to 2:1 in some views
DiscordNo strict minimum1200 x 630Scaled to fit the embed
SlackNo strict minimum1200 x 630Shown smaller beside text
WhatsAppSmall images still show1200 x 630 under about 300 KBSquare thumbnail in some chats

Below the minimums, many platforms switch to a small thumbnail beside the text instead of a large image above it. That is the most common reason a link "looks wrong" even though the image itself is fine.

Designing for the crop

Because different apps trim the edges slightly differently, keep anything important in the centre of the image. A safe approach is to leave a margin of about 60 pixels on the left and right and 30 pixels at the top and bottom of a 1200 x 630 image. Headlines, faces and logos should sit inside that inner area.

WhatsApp and some messaging apps show a square crop of the image in certain layouts. If the main subject sits in the middle, a square cut from the centre still shows it. If it sits at one side, the square version will show empty background.

Text on Open Graph images

Short text on a link preview can help, especially for guides and announcements, but it needs to be readable on a phone.

  • Keep it to six words or fewer.
  • Use a bold font at least 60 pixels tall on a 1200 x 630 canvas.
  • Put dark text on a light background, or the reverse, with strong contrast.
  • Do not repeat the page title word for word. The title already appears under the image.
ElementSuggested size on 1200 x 630
Headline60 to 90 px, bold
Logo80 to 120 px tall, in a corner inside the safe area
MarginAt least 60 px from the sides

Generating Open Graph images automatically

Sites with many pages often generate preview images from a template: the page title on a branded background, sometimes with the author's photo or a category label. This keeps every page covered without manual design work. If you do this, check the result on a long title, because the text must wrap neatly and stay inside the safe area. For important pages, a hand-picked photo usually performs better than a template, so use templates as the fallback rather than the rule.

For one-off images, the Open Graph image resizer crops any picture to 1200 x 630 and keeps the file small enough for every platform.

Testing a new Open Graph image

Before you rely on a new image across a whole site, test it on a few pages first.

  1. Publish or update one page with the new image.
  2. Run the URL through the Facebook Sharing Debugger and LinkedIn Post Inspector.
  3. Paste the link into a private chat on WhatsApp or Slack and check the preview there.
  4. Look at the result on a phone as well as a computer.

If the image looks right in all four places, roll it out more widely. If it is cropped badly in one of them, adjust the safe area rather than designing a separate image for each platform. One well planned 1200 x 630 file is much easier to maintain than several versions.

Keeping images consistent across a site

Link previews are often the first thing people see of your brand, before they visit the site. A consistent style helps them recognise your links in a busy feed. Pick a small set of rules, such as the same font, a fixed logo position and two or three background colours, and apply them to every preview image. Over time, readers start to recognise your content before they read the headline, which tends to lift clicks on every link you share.

Review the style once a year, or when your brand changes, and update the template rather than individual images, so every new preview picks up the change automatically.

After you update the image

Platforms cache link previews. If you change the image after a link has been shared, the old one can keep appearing for days. Facebook's Sharing Debugger and LinkedIn's Post Inspector both let you fetch the page again. Changing the image file name is the most reliable way to force every platform to download the new version.

Frequently asked questions

What is the best Open Graph image size?

1200 x 630 pixels. It is the size Facebook recommends, and X, LinkedIn, Discord, Slack and WhatsApp all display it well.

What is the minimum og:image size?

Facebook needs at least 200 x 200 pixels, but images below 600 x 315 are shown as a small thumbnail. Use 1200 x 630 for a large preview.

Can I use WebP for og:image?

Some platforms show WebP previews, but support is not universal. JPG and PNG are the safe choice for og:image, even if the rest of your site uses WebP.

Why does WhatsApp show a small preview of my link?

WhatsApp often falls back to a small thumbnail when the og:image file is large. Keep it under about 300 KB and use an absolute https URL.