X shows images in more shapes than most networks. A single photo in a post, a grid of four, a link card, the profile header and the round profile photo all have different proportions, and the same image can look different on a phone and a desktop. This guide covers every image you are likely to post, with the size to upload and the areas that get cropped.

Every X image size and limit

ImageRecommended sizeRatioFile limit
Header1500 x 5003:15 MB
Profile photo400 x 4001:1 (shown as a circle)2 MB
Single image in a post1600 x 90016:95 MB
Two images in a post700 x 800 each7:85 MB each
Three or four images1200 x 675 each16:95 MB each
Link card (large)1200 x 6281.91:15 MB
Animated GIFUp to 1280 x 1080Any15 MB

Accepted photo formats are JPG, PNG, GIF and WebP. X converts most uploads to its own compressed JPG, so a clean, well-sized source matters more than the format you choose.

The header: 1500 x 500, with a moving crop

The header sits at the top of your profile at a 3:1 ratio. On desktop you see most of it. On phones the header is shown in a shorter strip, so more of the top and bottom is hidden, and your round profile photo overlaps the lower left corner on every screen.

That gives three practical rules:

  1. Keep text and faces in the middle band, roughly the central 60 percent of the height.
  2. Leave the lower left quarter for background only, because the profile photo covers it.
  3. Keep a margin at the left and right edges, which some phone layouts trim.

The X header resizer crops any image to exactly 1500 x 500 and shades the areas that phones hide and the profile photo covers. The guides help you position the picture and are never saved into the file.

Resize an image to 1500 x 5001500 x 500, free, runs in your browserOpen tool

What works well in a header

Simple, wide images survive the different crops best: a landscape, a texture in your brand colours, a product shot with lots of background, or a short line of text centred in the frame. Avoid putting a phone number or email address in the header. It cannot be clicked, it is easy to miss on mobile, and your bio is a better place for it.

The profile photo

Upload the profile photo at 400 x 400 pixels. X shows it as a circle in sizes from about 32 pixels in replies to around 130 pixels on your profile page. Because it is so small most of the time, a clear face or a simple logo with plenty of contrast works far better than a detailed scene.

Keep the subject centred and leave a small margin around it. The circle cuts off the corners of the square, so anything in the corners disappears.

Images in posts

X handles a single image very differently from a set of images.

One image

A single image is shown close to its full shape in the timeline, on both phone and desktop. Wide 16:9 images, such as 1600 x 900, display fully everywhere and are the safest choice. Square and portrait images, such as 1080 x 1080 and 1080 x 1350, also display well and take up more of the screen on phones. Very tall images, such as full phone screenshots, are trimmed in the timeline until someone taps them.

Two, three or four images

Multiple images are arranged in a grid, and each one is cropped to fit its cell.

Number of imagesLayoutEach image is cropped to about
2Side by side7:8
3One large left, two stacked right7:8 for the large one, 16:9 for the others
4Two by two grid16:9

If something important sits near the edge of a photo, it can disappear in a grid. Keep subjects central, or post a single image instead when the full frame matters. You can type any of these sizes into the custom size box of our resizers to prepare images in advance.

When you share a link, X builds a card from the page's meta tags. With the tag twitter:card set to summary_large_image, the card shows a wide image above the title. Without it, X shows a small square thumbnail.

The image comes from twitter:image or, if that is missing, from og:image. One image at 1200 x 630 serves X and every other platform, which is why most sites set a single Open Graph image. The Open Graph image resizer produces that size and keeps the file small enough for every network.

Card typeImage shapeWhen it appears
summary_large_image1.91:1, largeWhen the page sets this card type
summary1:1, smallDefault, or when no large image is set

File size, format and quality

X compresses images on upload. You cannot avoid it, but you can keep the loss to a minimum:

  • Upload at the recommended size. Larger images are scaled down and compressed harder.
  • Use JPG for photos and PNG for graphics with text. Sharp text on flat colour keeps cleaner edges as PNG.
  • Stay well under 5 MB. Files near the limit are compressed more aggressively.
  • Use sRGB colour. Photos exported in wide colour spaces can look dull after upload.

A quick checklist before you post

  1. Header at 1500 x 500, with text in the middle band and nothing important in the lower left.
  2. Profile photo at 400 x 400, with the subject centred.
  3. Single images at 1600 x 900, or 1080 x 1350 for a taller post.
  4. Multiple images composed with the subject in the centre of each frame.
  5. Your website's link preview set to 1200 x 630 with summary_large_image.

With these sizes in place, your profile looks sharp on every device and your posts show exactly the part of each image you meant people to see.

Frequently asked questions

What size is the X header?

1500 x 500 pixels, a 3:1 ratio, up to 5 MB. Phones show less of the top and bottom, so keep text in the middle band.

What is the best image size for X posts?

1600 x 900 pixels (16:9) is the safest size for a single image. Square 1080 x 1080 and portrait 1080 x 1350 images also work, but they can be cropped in multi-image layouts.

Why is my image cropped on X?

Images in posts with two, three or four pictures are cropped to fit a grid. Single images show close to their full shape, but very tall images are trimmed in the timeline until opened.

What size is the X profile picture?

Upload 400 x 400 pixels. It is shown as a circle, so keep the face or logo in the centre.