Black Friday$1,444 of tools, $249 once · --d --h left →
tutorials

Open Graph Image Size (1200×630), Meta Tags and Testing

The right Open Graph image size is 1200×630 px (1.91:1). Get the meta tags to add, how Facebook, LinkedIn and X crop it, and how to test and refresh previews.

P
Picify Team · Design & AI Experts
··9 min read
open graph image sizewhat is an open graph image

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.

PropertyRecommendationWhy
Size1200×630 pxStays sharp on high-density screens, and Facebook and LinkedIn link cards are designed around it
Ratio1.91:1Matches the large link-preview card on Facebook and LinkedIn
FormatJPG or PNGSupported everywhere. Don't use SVG, because the major platforms don't render it as a preview image
BackgroundSolid, not transparentTransparent areas can turn white, black or gray depending on the app and theme
File sizeKeep it smallCrawlers fetch it faster, and chat apps load it faster. A multi-megabyte file gains you nothing
TextLarge, few words, near the centerPreviews 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:image is 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:width and og:image:height give 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:alt describes the image for screen readers.
  • twitter:card set to summary_large_image asks X for the large image card. X falls back to og:image, og:title and og:description when the twitter: versions are missing, so you don't need to duplicate those. twitter:card itself 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 appearsHow the image is shownWhat happens to 1200×630
Facebook link postLarge card at 1.91:1Shown in full
LinkedIn postLarge card at about 1.91:1Shown in full
X with summary_large_imageLarge card, documented at 2:1A 2:1 crop trims about 15 px from the top and bottom (630 becomes 600 at 1200 wide)
X with summarySmall square thumbnailCenter square only
Chat apps (iMessage, WhatsApp, Slack, Discord)Varies by app, device and message; can be a large card or a small thumbnailSometimes 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.

  1. Open the tool and pick a template.
  2. Edit the text fields with your headline and any supporting text.
  3. 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.
  4. 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.

  1. Choose File ▸ New Project.
  2. Pick the Facebook Post preset (1200×630), or choose Custom and enter your own width and height.
  3. Design the image, keeping key content inside the safe zone described above.
  4. 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.

  1. 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.
  2. 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.
  3. 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

MethodOutputPick it ifLimit
Open Graph Image creator1200×630 PNG or JPGYou want a text-on-background card fastPreset layouts only; account needed to download
Editor2× the canvas size (2400×1260 from a 1200×630 canvas)You want full control over layers, photos and layoutExports at 2× unless you use a 600×315 canvas
Cropper + ResizerExactly 1200×630You already have the image you wantOne 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.

Facebook

  1. Open the Sharing Debugger and paste your URL.
  2. Click Debug. Check the preview and any warnings about missing or undersized images.
  3. Click Scrape Again to fetch your current tags and image.

LinkedIn

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 in og: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.txt rule 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.