Twitter image size guide

The one that decides how your links look is the card image: 1200×628, referenced by twitter:image or og:image. Here are all the X image sizes, and a tester to see what X will crop.

X / Twitter image dimensions

WhereRecommendedRatioMinimumMax file
Link card: summary_large_image1200 × 6281.91:1 (shown ~2:1)300 × 1575 MB
Link card: summary240 × 240+1:1144 × 1445 MB
Post image (landscape)1600 × 90016:9600 × 3355 MB mobile / 15 MB web
Post image (portrait)1080 × 13504:5—5 MB mobile / 15 MB web
Header1500 × 5003:1—2 MB
Profile photo400 × 4001:1 (shown as circle)—2 MB

Sources: X Developer Platform “Cards markup” and X Help Center media guidance. Post-image display ratios are how the current apps render them.

See what gets cropped

Every platform centre-crops your image to its own shape. Pick a platform to see the part that survives. Try your own image: it never leaves your device.

Your image: 1200×630 (1.90:1)
Image being tested for cropping

Link card (summary_large_image): keeps the bright area and 5% of your image is cut off.

The dashed square is the centre-safe zone (the middle 630×630 of a 1200×630 image). Anything inside survives every crop, so put logos and key words there.

Card image vs post image

They’re different things. A card image comes from your page’s meta tags and appears when someone posts your link. A post image is uploaded directly to X. Card images are always centre-cropped to the card’s shape, and you can’t choose the focal point.

If the card shows a small square instead of a wide image, the page is asking for a summary card or has no twitter:card at all. The Twitter card validator shows which one you’re getting and why.

Frequently asked questions

What size is a Twitter (X) link card image?

For summary_large_image cards use 1200×628 or 1200×630 (about 1.91:1). X displays it at roughly 2:1, trimming a few pixels top and bottom. Minimum 300×157, maximum 5 MB.

What size should images in X posts be?

Single images display best at 1600×900 (16:9) or 1080×1350 (4:5) on mobile. X supports up to 5 MB for photos on mobile and 15 MB on the web.

What is the X header image size?

1500×500 pixels (3:1). The profile picture overlaps the lower-left corner and phones crop the top and bottom, so keep the important part in the middle band.

What is the X profile picture size?

400×400 pixels, displayed as a circle (a rounded square for organisations with a verified business account).