When a link gets shared on Facebook, LinkedIn, Twitter or WhatsApp, the platform pulls a preview image from the page and displays it alongside the link. That preview image is called an Open Graph image and 1200x628 is the size that displays correctly across all of these platforms without getting cropped or scaled in a way that cuts off important content. Websites that do not set an OG image at this dimension end up with link previews that look broken, use a random image from the page or display nothing at all. For any page that is meant to be shared on social media, having the OG image at exactly 1200x628 is a basic requirement.
How to Resize an Image to 1200x628
Enter 1200 in the width field and 628 in the height field. This is a landscape format with a roughly 1.91:1 ratio. If the original is already close to this ratio, leaving the Maintain Aspect Ratio checkbox on scales cleanly. If the original is square or portrait, turn it off to force both dimensions exactly as entered.
For OG images, making sure the most important content sits in the center of the frame is worth doing before uploading. Some platforms crop OG images slightly in certain display contexts, so keeping the key visual element away from the edges avoids it being cut off in a link preview. Upload multiple OG images at once and download as a ZIP when done.
Common Uses for 1200x628 Images
Open Graph meta images for websites and blog posts are the primary use case. Every page that gets shared on social media benefits from having an OG image set at 1200x628. Facebook, LinkedIn and WhatsApp all use this size as the recommended dimension for link preview images.
Twitter card images follow a similar dimension and 1200x628 works across Twitter card formats as well. Email newsletter header images and promotional banners that also get used as link previews are often prepared at this dimension to cover both use cases with a single file.
Output Format for OG Images
JPEG is the standard choice for OG images. Link previews load on demand when someone shares a link and a smaller JPEG file loads faster than a PNG of the same visual content. PNG is worth using if the OG image contains text, logos or graphic elements with flat colors where clean rendering matters more than file size. WEBP is increasingly supported for OG images but JPEG remains the safest choice for broadest compatibility across all platforms that display link previews.