The standard Open Graph image size is 1200×630 pixels, a 1.91:1 aspect ratio. At that size the image fills the large link preview on Facebook and LinkedIn, and X trims only a thin strip from it. Save it as PNG or JPEG, point to it with an absolute URL in og:image, and keep important content away from the edges.
The standard Open Graph image size
| Property | Value |
|---|---|
| Recommended size | 1200×630 px |
| Aspect ratio | 1.91:1 |
| Minimum for a large Facebook preview | 600×315 px (smaller images show as a small thumbnail) |
| Format | PNG or JPEG (safest everywhere) |
| URL | Absolute, https://, publicly reachable |
1200×630 became the default because it matches the 1.91:1 shape that Facebook and LinkedIn use for large link cards.
1200×628 and 1200×627 have the same shape to the eye. LinkedIn's own guidance uses 1200×627. All three display the same way.
Don't use SVG for og:image. Most link preview crawlers expect a raster image such as PNG or JPEG.
How Facebook, LinkedIn, X and Slack show it
| Where | Shape of the preview | What happens to a 1200×630 image |
|---|---|---|
| 1.91:1 | Shown in full | |
| 1.91:1 | Shown in full | |
| X (large card) | 2:1 | A thin strip may be trimmed from the top and bottom |
| Slack | Image inside the link unfurl | Shown much smaller, inside the message |
What this means for your design:
- Facebook and LinkedIn: people see exactly what you export. If your image is smaller than 600×315, Facebook shows a small thumbnail next to the text instead of a large card.
- X: X's documentation describes the large card (
summary_large_image) as 2:1. A 1200-wide image at 2:1 is 600 px tall, so up to 30 px of your 630 can be cut off, split between the top and bottom. Keep text and logos at least 20 to 30 px in from those edges. X may also show little or no headline text with the card, so the image itself needs to say what the page is. Our guide to Twitter (X) image sizes has more detail. - Slack and chat apps: the image is scaled down to fit the message, and small text becomes unreadable. Use one large headline, not a paragraph.
One rule covers all of them. Keep the subject and any text inside the middle 1100×560 area, and check that the image still reads when it's shown about 300 px wide.
The og:image and twitter:image tags
Paste these into the <head> of the page you want to share, and replace the example values with your own.
<meta property="og:title" content="Your page title" />
<meta property="og:description" content="One sentence about the page." />
<meta property="og:url" content="https://example.com/page" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://example.com/images/og-page.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Screenshot of the dashboard on a blue gradient" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://example.com/images/og-page.png" />
<meta name="twitter:image:alt" content="Screenshot of the dashboard on a blue gradient" />
What each tag does:
og:imagemust be a full URL. A relative path like/images/og.pngwon't work, because crawlers fetch the image from outside your site.og:image:widthandog:image:heightlet platforms lay out the preview before they download the image. Set them to the real size of the file.og:image:altandtwitter:image:altdescribe the image for screen readers.twitter:cardset tosummary_large_imageasks X for the big image card instead of the small square summary. If thetwitter:title, description or image tags are missing, X uses theog:versions. Set the card type yourself, though, because that tag decides the layout.
If you want X to show the whole image with nothing trimmed, give it a separate 2:1 file through twitter:image (for example 2000×1000 or 1200×600). Keep og:image at 1.91:1 for everyone else.
The full Open Graph specification is at ogp.me.
Design an OG image from a product screenshot
For a SaaS page, docs page or changelog entry, a product screenshot on a clean background usually makes a better preview than a stock photo. It shows people what they'll get when they click.
A good one has:
- One focal point. Show one screen or one feature, not a collage.
- Space around it. A screenshot that runs to the edges gets clipped on X and looks cramped in small previews.
- Large text, if any. Use a headline of a few words that's readable at thumbnail size.
- A background that stands out. A coloured or gradient background separates your card from both light and dark feeds.
Any design tool can do this. If you already work in Figma, a 1200×630 frame is enough, and Figma has a free Starter plan as of November 2026. The steps below use our editor, Picbolt Screenshot Mockups, which runs in your browser and processes your image locally without uploading it.
Make it in Picbolt
- Open Screenshot Mockups.
- Add your screenshot. You can press ⌘V (Command-V) or Ctrl+V to paste it, drag the file onto the page, or click Add Your Image. In a desktop browser you can also click Capture Screenshot and pick a window through your browser's screen sharing.
- Click the aspect-ratio button in the top bar and choose 1.91:1 Facebook Link Preview. At 1x this exports at 1200×628.
- In the Edit tab, lower Scale or raise Padding until there's clear space on every side.
- Optional: under FRAMES, pick a window frame such as macOS Light or Arc Dark. The macOS and Windows frames include an address pill that reads "picbolt.co" by default. Click it on the canvas and type your own domain. That edit can't be undone and isn't saved, so make it right before you export.
- Open the BG tab and pick a background. MAGIC GRADIENTS builds gradients from the colours in your screenshot, which keeps the card in your brand colours. Click SHUFFLE to see more options.
- In the Settings tab, set Format to PNG (or JPEG for a smaller file) and enter a FILE NAME such as
og-pricing. - Click Save. For an image you'll only use on X, choose 2:1 Panoramic Landscape in step 3. It exports at 2000×1000, which is exactly 2:1.
The Screenshot Mockups editor holds one image and has no text layers. To put a headline next to the screenshot, use Design Canvas:
- Choose 1.91:1 Facebook Link Preview as the aspect ratio.
- Add your screenshot as an image layer.
- Click Text to add a headline. On the free plan the fonts are Inter and Roboto.
Design Canvas doesn't autosave, so export before you close the tab.
Free plan limits: you get 3 downloads a day, and Save and Copy both count. Exports are 1x, in PNG or JPEG. Screenshot Mockups and Design Canvas add a "Made with Picbolt" watermark to free exports. That watermark will appear in your link preview. You can change its style and position, but only the one-time Lifetime plan can hide it. Lifetime also unlocks 2x and higher export. See Is Picbolt free? for the details, or compare the plans.
Export or resize to exactly 1200×630
Picbolt's preset gives you 1200×628. You can publish that as is and set og:image:height to 628. If your CMS, a validator or a client requires exactly 1200×630, resize the file. Stretching the height from 628 to 630 px is a 0.3% change, and nobody will notice it.
With Picbolt's Image Converter (free, doesn't use a download)
- Open the Image Converter and choose your exported file.
- Pick PNG or JPEG as the output format.
- Turn off Keep Aspect Ratio.
- Enter
1200in Width (px) and630in Height (px). - Click Convert & Download (the button shows the format you chose).
The converter has no daily limit and adds no watermark, so it's the better choice on the free plan. Files can be up to 10 MB.
With Picbolt's Image Resizer
The Image Resizer works the same way. Turn off Keep Aspect Ratio, enter Width (px) and Height (px), then click Download Resized Image. Each download counts toward the free limit of 3 a day.
On a Mac with Preview
- Open the image in Preview.
- Choose Tools > Adjust Size.
- Set the units to pixels and uncheck Scale proportionally.
- Set the width to 1200 and the height to 630, click OK, then save the file.
Test your preview
Check the preview on the platforms you care about before you share the link widely.
| Platform | How to test |
|---|---|
| Paste the URL into the Sharing Debugger. After changes, click Scrape Again | |
| Paste the URL into the Post Inspector | |
| X | Paste the link into a draft post and check the card before you post |
| Slack | Paste the link into a message to yourself |
If the preview is wrong
The old image still shows. Platforms cache previews. Re-scrape in the Facebook Sharing Debugger and LinkedIn Post Inspector. The fix that works everywhere is to upload the new image under a new file name (for example og-pricing-v2.png) and update og:image.
No image appears. Check three things:
og:imageis an absolutehttps://URL.- The image opens in a private browser window without a login.
- The tags are in the HTML the server sends. Many crawlers don't run JavaScript, so they can miss tags that are added only on the client side.
You get a small thumbnail instead of a large card. On Facebook, the image is probably smaller than 600×315. On X, twitter:card is missing or set to summary instead of summary_large_image.
Text is cut off on X. The 2:1 card trims the top and bottom. Move the text inward, or give X its own 2:1 image through twitter:image.
The exported Picbolt file isn't 1200×628. In Safari, and on iPhone and iPad, Picbolt always downloads PNG data at the on-screen canvas size, whatever format you picked. Export from Chrome, Edge or Firefox instead, or run the file through the Image Converter at 1200×630 afterwards.
The image looks soft. You may have cropped inside the editor. Crop Image in Screenshot Mockups re-encodes the result at on-screen size, which can lose resolution. Crop the original first with the Crop Image tool, which keeps full resolution, then add the cropped file to the mockup.
FAQ
Is 1200×628 OK, or does it have to be 1200×630?
1200×628 is fine. It's the same 1.91:1 shape, and platforms display it the same way. Set og:image:height to the real height of the file.
Should the OG image be PNG or JPEG? Either works. PNG keeps text and UI edges sharp, and JPEG gives smaller files for photo-heavy images. See PNG vs JPG vs WebP for the trade-offs.
Do I need a separate image for X?
No. One 1200×630 image works if you keep content away from the top and bottom edges. Add a 2:1 twitter:image only if you want X to show the whole image with nothing trimmed.
Is the OG image the same as a LinkedIn post image? No. The OG image appears when you share a link. Images you upload directly to a post follow different sizes, which are covered in LinkedIn post image size.
If you're making preview images for a whole product site, our guide to product screenshots for a landing page shows how to keep them consistent from page to page.
