og:image size: the right dimensions per platform (2026)

One image of 1200×630 pixels (1.91:1 ratio), as JPG or PNG under 1 MB — and you are covered on every platform. Why that is, and where platforms differ, below.

Want to see how your page looks right now?

The free checker shows your previews for nine platforms — from X and WhatsApp to iMessage, Discord and Bluesky.

Check your URL

The gold standard: 1200×630

Virtually every platform (Facebook, X large card, LinkedIn, Slack, Discord) displays og:images at or around 1.91:1. At 1200×630 pixels you deliver enough resolution for sharp rendering on retina screens without an oversized file.

Minimum requirements

Below 200×200 pixels some platforms refuse the image entirely. For the large X card the practical minimum is roughly 300×157 — below that you fall back to the small card.

File size

Keep it under 1 MB. WhatsApp is the strictest: large files frequently just do not show there (rule of thumb: stay under ~600 KB). JPG is usually smaller; choose PNG only for sharp text or logos.

Safe composition

Platforms crop just a little differently. Keep text, faces and logos in the middle ~80% of the canvas, and never rely on the outer edges.

Declare the dimensions

Add og:image:width and og:image:height (1200 / 630). Some platforms then render the card correctly on the very first share, without downloading the image first.

Code example

<meta property="og:image" content="https://yoursite.com/og-image.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Short description of the image" />
<meta name="twitter:card" content="summary_large_image" />

Common mistakes

Frequently asked questions

JPG or PNG for og:image?

JPG for photos (smaller file), PNG for images with sharp text or logos. WebP support is broad but not yet universal — JPG/PNG is the safe choice.

Can I declare multiple og:image tags?

You may, and Facebook sometimes lets users pick — but in practice most platforms simply take the first. Do not count on it.

Does an animated GIF work as og:image?

Most platforms show a static frame. Never rely on animation in previews.

Changed your tags? Verify the result.

Paste your URL and see within two seconds whether everything is right — on every platform.

Open the checker

Related guides

Deze gids in het Nederlands →