Tutorial20 Jun 2025·5 min read

OG image dimensions: the exact sizes for every platform

One image. Every platform. Except each platform crops it slightly differently, displays it at a different size, and has its own file size limit.

Here are the exact specifications — no padding, no "approximately."

The universal starting point: 1200×630 pixels

Design your OG image at 1200×630 pixels. That's a 1.91:1 aspect ratio.

This is the standard used by Twitter, LinkedIn, Facebook, and most other platforms as their base format. If you only remember one number, remember 1200×630.

Why this specific size? Facebook created the Open Graph protocol in 2010 and set 1200×630 as the recommended resolution. Everyone else followed.

Platform-by-platform breakdown

Twitter / X

SpecValue
Recommended size1200×630 px
Minimum size300×157 px
Aspect ratio2:1 (for summary_large_image)
Max file size5 MB
FormatsJPG, PNG, WebP, GIF

Twitter has two card types. The one you want is summary_large_image — a full-width image that stops the scroll. Without explicitly setting it, you get a small square thumbnail in the corner.

You need this tag:

<meta name="twitter:card" content="summary_large_image" />

Without it, Twitter falls back to summary — the small card. Same image, vastly different display.

Twitter crops to 2:1 for large image cards. At 1200×630 (which is 1.91:1), the image is very slightly letterboxed, but in practice this is imperceptible.

LinkedIn

SpecValue
Recommended size1200×627 px
Minimum size1200×627 px
Aspect ratio1.91:1
Max file size5 MB
FormatsJPG, PNG, GIF

LinkedIn is the most strict about minimum dimensions. Below 1200×627, it will not show the image at all — you'll get a plain text link card instead.

LinkedIn also caches aggressively. If you update your OG image, you need to visit their Post Inspector and paste your URL to force a refresh. Otherwise the old image persists for days.

Facebook

SpecValue
Recommended size1200×630 px
Minimum size600×315 px
Aspect ratio1.91:1
Max file size8 MB
FormatsJPG, PNG

Facebook is the most forgiving. It will display images that are well below the minimum spec — just at a lower quality. For any serious use, design at 1200×630.

Facebook also has the Sharing Debugger for clearing its cache.

Slack

SpecValue
Display size~400–800 px wide
Reads fromog:image
Aspect ratioPreserves original
Max file sizeGenerally follows OG spec

Slack renders OG images inline in messages. It doesn't crop aggressively — it preserves the aspect ratio of whatever you've set. 1200×630 scales down gracefully.

The thing to know about Slack: image previews are prominent. A link shared in a busy channel with a well-designed OG image stands out significantly. Design your image to be readable at around 400px wide.

iMessage and WhatsApp

Both platforms read standard og:image tags and show compact previews. The image is small — design for clarity, not complexity. Bold text, clear logo, one idea.

iMessage shows a square-ish crop on iOS. If your subject is centred in the 1200×630 frame, it survives this crop fine.

File format and size recommendations

Use JPG for photos or image-heavy backgrounds. Use PNG for text-heavy designs, logos, or anything with transparency (though most platforms don't support transparent OG images — use a solid background).

File size matters more than most people think. A 2MB OG image loads noticeably slowly on mobile. Target under 300KB. At 1200×630, a quality-80 JPG is usually around 150–250KB.

The one-line summary

Design at 1200×630 pixels, keep the important content away from the edges, and keep the file under 300KB. That covers you on every major platform.

Fix it today

Your next shared link should look this good.

Design your OG image once. Paste the URL once. Done forever. Takes about four minutes.

Get started free