Open Graph Image Size: The Right OG Image Dimensions for Each Platform

Open Graph Image Size: The Right OG Image Dimensions for Each Platform

Quick answer

The best Open Graph image size is 1200 x 630 pixels, a 1.91:1 ratio. Meta recommends this size for Facebook, it clears LinkedIn’s 1200 x 627 minimum, and it works on X with a small crop. Keep the file under 5 MB so it fits the limit on every major platform.

Free tool

Open Graph Tag Generator. Get Open Graph and X card tags with a live share preview.

The open graph image size you pick decides whether a shared link shows a large, sharp card or a small, cropped thumbnail. Below are the official numbers from Meta, LinkedIn and X, the tags to add, and how to check the preview before you share. Our Open Graph tag generator loads your image and shows its size as you work.

Open graph image size by platform

Each platform publishes its own limits. These figures come from their developer and help pages.

PlatformRecommended sizeMinimumRatioMax file size
Facebook (Meta)1200 x 630200 x 200; 600 x 315 for the large card1.91:18 MB
LinkedIn1200 x 6271200 x 6271.91:15 MB
X, large image card2:1, such as 1200 x 600300 x 1572:1Under 5 MB, up to 4096 x 4096
X, small summary cardSquare144 x 1441:1Under 5 MB

Sources: Meta image guidelines, LinkedIn sharing help and the X card documentation.

Why 1200 x 630 is the safe default

A 1200 x 630 image fits Facebook and LinkedIn with little or no cropping and loses very little on X. Meta asks for at least 1200 x 630 so images look sharp on high resolution screens. Images smaller than 600 x 315 still show on Facebook, but much smaller.

LinkedIn lists 1200 x 627 as its minimum for link shares. A 1200 x 630 image is three pixels taller, which LinkedIn accepts.

X crops to 2:1, not 1.91:1

Many guides say X uses the same 1.91:1 ratio as Facebook. X’s own documentation gives 2:1 for the large image card. A 1200 x 630 image therefore shows at about 1200 x 600, so roughly 30 pixels of height get trimmed. Keep text and logos away from the top and bottom edges and the crop will not matter.

If you want an exact fit on X, make a second image at 1200 x 600 and set it with the twitter:image tag. X uses og:image when no twitter:image is set.

Design tips for share images

  • Keep the main text and logo in the middle. We suggest leaving at least 60 pixels clear on every side.
  • Use large, bold text. Share cards often show at a small size on phones.
  • Save photos as JPG and text heavy graphics as PNG or a high quality JPG.
  • Keep the file small so it loads fast. A few hundred kilobytes is plenty for a 1200 x 630 image.
  • Add og:image:alt so people using screen readers know what the image shows.

The tags to add

Put these tags in the head of the page. Use a full URL that starts with https, not a relative path.

<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">

The width and height tags matter more than they look. Meta says they let its crawler show the image on the very first share, without waiting to download and measure it.

How to test your share preview

  • Facebook: paste the URL into the Sharing Debugger. It shows the preview and refreshes Meta’s cached copy.
  • LinkedIn: use the Post Inspector to see the card and fetch the page again.
  • X: the Card Validator lost its preview feature in 2022. Paste the link into a new post draft on X to see the card without posting it.

Platforms cache images by URL. If you replace an image, upload it with a new file name, then run the page through the debugger again. Meta says that reusing the same image URL means the old image will not update. X has said card data is usually cached for up to seven days.

Setting the OG image in WordPress

SEO plugins such as Rank Math and Yoast add the Open Graph tags for you. By default they use the post’s featured image. To use a different share image, open the plugin’s social settings for that post and upload a 1200 x 630 image there.

The share image also matters beyond social media. In March 2026 Google confirmed that it uses both schema.org markup and the og:image tag as sources when it picks image thumbnails in Search and Discover.

Frequently asked questions

What is the best OG image size?

1200 x 630 pixels at a 1.91:1 ratio. It meets Facebook’s recommendation, clears LinkedIn’s minimum and only loses a thin strip on X.

What size is the X (Twitter) card image?

The large image card uses a 2:1 ratio, with a minimum of 300 x 157 pixels, a maximum of 4096 x 4096 and a file size under 5 MB. 1200 x 600 is an exact 2:1 fit.

Why is my OG image not showing?

The usual causes are a relative image URL, an image blocked by robots.txt or a login, a file that is too large, or an old cached preview. Fix the cause, then run the page through the Sharing Debugger or Post Inspector again.

Can I use a different image for X and Facebook?

Yes. Set og:image for Facebook and LinkedIn, and add a twitter:image tag with a 2:1 image for X.

Does the OG image affect Google Search?

It can. Google uses the og:image tag, along with schema.org markup, as a source when it picks thumbnails in Search and Discover.

Keep reading

Similar Posts