SocialImageSizes

Twitter / X Card Image Size

An X (Twitter) card is the preview that appears when your link is posted. The big version — twitter:card set to summary_large_image — uses a 1200×628 px image (1.91:1). The compact summary card uses a small 144×144 square thumbnail instead. Max file size is 5 MB.

PlacementPixelsRatio
summary_large_image
Full-width card; the default choice for most links
1200×628 1.91:1
16:9 variant
Also accepted; some tools export this ratio
1200×675 16:9
summary (small)
Minimum square thumbnail for the compact card
144×144 1:1
File limit
JPG, PNG, WEBP or GIF; GIFs show only the first frame
≤5 MB —

Big card: 1200×628 px

Set <meta name="twitter:card" content="summary_large_image"> and point twitter:image at a 1200×628 image (1.91:1). If you omit twitter-specific tags, X falls back to your og:image, so a single 1200×630 asset covers both in practice.

Small summary card

The compact summary card puts a small square image (min 144×144) to the left of the text. Use it for text-heavy links where a big image isn't wanted.

Keep text away from edges

X rounds the card corners and can crop a sliver, so keep logos and words within a safe centre area. Files must be under 5 MB; animated GIFs render as a still first frame.

FAQ

What size is a Twitter (X) card image?

1200×628 pixels at 1.91:1 for summary_large_image, the large preview card. The small summary card uses a 144×144 square.

Do I need separate Twitter and Open Graph images?

No. If you omit twitter:image, X uses your og:image, so one 1200×630 file works for both.

What is the max Twitter card image file size?

5 MB. JPG, PNG, WEBP and GIF are supported; GIFs display only the first frame.