The standard Open Graph image size is 1200×630 pixels, a 1.91:1 ratio. Save it as a JPG or PNG with a solid background. Then point to it in an og:image meta tag using a full https:// URL. Keep your headline and logo near the center, because some apps trim the edges or show only a square thumbnail.
What an Open Graph image is
An Open Graph image (OG image) is the picture that appears when someone shares a link to your page on Facebook, LinkedIn, X, Slack, Discord, iMessage, WhatsApp and similar apps. You choose it with the og:image meta tag in the page's <head>. The tag is part of the Open Graph protocol. Facebook introduced the protocol, and most link-preview systems now read it.
If a page has no og:image, each platform decides on its own. Some show a text-only card. Others grab another image from the page, which might be a logo, an icon or an ad. Setting the tag yourself is the only dependable way to control what people see.
Recommended Open Graph image size and ratio
| Property | Recommendation | Why |
|---|---|---|
| Size | 1200×630 px | Stays sharp on high-density screens, and Facebook and LinkedIn link cards are designed around it |
| Ratio | 1.91:1 | Matches the large link-preview card on Facebook and LinkedIn |
| Format | JPG or PNG | Supported everywhere. Don't use SVG, because the major platforms don't render it as a preview image |
| Background | Solid, not transparent | Transparent areas can turn white, black or gray depending on the app and theme |
| File size | Keep it small | Crawlers fetch it faster, and chat apps load it faster. A multi-megabyte file gains you nothing |
| Text | Large, few words, near the center | Previews often appear at phone width or as small thumbnails |
Bigger is fine if the ratio stays the same. A 2400×1260 image is also 1.91:1 and displays the same way, it's just a heavier file. Smaller images cause more trouble: a much smaller image can end up as a small thumbnail beside the text instead of a large card.
Same ratio, different label. LinkedIn often quotes 1200×627, and some tools use 1200×628. All of these are about 1.91:1, and a 1200×630 image works for each of them. If ratios are new to you, what aspect ratio means explains the math.
Meta tags to add
Add these to the <head> of every page you want people to share, and replace the example values with your own.
<meta property="og:title" content="Spring menu is here" />
<meta property="og:description" content="Five new seasonal drinks, available from April 1." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://example.com/spring-menu" />
<meta property="og:image" content="https://example.com/images/og-spring-menu.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Five iced drinks on a wooden counter with the text Spring Menu" />
<meta name="twitter:card" content="summary_large_image" />What the image-related tags do:
og:imageis the image URL. Make it absolute (https://example.com/...), not relative (/images/...). The Open Graph spec expects a full URL, and some crawlers ignore relative paths.og:image:widthandog:image:heightgive the crawler the dimensions up front. With them, Facebook can show the image on the very first share. Without them, the first share may appear with no image while Facebook processes the file.og:image:altdescribes the image for screen readers.twitter:cardset tosummary_large_imageasks X for the large image card. X falls back toog:image,og:titleandog:descriptionwhen thetwitter:versions are missing, so you don't need to duplicate those.twitter:carditself has no Open Graph equivalent, so you do need to add it.
If a page has several og:image tags, platforms generally use the first one. Put your main image first.
Using a CMS or site builder? Most have a "social image" or "share image" field on each page or post that writes these tags for you. Check for that field before you edit templates by hand.
How platforms crop it
Platforms change their layouts often. Design for the worst case, not for one exact preview.
| Where it appears | How the image is shown | What happens to 1200×630 |
|---|---|---|
| Facebook link post | Large card at 1.91:1 | Shown in full |
| LinkedIn post | Large card at about 1.91:1 | Shown in full |
X with summary_large_image | Large card, documented at 2:1 | A 2:1 crop trims about 15 px from the top and bottom (630 becomes 600 at 1200 wide) |
X with summary | Small square thumbnail | Center square only |
| Chat apps (iMessage, WhatsApp, Slack, Discord) | Varies by app, device and message; can be a large card or a small thumbnail | Sometimes full, sometimes a center crop |
Two numbers give you a practical safe zone:
- For 2:1 crops: keep anything important out of the top and bottom 15 px. In practice, leave a margin of 40–60 px on every edge.
- For square thumbnails: the center square of a 1200×630 image is 630×630, which cuts 285 px from each side. If your logo or a one-word hook sits in that middle square, the thumbnail still makes sense.
Facebook and LinkedIn print the page title with the card, so you don't need the full title inside the image as well. A short hook, your brand and one strong visual read better at small sizes.
Make a 1200×630 image
Any editor that lets you set a custom canvas size will do the job. Below are three ways to do it with Picify, all in the browser.
Start from an Open Graph template
The Open Graph Image creator has a fixed 1200×630 canvas and a few preset templates, so the size and ratio are already correct.
- Open the tool and pick a template.
- Edit the text fields with your headline and any supporting text.
- Adjust the colors. You can also upload a background image if you want one. The image is processed in your browser and isn't uploaded to a server.
- Download as PNG or JPG. You need a free Picify account to download.
The Blog Header creator uses the same 1200×630 canvas. If you want a post's header image and its share image to match, one file can do both jobs.
Design it from scratch in the editor
The Picify editor gives you layers, text and shapes, and you don't need an account to use it. One detail matters for OG images: design-mode exports are saved at 2× the canvas size.
- Choose File ▸ New Project.
- Pick the Facebook Post preset (1200×630), or choose Custom and enter your own width and height.
- Design the image, keeping key content inside the safe zone described above.
- Choose File ▸ Export as ▸ JPG (or PNG).
A 1200×630 canvas exports as 2400×1260. That's still 1.91:1 and works fine, just as a larger file. If you want exactly 1200×630, create a 600×315 canvas instead, or shrink the export with the resizer described below. The export guide covers every format and option.
Fit an existing image to 1200×630
If you already have a photo or graphic, crop it to roughly 1.91:1 before you resize it. If you resize without cropping first, the image will be stretched or squashed.
- In the Image Cropper, choose Free under Aspect Ratio. Crop to a wide rectangle around your subject. There's no 1.91:1 preset, so aim for slightly less than twice as wide as tall.
- Open the Image Resizer, turn off the aspect ratio lock and enter 1200 × 630. Your crop is already close to that shape, so the small adjustment won't visibly distort it.
- Under Export Settings, choose JPEG for photos, with quality around 80–85. Choose PNG for flat graphics with text.
To shrink a JPG further, the Image Compressor handles several files at once. It always outputs JPEG and fills transparent areas with white. For more on keeping files small, see how to reduce image file size.
Which method to use
| Method | Output | Pick it if | Limit |
|---|---|---|---|
| Open Graph Image creator | 1200×630 PNG or JPG | You want a text-on-background card fast | Preset layouts only; account needed to download |
| Editor | 2× the canvas size (2400×1260 from a 1200×630 canvas) | You want full control over layers, photos and layout | Exports at 2× unless you use a 600×315 canvas |
| Cropper + Resizer | Exactly 1200×630 | You already have the image you want | One image at a time; account needed to upload |
Testing and cache refresh
Platforms store a copy of your preview the first time a link is shared. If you change the image later, people may keep seeing the old one until that copy is refreshed.
- Open the Sharing Debugger and paste your URL.
- Click Debug. Check the preview and any warnings about missing or undersized images.
- Click Scrape Again to fetch your current tags and image.
Paste the URL into the Post Inspector and run it. This shows LinkedIn's current preview and fetches your page again, which refreshes the cached version.
X, Slack, iMessage and others
X's Card Validator no longer shows a preview. To test on X, paste the link into a new post and check it before publishing. For chat apps, send the link to yourself.
These apps don't offer a public way to clear their cache. If they keep showing an old image, change the image URL. Either rename the file (og-spring-menu-v2.jpg) or add a version parameter (og-spring-menu.jpg?v=2), then update og:image. A new URL is treated as a new image.
If your image doesn't show
- The URL is relative. Use the full
https://address inog:image, domain included. - The tags are added by JavaScript. Link-preview crawlers read the HTML your server sends and generally don't run scripts. Make sure the tags appear in your browser's page source view, not only in the developer tools.
- The crawler can't reach the image. The page and the image must both be public. A login wall, a staging password or a
robots.txtrule blocking the crawler can each stop the preview. - You're seeing a cached preview. Use Scrape Again in Facebook's debugger or run the LinkedIn Post Inspector. For other apps, change the image URL.
- The image is too small or the wrong shape. Small images can become tiny thumbnails, and tall images get cropped hard. Re-export at 1200×630.
- The file type isn't supported. SVG won't display as a preview image. Convert it to PNG or JPG.
FAQ
Can I use one image for every platform? Yes. A 1200×630 image with the important content centered and away from the edges works on Facebook, LinkedIn and X. It also holds up as a square thumbnail in chat apps.
Do I need a separate twitter:image tag? No. X uses og:image when twitter:image is missing. You do need twitter:card set to summary_large_image to get the large card.
Is the OG image the same as a favicon? No. The favicon is the small icon in browser tabs and some search results, and it comes in its own set of sizes. See what a favicon is and favicon sizes.
What size is an X header image? A profile header is a separate image with its own dimensions. The X header size guide covers it.