Sizes · 7 min read

Open Graph image size: the 1200 x 630 guide

The complete Open Graph image size guide: 1200 x 630 for OG, 1200 x 628 for X, 1200 x 627 for LinkedIn, plus safe areas, file sizes, and crop behaviour.

Updated

The short answer

Use 1200 x 630 pixels for an Open Graph image. That is a 1.91:1 ratio and works for Facebook, LinkedIn, Slack, Discord, WhatsApp, and most other link previews. X's large card is usually listed as 1200 x 628 and LinkedIn as 1200 x 627; the difference is rounding, so the same 1200 x 630 file works everywhere. Keep the file under 1 MB and the important content inside the middle 80 percent.

Open Graph
1200 x 630 px
Aspect ratio
1.91:1
X large card
1200 x 628 px
LinkedIn
1200 x 627 px
Safe file size
Under 1 MB
Edge padding
At least 64 px

There is no single official Open Graph image size. The protocol defines a tag, not a canvas. The 1200 x 630 number is a convention that grew around the 1.91:1 link card used by Facebook, LinkedIn, and most other platforms. It is the size that survives the most containers with the least cropping.

Open Graph image sizes by platform

PlatformRecommendedRatioNotes
Open Graph / Facebook1200 x 6301.91:1The baseline. A large card needs at least 600 x 315 to render sharply.
X large card1200 x 6281.91:1Displayed closer to 2:1 in some timelines; keep content centred.
X summary card400 x 4001:1A small square card. Use it only when you deliberately want the compact layout.
LinkedIn1200 x 6271.91:1Shared link previews. LinkedIn often places the image beside the copy.
Slack1200 x 6301.91:1Unfurls vary by client and workspace; smaller files load more reliably.
Discord1200 x 6301.91:1Large embeds crop toward 1.91:1; thumbnails are much smaller.
WhatsApp1200 x 6301.91:1Preview shape varies by client and platform. Keep the file small.
iMessage1200 x 6301.91:1Uses the Open Graph tags for the rich link card.
Telegram1200 x 6301.91:1Wide previews; refresh with the Webpage Bot when testing.
Google Discover1200 x 6281.91:1Google may use a page image when large previews are allowed.
Pinterest1000 x 15002:3A pin is not an OG card. Make a separate vertical asset.
YouTube thumbnail1280 x 72016:9A different surface entirely. Do not reuse the OG crop.
Recommended sizes, not hard limits. Platforms change their containers without changing the Open Graph spec.

The three headline numbers people quote, 1200 x 630, 1200 x 628, and 1200 x 627, are all the same 1.91:1 shape with different rounding. A two- or three-pixel difference is invisible after compression. Do not maintain three files for the sake of matching a table.

Why 1200 pixels wide is the sweet spot

  • Wide enough for a headline. At 1200 px, a 72 px headline has room for six to ten words without wrapping into a wall of text.
  • Large enough for retina displays. A 1200 px file stays acceptable when the card is rendered at 600 CSS pixels wide on a 2x screen.
  • Small enough to load quickly. A well-compressed 1200 x 630 JPG is usually 80-250 KB. That matters when a chat client fetches it on a phone.
  • Close to the most common crop. The 1.91:1 shape is used by the largest number of surfaces, so it loses the least in the places that crop it differently.

While 1200 x 630 is enough for almost every case, exporting at 2400 x 1260 keeps more detail for high-density displays and gives you room to crop a square variant later. The trade-off is file size. If you go larger, compress it back down; a 2400 px PNG can easily cross 1 MB.

The safe area that survives every crop

Platforms do not just scale your image. They crop it to fit their own container. X may show something closer to 2:1, a messaging client may show a square, and a dense feed may show a thumbnail the size of a postage stamp. Design for the smallest and most aggressive crop, not the widest one.

ZonePixels on a 1200 x 630 canvasWhat to put there
Full canvas1200 x 630Background, texture, decoration
Safe area1072 x 502 (64 px inset)Headline, logo, domain, any text that must survive
Aggressive 2:1 crop1200 x 600, centredThe headline and brand mark
Square crop630 x 630, centredThe single most important word or mark
ThumbnailAbout 300 x 158One readable line, high contrast, no fine detail
If the headline is unreadable at 300 px wide, it will be unreadable in a Slack sidebar or a dense feed.

File format and weight

FormatBest forWatch out for
JPGPhotographic backgrounds, gradients, screenshotsVisible ringing around sharp type at low quality
PNGFlat colour, logos, crisp textLarge files on photographic backgrounds
WebPSmaller files with good qualityOlder scrapers and some chat clients may not fetch it
GIFAlmost neverInconsistent support; animation is not part of the OG spec
SVGAlmost neverMany social crawlers do not render it
  • Target under 1 MB. Facebook and X accept larger files, but smaller images fail less often and load faster in chat clients.
  • Use sRGB. CMYK files can shift colour or fail to render.
  • Avoid transparency. Some platforms composite transparent PNGs onto black, others onto white. The result is unpredictable.
  • Do not upscale a small image. A 600 px file stretched to 1200 px looks soft, and some platforms refuse to show a large card.
  • Export at 1x for most cards. A 1200 x 630 file is already 2x for a 600 px card. Exporting at 3x is usually waste.

Designing for the crop, not the canvas

The most common OG image mistake is treating the 1200 x 630 canvas as the final composition. It is not. It is the largest version of a composition that has to work at several sizes. Put the idea in the centre, keep the decoration at the edges, and test the result at 300 px wide before you publish.

  1. 01Place the headline in the middle of the canvas, not against the left or right edge.
  2. 02Keep the logo inside the safe area. A corner mark is the first thing a square crop removes.
  3. 03Use one type size for the headline. A second, much smaller line can work as a kicker, but it will disappear in a thumbnail.
  4. 04Leave negative space. A card with one strong line and a lot of air reads better at small sizes than a dense layout.
  5. 05Check the card on a phone, in a chat app, and in a feed. Those are the places it will actually appear.

Square, vertical, and story sizes

Not every surface wants a wide card. Pinterest pins are 2:3, Instagram stories are 9:16, and some messaging clients show a square. Those are separate assets, not different crops of the same file. If a channel matters to you, make a variant for it and point the platform's own image tag at that variant.

PlacementSizeRatio
Instagram feed1080 x 13504:5
Instagram story / Reel cover1080 x 19209:16
Pinterest pin1000 x 15002:3
YouTube thumbnail1280 x 72016:9
Square social post1080 x 10801:1
Open Graph / link card1200 x 6301.91:1

How to check your image size

In a browser, right-click the image and choose Inspect, or open the image URL in a new tab and read the dimensions in the title bar. On a Mac, Preview's Inspector shows the pixel size. On Windows, File Explorer's Details tab does the same. For a live page, the Facebook Sharing Debugger and LinkedIn Post Inspector show the scraped image URL and dimensions, which is the number that actually matters.

Frequently asked questions

Is 1200 x 630 the same as 1.91:1?

Close enough. 1200 / 630 = 1.904, while 1.91:1 is 1.91. The difference is less than half a percent and is invisible after compression. If you want an exact 1.91:1 file, use 1200 x 628.

What is the minimum Open Graph image size?

Aim for at least 600 x 315 for a large link card. Smaller images may still display, but they look soft and some platforms fall back to a compact layout. A 1200 x 630 file is the safest default.

What is the maximum file size for an OG image?

Facebook accepts up to 8 MB and X up to 5 MB, but those are ceilings, not targets. Keep the file under 1 MB for fast loading and fewer scraper failures. Most well-compressed 1200 x 630 JPGs land between 80 and 250 KB.

Should I use PNG or JPG for an Open Graph image?

Use JPG or WebP for photographic backgrounds, and PNG for flat colour, logos, and crisp type. If you are unsure, a high-quality JPG at 85 percent is a safe default. Keep the file under 1 MB.

Why does X crop my 1200 x 630 image?

X's large card container is close to 2:1 in some placements, so a 1.91:1 image loses a few pixels at the top and bottom. Keep the headline and logo inside the middle 80 percent of the canvas and the crop will not matter.

Do I need a separate image for LinkedIn?

Usually not. LinkedIn recommends 1200 x 627, which is the same 1.91:1 shape as 1200 x 630. Use one file and add og:image plus the image dimensions. A dedicated variant is only worth it if you want LinkedIn-specific copy baked into the card.

What size is a Twitter card image?

For a summary_large_image card, 1200 x 628 with a 1.91:1 ratio. For a summary card, a square image around 400 x 400. X accepts JPG, PNG, WebP, and GIF, with a 5 MB limit.

Can I use the same image for Open Graph and Twitter cards?

Yes. Point both og:image and twitter:image at the same 1200 x 630 file. The two tags exist because X gives twitter:* precedence, not because the image has to be different.

Sources and further reading

Written and maintained by GxAditya

The person who builds ogimg.in. Last updated . 7 min read.

About the project

Free, no account

Make the image, then copy the tags

Start from a template or a blank canvas. Export a 1200 x 630 PNG, JPEG, or WebP, and copy the Open Graph tags from the preview panel.

No account. No upload. No watermark.

Ship the link. The preview follows.

Start from a blank canvas or a template, and leave with a card that looks like it was art-directed — because you did.