Skip to content
Shareglow

Guides · Updated

Open Graph image size guide for every platform

One image, dozens of places it can appear. The good news is that a single 1200 × 630 image covers most of them. The details that still trip people up are aspect ratio on X and Pinterest, file size on messaging apps, and text that gets cropped on small or square cards. Here is what each surface expects and how to design one image that survives all of them.

The short answer: 1200 × 630

Use a 1200 × 630 pixel image (an aspect ratio of about 1.91:1) as your og:image. That is the size Facebook recommends, it matches LinkedIn's 1.91:1 ratio, and it is what Slack, Discord, Microsoft Teams, Telegram and most other link-preview surfaces display without awkward cropping. If you only make one image, make this one.

Declare the size in your tags with og:image:width and og:image:height. Some crawlers, Facebook's among them, can then lay out the card before the image download finishes, which matters the first time a URL is shared. Add og:image:alt as well, so the image has a text description for screen readers.

HTML head
<meta property="og:image" content="https://example.com/og/home.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Example product dashboard" />
<meta name="twitter:card" content="summary_large_image" />

Platform by platform

Check your own link in seconds, free

File size: the limit people miss

Social networks accept large files, but messaging apps do not. WhatsApp, Signal, iMessage, LINE and Zalo tend to drop preview images above roughly 300 KB, and the link then shows up without a picture. Because the same og:image is used everywhere, aim for under 300 KB for every image. A 1200 × 630 PNG with flat colours or a well-compressed JPEG usually lands well under that; photographic PNGs often do not.

Format

PNG and JPEG are the safe choices and work on every platform. Use PNG for text, logos and flat illustrations, JPEG for photos. Newer formats such as WebP and AVIF are not supported by every crawler, and SVG is not a valid og:image for the major platforms.

Design for the crop

Because the same image is shown at 2:1, 1.91:1 and as a square thumbnail, keep the important content in a central safe area:

One image or one per platform?

For most sites a single 1200 × 630 image under 300 KB is enough. Separate variants pay off in two cases: Pinterest, where a vertical image earns more space, and X, if you want a pixel-perfect 2:1 crop. Shareglow's OG image generator renders one template at each of these sizes, and the preview simulator shows how the result looks on 30 platforms before you ship it.

Already have an image? Paste the page into the free OG scanner. It reports the image's real dimensions and file size and flags anything a platform is likely to reject.

FAQ

Common questions

What is the best Open Graph image size?

1200 × 630 pixels (about 1.91:1). It is the size Facebook recommends, matches LinkedIn's ratio, and displays well on almost every other platform.

Why does my image show on Facebook but not on WhatsApp?

WhatsApp tends to drop preview images above roughly 300 KB. Compress the image or switch photos to JPEG.

Should I use a different image for X?

It is optional. X's large card is 2:1, so a 1200 × 600 image fits exactly, but a 1200 × 630 image works with a slight trim.