Skip to content

Social preview image sizes by platform

Use 1200×630px (1.9:1 ratio) as your default og:image. It's the safest size and displays well on LinkedIn, X, Discord, Slack, iMessage, and Facebook. Serve images over HTTPS and keep them under 5 MB.

Preview your image on every platform →

Image size reference table

Platform Recommended size Ratio Min width Max file size Notes
LinkedIn 1200 × 627 1.91:1 401 px 5 MB Images narrower than 401 px render as small thumbnails instead of large feed cards.
X (Twitter) 1200 × 628 1.91:1 300 px 5 MB Requires twitter:card=summary_large_image for large image display. Square cards use 1:1.
Discord 1200 × 630 1.9:1 none 8 MB Embeds are shown in-chat at ~520px wide. Image is scaled proportionally.
Slack 1200 × 630 1.9:1 none none Unfurl image shown at fixed width. Preview cached ~30 minutes.
iMessage 1200 × 630 1.9:1 none 10 MB Image must be in static HTML. JavaScript is not executed during rich link creation.
Facebook / Meta 1200 × 630 1.91:1 600 px 8 MB OG image is cropped to 1.91:1. Use Facebook Sharing Debugger to force cache refresh.

The safe universal size

If you only generate one og:image, use 1200×630px. This satisfies LinkedIn's minimum width requirement, fits X's summary_large_image card format, and renders well in Discord, Slack, and iMessage. Always set og:image:width and og:image:height so platforms don't need to fetch the image to determine its size.

<meta property="og:image" content="https://example.com/og.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Description of the image" />
<meta property="og:image:type" content="image/jpeg" />

Quick tips

  • Always use HTTPS (HTTP images are rejected by most platforms)
  • Keep images under 5 MB (LinkedIn rejects larger files)
  • Use JPEG or PNG (WebP works on most platforms but not all crawlers)
  • Avoid text-heavy images for iMessage, the thumbnail is very small on older devices
  • Test with peek before publishing to catch issues across all 5 platforms at once

Related guides

Frequently asked questions

What is the best og:image size for all platforms?
1200×630px at a 1.9:1 aspect ratio is the safest universal size. It meets LinkedIn's minimum, renders well on X, Discord, and Slack, and displays correctly on iMessage. Always serve images over HTTPS and keep the file under 5 MB.
What happens if my og:image is the wrong size?
Images that are too narrow (under 401px for LinkedIn) render as small thumbnails instead of large feed cards. Images with extreme aspect ratios may be cropped or letterboxed. Wrong proportions on X will be cropped to 2:1.
Does og:image:width and og:image:height matter?
Including them is strongly recommended. Without explicit dimensions, platforms have to fetch the image to determine its size, which can slow down preview rendering or cause failures if the image fetch times out.
Can I use different image sizes for different platforms?
Not directly through Open Graph (there is only one og:image). However, you can use twitter:image for a different image on X. For other platforms, the best approach is to use the standard 1200×630px image that works everywhere.
What image formats are supported for og:image?
JPEG and PNG are universally supported. WebP is supported by most modern platforms. Avoid SVG and GIF as og:image (not reliably supported across all social crawlers).