GUIDE

OG Image Size Guide: The Right Dimensions for Facebook, X, LinkedIn, and Slack

The correct og:image dimensions for every major platform, why 1200×630px became the default, and how to keep text and logos from getting cropped.

August 9, 20267 min read

If you only remember one number from this page, make it 1200×630px. That's the dimension almost every platform will accept, scale correctly, and not crop into something awkward. Everything below explains why that size works, where it can go wrong, and the handful of platform-specific quirks worth knowing before you ship a link.

The 1200×630px standard

1200×630px gives you a 1.91:1 aspect ratio, and it's become the de facto baseline because Facebook popularized it early on and every other platform built its unfurling around similar math. It's large enough to look sharp on high-density displays, small enough to stay under file size limits, and wide enough to hold a headline without the text feeling cramped. If you're generating one image per page and want it to look right almost everywhere without per-platform variants, this is the size to default to.

There's a second dimension worth knowing about: 1200×1200px (square, 1:1). Some messaging apps and older unfurlers prefer square crops, and a few platforms will crop a wide image down to square if no square variant is offered. Unless you have a specific reason to support square previews, though, 1200×630px alone covers the overwhelming majority of link shares.

Safe areas: design for cropping, not the full canvas

Different platforms crop the same 1.91:1 image differently — some show the full frame, some shave pixels off the top and bottom for their card chrome, some inset it slightly on mobile. The practical fix is to treat the outer 5–8% of the image as a margin you don't put anything critical in. Keep your headline, logo, and any small text comfortably inside the center, and let background imagery or color bleed to the edges. A logo mark sitting flush against the corner is the most common casualty of aggressive cropping — pull it in.

  • Keep body text at least 60–80px from any edge at 1200×630 resolution
  • Avoid putting the only readable element in a corner — center of frame survives every crop variant
  • Test at both desktop card width and the narrower mobile card width before shipping
  • Use a font size large enough to read at thumbnail scale — assume the image renders small in a busy feed

File size and format

Most platforms cap og:image at 5MB or 8MB depending on the crawler, but you should aim well under that regardless of the ceiling. A large file slows down the crawler's fetch, and some bots will time out and fall back to no image at all rather than wait. PNG is the safer default for images with text or sharp edges (logos, UI screenshots, typography-heavy cards) because it avoids JPEG compression artifacts around fine detail. JPEG is fine and usually smaller for photographic backgrounds. WebP is supported by most modern crawlers now, but a handful of older or stricter unfurlers still don't parse it reliably, so PNG or JPEG remains the conservative choice if you want broad compatibility over marginal file size savings.

Per-platform notes

  • Facebook: uses 1200×630px as its native card size; will accept smaller images but scales them up, which looks soft — don't go below 600×315px
  • X (Twitter): supports a 'summary_large_image' card at roughly the same 2:1-ish ratio via 1200×630px; without the twitter:card meta tag set, it may fall back to a small square thumbnail instead
  • LinkedIn: reads og:image directly and is one of the pickier crawlers about needing an absolute, publicly reachable URL — relative paths or auth-gated images frequently fail to unfurl
  • Slack: unfurls og:image inside a compact card and tends to crop tighter than Facebook, so keep text especially close to center
  • Discord: respects og:image similarly to Slack but shows a slightly larger preview in embeds — 1200×630px still holds up well here

Platform-by-platform behavior worth knowing before you ship

The table above covers the size that works, but each platform has its own quirks in how it fetches, caches, and re-fetches that image — and those quirks are usually the actual reason a preview looks wrong, not the dimensions. Facebook's crawler (operating as facebookexternalhit) caches aggressively and keys that cache to the URL, not the image content, which means changing what og:image points to without changing the page URL can leave Facebook showing a stale image for days. The fix isn't to wait it out — Facebook's Sharing Debugger tool lets you force a manual re-scrape, and it's worth bookmarking if you update OG images on any page more than once.

X's crawler is stricter about content-type headers than most — it wants an unambiguous image/png or image/jpeg response, and it will sometimes silently drop the image (not the whole card, just the image) if the server responds with a generic or missing content-type on the image URL, even though the file itself is a valid image. This is a common failure mode for images served through certain CDN or proxy configurations that don't set headers correctly, and it's invisible unless you're specifically testing the card rendering on X rather than just checking that the image loads in a browser.

LinkedIn's crawler (LinkedInBot) is the one most likely to reject an image outright rather than degrade gracefully — if the fetch times out, returns a redirect it doesn't want to follow, or the image exceeds roughly 5MB, LinkedIn tends to show no image at all rather than a broken one, which is a worse outcome than a slightly oversized file on a more forgiving platform. LinkedIn also caches per-URL similarly to Facebook, and its own Post Inspector tool is the equivalent way to force a re-fetch after you've fixed something.

iMessage and WhatsApp both read og:image but render it inside a much smaller, often square-cropped preview tile compared to a desktop feed card — this is one of the few places where the 1200×1200px square variant genuinely earns its keep, since a wide 1.91:1 image gets center-cropped down to a small square automatically, and if your subject isn't centered, you lose it entirely on these two surfaces even though the same image looks fine on Facebook or LinkedIn.

Text sizing and legibility at real render sizes

It's easy to design an OG image at full resolution on a large monitor and misjudge how small it actually renders in practice. A desktop Facebook or LinkedIn feed card typically displays the image at somewhere around 500×260 logical pixels — well under half of the 1200×630px source — and on mobile it can be smaller still. That means any text under roughly 40px at the 1200×630px canvas size (which maps to something like 17px or smaller at render size) risks becoming unreadable in a normal scroll, especially for anyone viewing on a phone with the platform's own UI chrome eating into the available width. As a rule of thumb, a headline meant to be read at a glance should sit closer to 60–90px at full canvas resolution, with supporting text no smaller than 32–36px — sizes that feel oversized when you're looking at the full-resolution export but read correctly once the image is actually embedded in a feed.

Font weight matters as much as size here. A thin or light-weight typeface that looks elegant at full resolution can turn into a barely-there gray smear once a platform's JPEG re-compression and downscaling get applied — most platforms don't serve your exact original file, they resize and re-encode it for their own CDN, and that process is not kind to fine-stroke fonts. A medium or semibold weight survives that pipeline far more reliably, which is part of why so many high-performing OG images default to bold, high-contrast headline treatments rather than anything delicate.

Where a template-based renderer helps

The tedious part of this isn't picking a size — it's re-exporting a correctly sized, correctly cropped image every time a headline changes or you ship a new page. With a template-based renderer like useopengraph's, you set the 1200×630px canvas, safe-area margins, and font sizing once, and every page's OG image inherits that layout automatically as dynamic content flows in. You're not opening a design tool per URL or hoping someone remembers the export dimensions correctly six months from now — the dimensions are just a fixed property of the template.

Stop paying per seat
for a usage-shaped problem.

Unlimited teammates, one usage pool. Start free with the scanner — no card required.