Open Graph Image Dimensions for Twitter and LinkedIn

Discover the exact open graph image dimensions for Twitter and LinkedIn, including recommended specs for 1200x630, 1200x628, and 1200x627 previews.

Open Graph Image Dimensions for Twitter and LinkedIn

When sharing web pages across social networks, link preview cards directly influence whether people click through or scroll past. The visual backbone of these rich previews relies on Open Graph metadata embedded in your website’s HTML header. Getting your open graph image dimensions right ensures that preview cards appear sharp, load reliably, and avoid awkward automatic cropping across desktop and mobile feeds.

TL;DR

The universally recommended standard for open graph image dimensions is 1200x630 pixels (1.91:1 aspect ratio). For platform-specific rendering, X (Twitter) recommends 1200x628 pixels (about 1.91:1) for its summary_large_image card, while LinkedIn renders link preview images at about 1200x627 pixels.


Standard Open Graph Image Dimensions Explained

The Open Graph protocol was created to standardize how URLs are represented when shared on social platforms. By inserting specific <meta> tags into the <head> of an HTML document, site owners can control the title, description, and visual asset associated with each page. The primary tag responsible for defining this preview visual is og:image.

The recommended og:image size is 1200x630 pixels (aspect ratio 1.91:1). Social platforms crop and scale link preview images to roughly this ratio, so images far from it may be cropped awkwardly.

When an image does not match the 1.91:1 ratio, social crawlers must decide how to display it inside fixed feed containers. Vertical graphics, square images, or ultra-wide banners often suffer from unpredictable automatic center-cropping. In severe cases, content at the outer edges—such as text headlines or logos—gets clipped off entirely. Adhering to the standard 1200x630 canvas establishes a dependable visual baseline across the modern web.

<!-- Standard Open Graph Image Tag -->
<meta property="og:image" content="https://example.com/images/social-preview.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />

X (Twitter) Image Dimensions: Summary vs. Large Image Cards

While X reads standard Open Graph tags as fallbacks, it also provides proprietary meta tags using the twitter: prefix. The way your shared link appears on X depends directly on the card format you declare in your code.

X primarily supports two link preview card variations:

  • summary_large_image: X’s summary_large_image card shows a large preview image, recommended at 1200x628 pixels (about 1.91:1). This card places a prominent banner directly above the headline and domain name, making it the preferred choice for articles, product launches, and blog posts.
  • summary: The plain ‘summary’ card instead uses a small square thumbnail. In this compact layout, the square thumbnail sits to the left of the page title and description rather than spanning the width of the post.

To instruct X to render the full-width visual, you must explicitly declare the card type in your site’s header metadata alongside the image URL:

<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://example.com/images/social-preview.jpg" />

If you omit the twitter:card tag entirely, X may default to rendering a standard summary card or omit the visual preview altogether depending on how its parser interprets the page.


LinkedIn relies heavily on rich link previews across its main feed, group discussions, and messaging features. High-clarity visuals help professional content stand out against dense textual commentary.

LinkedIn renders link preview images at about 1200x627 pixels. Custom images uploaded directly to posts display best near this size.

Because LinkedIn’s rendering size of 1200x627 pixels is nearly identical to the standard 1200x630 Open Graph specification, you do not need to create a unique image asset solely for LinkedIn links. A standard 1200x630 image will scale cleanly into LinkedIn link cards with negligible alteration. However, when you upload a standalone graphic directly to an update rather than sharing an external URL, sizing your design near 1200x627 pixels guarantees consistent, clean presentation without unexpected cropping.


Platform Comparison: Preview Image Dimensions

Different social networks apply slight nuances to their card containers. The comparison table below highlights the recommended dimensions and display behavior across standard Open Graph, X, and LinkedIn.

Platform / Card TypeRecommended DimensionsAspect RatioDisplay Format
Standard Open Graph (og:image)1200x630 pixels1.91:1Wide banner preview used across major social platforms
X summary_large_image1200x628 pixelsAbout 1.91:1Full-width large banner above title and snippet
X summarySquare thumbnail1:1Small square thumbnail positioned beside text snippet
LinkedIn Link PreviewAbout 1200x627 pixelsRoughly 1.91:1Full-width preview card embedded beneath post copy
LinkedIn Native UploadNear 1200x627 pixelsRoughly 1.91:1Direct post visual display across feed interfaces

Best Practices for One Universal Asset

Producing unique image files for every individual social network can create unnecessary friction in publishing workflows. Because the dimensions for standard Open Graph (1200x630), X large cards (1200x628), and LinkedIn previews (1200x627) vary by only a few pixels vertically, a single master graphic can serve all three channels effectively.

Apply the following guidelines when preparing your social preview assets:

  1. Build to the 1200x630 standard: Start your design canvas at 1200x630 pixels. This satisfies the primary Open Graph specification and translates smoothly to platform-specific scrapers.
  2. Keep critical text away from the absolute borders: Because X and LinkedIn crop or scale by a variance of two to three vertical pixels, keep logos and copy slightly inset from the extreme edges.
  3. Declare both Open Graph and Twitter tags: Provide both og:image and twitter:image tags in your markup, and ensure twitter:card is set to summary_large_image so your links display as expansive banners rather than small thumbnails.
  4. Adhere to the 1.91:1 aspect ratio: Social platforms crop and scale link preview images to roughly this ratio, so images far from it may be cropped awkwardly.
  5. Inspect the rendered markup prior to distribution: Use link validation tools provided by social platforms to verify that your metadata registers accurately and preview images display without distortion before sharing links with your audience.

Frequently Asked Questions

What are the standard open graph image dimensions?

The recommended og:image size is 1200x630 pixels (aspect ratio 1.91:1). Social platforms crop and scale link preview images to roughly this ratio, so images far from it may be cropped awkwardly.

What size should an X (Twitter) summary_large_image card be?

X’s summary_large_image card shows a large preview image, recommended at 1200x628 pixels (about 1.91:1). In contrast, the plain ‘summary’ card uses a small square thumbnail.

LinkedIn renders link preview images at about 1200x627 pixels. Custom images uploaded directly to posts display best near this size.

Can I use the same 1200x630 image for both Twitter and LinkedIn?

Yes, you can safely use a 1200x630 image across both networks. Because X recommends 1200x628 pixels for large cards and LinkedIn renders at about 1200x627 pixels, the vertical variance spans only a few pixels, allowing a single 1200x630 graphic to display cleanly without noticeable distortion.


Generate Clean Preview Images

Creating correctly sized preview assets does not require complex design software or manual template building. You can design professional social banners quickly with the OG Image Generator from PicForge. The tool is completely free to use and requires no account signup.