OG image size: use 1200×630
The open graph image size that works everywhere is 1200×630 pixels, a 1.91:1 ratio, as a PNG or JPEG under 5 MB. Keep text and logos in the middle, away from the edges.
OG image size by platform
| Platform | Size | What it does with it |
|---|---|---|
| FacebookShows the full 1.91:1 image above the title. Images under 600×315 shrink to a small square thumbnail. | 1200×630 | Shows the full 1.91:1 image above the title. Images under 600×315 shrink to a small square thumbnail. |
| LinkedInShows it full width at about 1.91:1, so 1200×630 works. Small images become a thumbnail beside the text. | 1200×627 | Shows it full width at about 1.91:1, so 1200×630 works. Small images become a thumbnail beside the text. |
| X (Twitter)Needs twitter:card set to summary_large_image for the big card. X crops toward 2:1, so a sliver comes off the top and bottom. | 1200×630 | Needs twitter:card set to summary_large_image for the big card. X crops toward 2:1, so a sliver comes off the top and bottom. |
| SlackUnfurls the image under the text, scaled down. It keeps your ratio, so text that's tiny at 1200 wide is unreadable here. | 1200×630 | Unfurls the image under the text, scaled down. It keeps your ratio, so text that's tiny at 1200 wide is unreadable here. |
| DiscordShows a large image when twitter:card is summary_large_image. Otherwise a small thumbnail on the right. | 1200×630 | Shows a large image when twitter:card is summary_large_image. Otherwise a small thumbnail on the right. |
| iMessageDraws a large card from og:image. Keep the file small, because it fetches the image on the sender's phone. | 1200×630 | Draws a large card from og:image. Keep the file small, because it fetches the image on the sender's phone. |
| WhatsAppUsually crops to a small square from the center, and may skip big files. Keep it under about 300 KB, with the logo near the middle. | 1200×630 | Usually crops to a small square from the center, and may skip big files. Keep it under about 300 KB, with the logo near the middle. |
Platforms change how they draw previews without notice. We last checked in November 2026.
Six rules for an OG image that looks right everywhere
- Use 1200×630. It's 1.91:1, it's big enough for retina screens, and every platform accepts it.
- Keep anything important in the middle, at least 60 pixels from every edge. X trims the top and bottom, and WhatsApp crops to a square.
- Use a PNG for text and flat colours, or a JPEG for photos. Stay under 5 MB, and under 300 KB if you can.
- Point og:image at a full https:// URL that loads without a login. Relative paths and images behind bot protection show up blank.
- Write the headline at 60 pixels or bigger. Slack and iMessage show the card at about a third of its size.
- Change the image URL when you change the image (add ?v=2). Platforms cache previews for days.
The meta tags to paste
Put these in your page's <head>. The width and height tags let some apps draw the card before the image has loaded.
<meta property="og:image" content="https://yoursite.com/og.png" /> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="630" /> <meta property="og:image:alt" content="What the image shows" /> <meta name="twitter:card" content="summary_large_image" />
Questions
What is the best OG image size?
1200×630 pixels. It's a 1.91:1 ratio, it stays sharp on retina screens, and Facebook, LinkedIn, X, Slack, Discord and iMessage all show it as a large card.
What is an OG image?
It's the picture that shows up when someone shares your link on X, LinkedIn, Slack or in a chat. Your page names it with an og:image meta tag, from the Open Graph protocol. Without one, most apps show a small text-only card.
What's the smallest OG image that still shows large?
Facebook needs at least 600×315 for the large card, and X needs 300×157 for summary_large_image. Anything smaller is shown as a thumbnail or not at all. Go with 1200×630 anyway, because small images look blurry.
Do I need a separate Twitter image?
No. X reads og:image when there's no twitter:image. You do need the twitter:card tag set to summary_large_image to get the big card.
Skip the measuring
The free generator draws your image at exactly 1200×630 from six templates, with your logo and colours, and gives you the PNG or a hosted link with these tags filled in.