OpenGraph Viewer

OG Image Size

Use 1200x630 pixels. That's a 1.91:1 ratio, and it works on Facebook, X, LinkedIn, WhatsApp, Slack, Discord and iMessage. The limits for each platform are below.

The Short Answer

  • Size: 1200x630 pixels.
  • Aspect ratio: 1.91:1.
  • Format: JPG or PNG.
  • File size: under 1 MB if you can. The hard limits are 5 MB on X and LinkedIn and 8 MB on Facebook.
  • URL: a full https:// address in your og:image tag.

OG Image Size by Platform

PlatformRecommendedRatioMinimumMax file size
Facebook1200x6301.91:1200x200 (600x315 for the large card)8 MB
X, summary_large_image1200x6002:1300x1575 MB
X, summary600x6001:1144x1445 MB
LinkedIn1200x6271.91:1401 pixels wide for the large card5 MB
WhatsApp1200x6301.91:1None publishedKeep it under about 600 KB
Slack1200x6301.91:1None publishedNone published
Discord1200x6301.91:1None publishedNone published
iMessage1200x6301.91:1None publishedNone published

WhatsApp doesn't publish a limit, but heavy images are the usual reason a WhatsApp preview shows up without a picture. Compress the file and it tends to come back.

Why 1200x630

Facebook asks for 1200x630 and needs at least 600x315 before it will use the large card. LinkedIn asks for 1200x627, which is three pixels off. X uses 2:1, so it trims about 15 pixels from the top and bottom of a 1200x630 image. One file covers all three.

You'll also see 1200x628 recommended. It's the same image for all practical purposes. Nobody can see a two pixel difference.

Keep Important Stuff Away From the Edges

Some layouts crop your image to a square: X summary cards, small Facebook cards, and a lot of chat apps. If your logo or headline has to survive that, keep it inside the middle 630x630 square. At the very least, leave 40 pixels of padding on every side.

Tell Platforms the Size

Add the width and height next to your image tag. Facebook uses them to show the image on the very first share, before it has finished downloading the file.

<meta property="og:image" content="https://example.com/images/social-card.png" />
<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" />

Common OG Image Mistakes

  • Too small. Under 600x315, Facebook shrinks it to a thumbnail. Under 200x200, it's ignored.
  • Wrong shape. A square or tall image gets cropped to 1.91:1 and loses the top and bottom.
  • SVG, AVIF or HEIC. Crawlers want JPG or PNG. WEBP works on most platforms but not all of them.
  • A relative URL. /og.png won't load. Use the full address.
  • Tiny text. The card is often shown around 500 pixels wide. Text that looks fine at full size becomes unreadable.

Frequently Asked Questions

What is the best OG image size?

1200x630 pixels, a 1.91:1 aspect ratio. It meets Facebook's and LinkedIn's recommendations and X only trims a few pixels from the top and bottom.

Is it 1200x630, 1200x628 or 1200x627?

All three work. 1200x630 is Facebook's number, 1200x627 is LinkedIn's and 1200x628 shows up in a lot of X guides. The difference is a couple of pixels, so pick 1200x630 and use it everywhere.

What is the minimum OG image size?

Facebook ignores anything under 200x200 pixels and needs 600x315 to show the large card. X needs 300x157 for a large image card. LinkedIn shrinks images 400 pixels wide or narrower to a thumbnail.

What file format should an OG image be?

JPG or PNG. Use JPG for photos and PNG for text and flat graphics. SVG doesn't work on any major platform, and newer formats like AVIF aren't widely supported by crawlers.

Does OG image size affect SEO?

Not rankings directly. It changes how your link looks when people share it, which changes how many of them click.

Last checked Nov 30, 2026.

Check Your OG Image Size

Paste a URL. The badge on each preview shows your image's real pixel size.

Enter a public URL like example.com or https://example.com/blog.

Paste a URL above to see how it looks on social media

Works with any public website. No login needed.