Free tool

X image resizer

Get post images, your header and your profile photo to the right size for X. Up to four images per post, each under 5 MB.

Free, no sign-up, no watermark. Your image never leaves your device.

Resize an image for X

Choose an image, pick one of the 8 X sizes and download it as PNG or JPG. The image is processed in your browser and never uploaded.

Fit

Choose an image to see a preview.

X image sizes

UseSize (px)RatioNotes
Post image, square1080 × 10801:1Up to 4 images per post, each up to 5 MB (JPG, PNG, GIF or WEBP). This size comes from X's ad creative specs, which also list 1.91:1 (2064x1080), 9:16 (1080x1920) and 2:3 (1080x1620).
Post image, landscape1920 × 108016:9From X's ad creative specs.
Post image, portrait1440 × 18004:5From X's ad creative specs.
Animated GIF1280 × 1080AnyUp to 15 MB. Recommended at most 1280x1080 and 350 frames. One GIF per post.
Profile photo400 × 4001:1JPEG, GIF or PNG, under 2 MB.
Header1500 × 5003:1Recommended header size.

Which size to use

X takes up to four images per post, each up to 5 MB in JPG, PNG, GIF or WEBP. The post sizes here come from X’s ad creative specs: 1080 × 1080 for square, 1920 × 1080 for 16:9 landscape and 1440 × 1800 for 4:5 portrait, plus 2064 × 1080 (1.91:1), 1080 × 1920 (9:16) and 1080 × 1620 (2:3).

For your profile, the photo works at 400 × 400 (JPEG, GIF or PNG under 2 MB) and the header at 1500 × 500 (3:1).

The resizer saves still images, so it can’t make animated GIFs. X allows one GIF per post, up to 15 MB, and recommends at most 1280 × 1080 and 350 frames.

X video limits

The resizer handles still images. For video, these are the limits to plan around.

UseMax lengthMax file sizeRatioNotes
Post video, account without a subscription2 minutes 20 seconds512 MB1:3 to 3:1; 16:9 or 1:1 recommendedThese figures are from the X Help Center. X's developer docs list up to 20 minutes and 8 GB for default accounts through the API, so plan for 140 seconds to be safe. Recommended: 1280x720, 720x1280 or 720x720, H.264 High Profile, 30 or 60 fps.
Post video, X Premium or other X subscription4 hours16 GB1:3 to 3:1Help Center: under 4 hours and 16 GB, and videos over 2 hours upload at 720p. The X Premium page says about 3 hours and 8 GB, and the developer docs say 125 minutes and 16 GB through the API.

Tips for X images

  • Download photos as JPG to stay under the 5 MB limit.
  • Keep profile photos under 2 MB.
  • Media limits follow the posting account’s subscription, not the developer API plan.

Schedule X images with Postocial

Postocial publishes to X with your own X API key, using X developer credits you pre-fund (about $5 per 500 posts). Add your images from the media library, write the post or a whole thread and schedule it.

Learn how to connect X or see how Postocial works with X.

Sources

The X sizes on this page come from these pages. Where a network publishes no size of its own, we say whose recommendation it is. Researched on . Networks change their limits without notice, so check the official pages before a big launch.

FAQ

X image size questions

What is the best image size for X posts?

X’s ad creative specs list 1080 × 1080 (1:1), 1920 × 1080 (16:9) and 1440 × 1800 (4:5), among others. Each image can be up to 5 MB.

What size is the X header?

1500 × 500 pixels (3:1).

What size should an X profile photo be?

400 × 400 pixels, in JPEG, GIF or PNG under 2 MB.

How many images can I attach to an X post?

Up to four images, or one GIF or video.

From resized image to scheduled X post

Add the image to Postocial’s media library, write the X version of your post and pick a time slot. Try it free for 7 days.

A card is required to start the 7-day free trial. When the trial ends, we charge your card for the plan you picked, unless you cancel before.