Back to feed
Dev.to
Dev.to
5/11/2026
OG Image Sizes: The Complete Guide for 2026

OG Image Sizes: The Complete Guide for 2026

Short summary

Use 1200x630px (1.91:1 ratio) for Open Graph images across all platforms—no platform-specific versions needed. Keep important content in a 60px safe zone, use PNG or JPEG under 1MB, and always test with platform debuggers before publishing. Tools like @vercel/og, Cloudinary, and ogimg.xyz automate OG image generation at scale.

  • 1200x630px (1.91:1 ratio) works on all platforms without custom versions
  • Keep text/content in 60px safe zone; PNG/JPEG, <1MB file size
  • Test with platform debuggers; use edge functions or APIs for dynamic generation at scale

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more