OG Image Size Guide: Exact Dimensions for Every Platform (2026)
The exact og:image dimensions required by Twitter, LinkedIn, Facebook, Discord, Slack, and WhatsApp — plus what happens when you get it wrong.
The universal safe size
If you want one image that works everywhere, use 1200×630 pixels (1.91:1 aspect ratio), JPEG or PNG, under 1 MB. This is the OG image spec every major platform accepts without cropping or falling back to a thumbnail.
Platform-by-platform requirements
Twitter / X
- • Summary card: minimum 144×144 px, max 4096×4096 px
- • Summary with large image: minimum 300×157 px, max 4096×4096 px
- • Recommended: 1200×628 px at 2:1 ratio
- • Max file size: 5 MB (JPEG, PNG, WebP, GIF)
- • Requires
twitter:cardmeta tag
- • Recommended: 1200×627 px (1.91:1 ratio)
- • Minimum: 200×200 px
- • Max file size: 5 MB
- • Formats: JPEG, PNG (GIF is ignored)
- • Images below 200 px wide are not shown
- • Recommended: 1200×630 px
- • Minimum: 200×200 px
- • Minimum for large link preview: 600×315 px
- • Max file size: 8 MB
- • Formats: JPEG, PNG, GIF (still only)
Discord
- • Recommended: 1200×630 px
- • Discord scales down large images to fit embed width (~520 px)
- • Max file size: 8 MB
- • Formats: JPEG, PNG, GIF, WebP
- • Images must be HTTPS — HTTP images are blocked
Slack
- • Recommended: 1200×630 px
- • Minimum for preview display: 500×261 px
- • Images below 500 px wide show as small thumbnails
- • Formats: JPEG, PNG, GIF
- • Slack fetches via its server — bot tokens do not affect OG rendering
- • Recommended: 1200×630 px
- • Minimum: 300×200 px
- • Max file size: 5 MB
- • Must be HTTPS
- • Formats: JPEG, PNG
iMessage
- • Uses Apple's link presentation — reads
og:image - • Recommended: 1200×630 px
- • Images must be HTTPS and publicly accessible
- • Formats: JPEG, PNG
What happens with the wrong size
- Too small: platforms either skip the preview image entirely or show it as a tiny blurry thumbnail with no visual impact.
- Wrong aspect ratio: the image gets cropped to fit the platform's display container, cutting off logos or text.
- Too large (file size): some crawlers time out or silently fail to load the image, resulting in a text-only card.
- Unsupported format: LinkedIn ignores GIFs; some platforms reject WebP from older CDN configurations.
The recommended HTML tags
<meta property="og:image" content="https://yourdomain.com/og.jpg" /> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="630" /> <meta property="og:image:type" content="image/jpeg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:image" content="https://yourdomain.com/og.jpg" />
Include explicit og:image:width and og:image:height tags so crawlers do not need to download the image to detect dimensions — this reduces failed previews caused by slow or partially blocked image fetches.
Not sure if your og:image dimensions are correct? Paste your URL into OG Fixer to see exactly what each platform will display — and generate a properly sized replacement image if needed.