·5 min read

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.

Social media preview image sizes reference

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

PlatformRecommendedMinimumRatio
Twitter/X1200×628300×1572:1
Facebook1200×630600×3151.91:1
LinkedIn1200×6271200×6271.91:1
Discord1200×630Any1.91:1
Slack1200×630Any1.91:1
WhatsApp1200×630300×2001.91:1
iMessage1200×630Any1.91:1
Reddit1200×630Any1.91:1
Telegram1200×630Any1.91:1
Pinterest1000×1500600×6002: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

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

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.dev

55+ 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.