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.
The free checker shows your previews for nine platforms — from X and WhatsApp to iMessage, Discord and Bluesky.
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
- Using a square imageA 1:1 image gets cropped to 1.91:1 on most platforms — the top and bottom disappear. Make a dedicated social version.
- A 4 MB PNGLooks gorgeous, but WhatsApp drops it and everything loads slowly. Compress to JPG or optimized PNG under 1 MB.
- An image behind a redirect or loginThe og:image URL must be directly and publicly reachable. Scrapers do not follow logins and trip over some redirect/CDN setups.
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.
Paste your URL and see within two seconds whether everything is right — on every platform.