Social Media Preview Image Sizes: The Complete 2026 Reference
Every social media platform's preview image size in one place. Twitter, Facebook, LinkedIn, Discord, Slack, WhatsApp, iMessage, Reddit — all dimensions and requirements.
When you share a link, every platform displays a preview card with an image. But each platform has slightly different requirements. This guide covers every major platform's image dimensions so you can create one image that works everywhere.
TL;DR
Use 1200×630 pixels. It works on every platform. OGMagic generates all images at this exact size.
Quick Reference Table
| Platform | Recommended | Minimum | Ratio |
|---|---|---|---|
| Twitter/X | 1200×628 | 300×157 | 2:1 |
| 1200×630 | 600×315 | 1.91:1 | |
| 1200×627 | 1200×627 | 1.91:1 | |
| Discord | 1200×630 | Any | 1.91:1 |
| Slack | 1200×630 | Any | 1.91:1 |
| 1200×630 | 300×200 | 1.91:1 | |
| iMessage | 1200×630 | Any | 1.91:1 |
| 1200×630 | Any | 1.91:1 | |
| Telegram | 1200×630 | Any | 1.91:1 |
| 1000×1500 | 600×600 | 2:3 |
Notice the pattern? 1200×630 works on 9 out of 10 platforms. Pinterest is the exception (it prefers vertical images), but Pinterest reads og:image tags anyway — the horizontal image just won't be optimal there.
Twitter/X
Twitter supports two card types: summary_large_image (recommended, 1200×628) and summary (144×144 square thumbnail). Always use summary_large_image for maximum visual impact.
Twitter crops images to a 2:1 ratio. A 1200×630 image gets 2 pixels cropped — completely invisible. Read our complete Twitter card guide for more details.
Facebook displays link previews at 1200×630 in the feed. Images below 600×315 get displayed as a small thumbnail instead of the large format. Always use the full 1200×630.
Facebook caches OG images aggressively. Use the Sharing Debugger to force a refresh after updating.
LinkedIn requires exactly 1200×627 for the large image format. In practice, 1200×630 works perfectly — the 3px difference is invisible. Images below 1200×627 may display as thumbnails.
Use the Post Inspector to preview and refresh cached images.
Discord & Slack
Both Discord and Slack embed link previews with OG images. They accept any size but display at roughly 1.91:1 ratio. 1200×630 is ideal. Both render images inline in chat, making a good preview image especially impactful for engagement.
WhatsApp & iMessage
WhatsApp shows link previews with a small square crop and a larger rectangular version depending on the context. iMessage shows a full-width preview. Both read og:image tags. 1200×630 works for both.
The Universal Meta Tags
These meta tags cover all platforms with a single image:
<!-- Works on ALL platforms -->
<meta property="og:image" content="https://ogmagic.dev/api/og?title=Your+Title&template=gradient-mesh" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Description of your image" />
<!-- Twitter-specific (falls back to og:image if missing) -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://ogmagic.dev/api/og?title=Your+Title&template=gradient-mesh" />Generate Once, Use Everywhere
Instead of creating different images for different platforms, use a service like OGMagic to generate a single 1200×630 image that works everywhere. Just construct a URL with your title and template:
https://ogmagic.dev/api/og?title=My+Blog+Post&template=minimal-dark&domain=myblog.dev55+ templates, free tier (50 images/month, no signup), Pro ($12 one-time) for 5,000 images/month.
Conclusion
Don't overthink social media image sizes. 1200×630 pixels works on every major platform. Use proper og:image and twitter:card meta tags, keep text in the center 80% safe zone, and automate generation with an API.
Perfect social previews, every platform
1200×630 images generated from a URL. Works on Twitter, Facebook, LinkedIn, and more.
Get OG tips & product updates
Join our newsletter for Open Graph best practices, new template releases, and exclusive discounts. No spam, unsubscribe anytime.
🔒 We respect your inbox. No spam, ever.