OG Image Sizes for Every Platform in 2026
Getting your Open Graph (OG) image sizes right is crucial for making a great first impression when your content is shared online. Wrong sizes mean cropped images, blurry previews, and lower click-through rates. In 2026, with dozens of platforms and apps competing for attention, nailing your OG images can make the difference between a viral share and a forgotten link.
In this guide, you'll find the exact OG image dimensions for every major platform, common pitfalls to avoid, and how to generate perfect previews with the Imago API.
Platform-by-Platform OG Image Dimensions
| Platform | Recommended Size | Aspect Ratio | Max File Size | Supported Formats |
|---|---|---|---|---|
| Twitter / X | 1200×630 | 1.91:1 | 5MB | JPEG, PNG, GIF |
| 1200×627 | — | Recommended | PNG, JPEG | |
| 1200×630 1200×628 also works |
— | Recommended | PNG, JPEG, GIF | |
| Slack | 1200×630 | — | Recommended | — |
| Discord | 1200×630 | — | Recommended | — |
| 1200×630 | — | Recommended | — |
Universal Recommendation: 1200×630
Use 1200×630 for everything
This size works perfectly across all major platforms and ensures your images look sharp and properly formatted everywhere.
While each platform has slightly different preferences, 1200×630 pixels (1.91:1 aspect ratio) is the safest universal choice. It's large enough to avoid downscaling on any platform and maintains proper proportions across Twitter/X, Facebook, LinkedIn, Slack, Discord, and WhatsApp.
Common OG Image Mistakes to Avoid
- Too small — Images under 600px wide often get pixelated or blurred across platforms
- Wrong aspect ratio — Squared images (1:1) get cropped on some platforms; vertical images get cut off
- Text too close to edges — Critical info may be cut off when platforms add overlays or when images are resized
- Large file sizes — Over 5MB may not load properly or cause delays in preview generation
- Using GIFs for static content — Most platforms will still show a static preview, wasting bandwidth
How to Check Your OG Images
Before sharing, always test how your link will appear. The Imago API Check Tool lets you preview your OG images across multiple platforms instantly. Just enter your URL and see exactly how your content will look on Twitter/X, Facebook, LinkedIn, and more.
The tool also catches issues like:
- Missing or incorrect meta tags
- Resolution that's too low
- Image loading errors
- Mismatched aspect ratios
Generate Perfect OG Images with the Imago API
Don't spend hours designing individual images for each platform. The Imago API automatically generates platform-optimized OG images in seconds.
GET https://imagoapi.com/api/og/generate?title=My+Page+Title&template=modern&api_key=YOUR_KEY
This endpoint returns a properly sized 1200×630 image with your title, description, and branding in one request. You can customize templates, colors, fonts, and more through API parameters.
Ready to get started? Check your OG images free today.
Check Your OG Images Free
See how your links appear across all platforms in seconds. No signup required.
Check Your OG Images Free