← Back to Guides

OG Image Technical Specifications: Dimensions, Formats & Requirements

Complete guide to OG image dimensions, file sizes, and formats for Facebook, Twitter, LinkedIn, and other platforms.

By FrameIt Team

Getting the technical details right ensures your OG images display correctly across all platforms. Here’s what you need to know.

Primary Dimensions & Aspect Ratios

The universal standard for OG images is 1200×630 pixels with a 1.91:1 aspect ratio. This dimension works across Facebook, Twitter/X, LinkedIn, and most other platforms. While some platforms accept alternative formats, this single size covers 90% of use cases.

PlatformRecommended SizeAspect RatioAlternative Formats
Facebook1200×630px1.91:11200×1200px (1:1)
Twitter/X1200×675px1.78:1Uses 1200×630px
LinkedIn1200×628px1.91:1Note: 628px not 630px
Generic/Universal1200×630px1.91:1600×315px (minimum)

Why 1200×630px?

This size provides sharp rendering on high-DPI displays while remaining under platform file size limits. When platforms scale your image for mobile display (typically 50% of original size), text remains readable and details stay crisp.

The minimum recommended size is 600×315px—exactly half of the standard dimensions. Going smaller risks pixelation and poor text readability on modern screens.

File Size Requirements

Most platforms accept OG images up to 5MB, but you should aim for 100-200KB for optimal performance. Here’s why:

Practical File Sizes

An uncompressed 1200×630px image (RGB, 8-bit) would be approximately 3MB. Proper compression reduces this by 95% with minimal visual quality loss.

File Format Guidance

Choose your format based on content:

Use JPG when:

Use PNG when:

Avoid WebP:

Platform-Specific Requirements

Facebook

Twitter/X

Here’s an example configured for Twitter/X dimensions:

Feature Card

Feature Card

Feature highlight with icon

Platform Twitter/X
Layout Feature Card
Background Teal gradient
Text title, subtitle
Images main

Try this example →

LinkedIn

Here’s an example configured for LinkedIn Video dimensions:

BragDoc.ai

BragDoc.ai

Clean minimal layout with domain and large bold title

Platform LinkedIn Video
Layout Domain & Title
Background #F5F5F5
Text title, subtitle, domain
Images icon

Try this example →

HTML Implementation

Basic OG Tags (Required)

<meta property="og:image" content="https://example.com/image.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:type" content="image/jpeg">

Platform-Specific Enhancements

<!-- Twitter/X specific -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://example.com/image.jpg">

<!-- Alt text for accessibility -->
<meta property="og:image:alt" content="Article title with key visual elements described">

Critical: Always use absolute URLs (https://…), never relative paths (/images/…). Platforms must be able to fetch your image from any context.


Ready to create technically perfect OG images? Try FrameIt for automatic sizing and format optimization.

Ready to create professional OG images?

Use FrameIt to generate beautiful thumbnails in minutes.

Try FrameIt Free