Size guide · checked 13 October 2026
X (Twitter) Image Sizes: Every Size on One Page
Use 1500 × 500 for your header, 400 × 400 for your profile photo, and any shape between 2:1 and 3:4 for a photo in a post (for example 1200 × 675). Post photos can be up to 5MB each, with up to four photos (or one GIF or one video) per post. Videos without a subscription can be up to 140 seconds and 512MB. Every number below comes from X’s own help centre, developer docs or ad specs, and the few things X doesn’t publish are marked as such.
X image and video sizes at a glance
| Where | Size | File limit | Formats |
|---|---|---|---|
| Profile photo | 400 × 400 (1:1) | Up to 2MB | JPG, PNG, GIF (not animated) |
| Header (banner) | 1500 × 500 (3:1) | Not published | JPG, PNG, GIF (not animated) |
| Photo in a post | Any shape from 2:1 to 3:4 shows in full | Up to 5MB each | JPG, PNG, GIF, WEBP |
| Media per post | Up to 4 photos, or 1 GIF, or 1 video | As X’s posting guide states it | Photos, GIFs, video |
| Animated GIF | Up to 1280 × 1080 advised | 5MB on mobile, 15MB on web | GIF |
| Video (no subscription) | Up to 1920 × 1200 on web | 512MB, 140 seconds | H.264 video, AAC audio advised |
| Video (paid subscriber) | Up to 1080p, under 4 hours | 16GB | H.264 video, AAC audio advised |
| Link preview image | 2:1, from 300 × 157 to 4096 × 4096 | Under 5MB | JPG, PNG, WEBP, GIF (first frame); no SVG |
| Image ad | 800 × 418 (1.91:1) or 800 × 800 (1:1) | Up to 5MB | PNG or JPEG recommended |
| Image description (alt text) | Not set | 1,000 characters per image | Text |
“Not published” means X doesn’t state a number, so we don’t guess one. GIF pixel advice and WEBP support come from X’s developer docs, the link preview spec from an archived copy of X’s developer docs, and the rest from the X Help Center.
Every X shape, drawn to scale
Each box below has the exact proportions X uses or allows, all at the same height, so you can see how wide a header is next to a profile photo, and how much more of a phone screen a 4:5 or 3:4 post image fills compared with a 16:9 one. The shape matters more than the pixel count: X scales every image to fit the space, but it only promises not to crop a single post photo when the shape sits between the 2:1 and 3:4 boxes.
1500 × 500
web upload limit
e.g. 1600 × 800
e.g. 1200 × 600
e.g. 1200 × 675
400 × 400
e.g. 1080 × 1350
e.g. 1080 × 1440
web upload limit
Which X size fits my image?
Already have an image? Type its width and height to see which X slot it suits before you upload it.
Type your image size to see where it fits on X
- Profile photoWrong shape
Not square. X recommends 400 × 400, so crop it to a square first and choose what stays in.
- HeaderWrong shape
Not 3:1. X recommends 1500 × 500, so part of this image won’t fit the wide header strip.
- Single image in a postFits
Between 2:1 and 3:4, so X says it shows in full in the timeline.
- Image ad with website cardWorks, with a catch
Matches one of the extra ad shapes X lists (4:5, 2:3, 16:9 or 9:16).
Checks shape and pixel size only. File size still matters: 2MB for profile photos and 5MB for post images.
X profile picture size
- Recommended
- 400 × 400 pixels
- Maximum file size
- 2MB
- Formats
- JPG, PNG, GIF
- Animated GIF
- Not supported
- Shape on screen
- Round for most accounts; square for Premium Business and Premium Organizations
Your profile photo appears next to every post and reply you write, usually far smaller than 400 pixels, so it has to work as a tiny icon. That is why a face filling most of the frame, or a simple logo mark, reads better than a group photo or a logo with a slogan under it. Upload a square: if you start with a rectangle, you leave the choice of what to cut until the last moment, on a small upload screen. Our X profile picture size guide goes deeper on crops and file rules.
Design for the circle, not the square
Personal accounts show the photo as a circle. A circle inside a square covers about 78.5% of it (π ÷ 4), so the four corners, roughly a fifth of your image, never show. The biggest square that fits inside that circle is about 283 × 283 pixels of a 400 × 400 image (400 ÷ √2). Keep eyes, initials or the core of your logo inside that middle 283-pixel square and nothing important gets clipped. X gives a square photo to Premium Business accounts (gold checkmark) and Premium Organizations accounts (grey checkmark), so a business that may upgrade later should design a mark that works in both shapes.
How to change it
- Sign in on x.com or open the X app for iOS or Android. X says other apps can’t change profile images.
- Go to your profile and choose Edit profile.
- Click or tap the camera icon on the profile photo, then Upload photo.
- Click Apply (X notes the image won’t save until you do), then Save.
X removes profile photos that contain nudity, and its adult and violent content rules ban that kind of material from profile photos, headers, List banners and Community cover photos. Breaking those rules can lead to the account being put in read-only mode or suspended, so treat the profile photo as the most public image you own.
X header size
- Recommended
- 1500 × 500 pixels (3:1)
- May be cut off
- About 60px top and bottom
- Safe band for text
- The middle 380px
- Formats
- JPG, PNG, GIF (still only)
- File size cap
- Not published by X
X calls the header a “banner” and recommends 1500 × 500. It also says that, even at that size, about 60 pixels at the top and 60 at the bottom may be cropped depending on the monitor and browser, which leaves a 380-pixel band in the middle for anything that must be read. The profile photo also sits over the lower-left of the header on profiles, so that corner is a bad place for a face or a call to action. Our X header size guide has a drawn safe zone, a checker you can drop your banner into, and design advice for different kinds of accounts.
X post image size
- Shown in full (single photo)
- 2:1 to 3:4
- Media per post
- Up to 4 items in total
- Maximum file size
- 5MB per photo
- Accepted
- JPEG, PNG, GIF; WEBP per developer docs
- Not accepted
- BMP, TIFF
When a post has one photo, X shows any image between 2:1 (twice as wide as tall) and 3:4 (a bit taller than wide) in full, and says what you see in the post box is what you get. That range covers 16:9 screenshots, 3:2 and 4:3 camera photos, squares and 4:5 portrait graphics. Shapes outside it, such as 9:16 phone screenshots or 3:1 panoramas, are not promised to show in full.
X’s posting guide says a post can hold up to four photos, or one GIF, or one video. Mixing media types launched in October 2022, but the current guide no longer describes it. With more than one item, they share the space in a grid and each one can be cropped. X doesn’t publish the tile sizes. Tips for awkward shapes and multi-image posts follow below.
Two privacy points from X’s help centre are worth knowing before you post a photo. X keeps a photo’s Exif data (the hidden camera, time and sometimes location details) only temporarily to process it, and people viewing the photo can’t see it. And photos in public posts can appear in X search, while photos in protected posts and deleted photos don’t. Deleting a photo means deleting the post it is in, and X warns that copies may stay cached in some browsers and apps for a while.
Best sizes to export
| Shape | Export at | Use it for |
|---|---|---|
| 2:1 | 1600 × 800 | The widest shape X promises to show in full |
| 16:9 | 1200 × 675 | Slide screenshots, video stills, charts |
| 4:3 | 1600 × 1200 | Phone camera photos, iPad screenshots |
| 1:1 | 1080 × 1080 | Quote cards and graphics reused on other apps |
| 4:5 | 1080 × 1350 | Taller cards that fill more of a phone screen |
| 3:4 | 1080 × 1440 | The tallest shape X promises to show in full |
Rescuing an image that is the wrong shape
You can crop (lose part of the picture) or pad (add plain background so nothing is lost):
- iPhone screenshot, 1170 × 2532: crop the height to 1560 (losing about 38%), or widen the canvas to 1899 and centre the screenshot on a plain background.
- Panorama, 4000 × 1000: crop to 2000 wide (losing half), raise the canvas to 2000 tall with colour above and below, or split it into two 2:1 halves in one post.
- Ultra-wide monitor screenshot, 3440 × 1440: crop to 2880 wide (losing 16%, usually empty sides), or raise the canvas to 1720 tall.
- Your 1500 × 500 header, reused: raise the canvas to 750 tall rather than cropping, so the words survive.
Multi-image posts, text and sharpness
- Order matters. Drag to reorder before posting and put the strongest image first. Keep subjects near the centre of each image and use one shape for the whole set, because grid tiles trim the edges.
- Don't split text across images. A thread with one image per post shows each slide in full.
- Size text for a phone. On a phone about 360 points wide, a 1080-wide image is shown at a third of its size, so 30-pixel text shows at about 10. Use at least 42 pixels for the smallest text, and export text-heavy graphics as PNG, since JPG smears letter edges.
- Avoid soft images. Start from at least 1080 pixels on the short side and export once from the original file, not from a screenshot of a screenshot.
Alt text is set per image. Samples to adapt: “Bar chart: newsletter sign-ups per month, January to June, steady at around 200 until April, then 410 in May and 620 in June.” “Screenshot of a customer email. Text reads: ‘Your onboarding call saved me a week.’ Name and address are blurred.” “Slide titled ‘Three questions before you hire’, followed by the three questions.”
X GIF size
- File size (help centre)
- 5MB from the mobile app, 15MB on the web
- Resolution (developer docs)
- 1280 × 1080 or less
- Frames (developer docs)
- 350 or fewer
- Width × height × frames (developer docs)
- 300 million or fewer
- Plays in the timeline
- Only if it loops
X’s developer docs give three GIF limits that work together, and the third one catches people out: width × height × number of frames must stay at or under 300 million. You can’t max out all three at once. A full 1280 × 1080 GIF has 1,382,400 pixels per frame, so it can only have about 217 frames (300,000,000 ÷ 1,382,400) before it breaks the rule, well short of the 350-frame limit. At 15 frames per second that is roughly 14 seconds. A 640 × 360 GIF, by contrast, has 230,400 pixels per frame and can use all 350 frames (about 81 million in total).
File size usually runs out first. The help centre caps GIFs at 5MB when you post from the app, so a GIF that works from your laptop at 12MB will be refused on your phone. Fewer colours, fewer frames and a smaller width are the three levers: halving the width cuts the pixels per frame to a quarter. X plays looping GIFs automatically; a GIF set to play once shows as a still image, and GIFs can’t have people tagged in them. For when a GIF helps a post and when it looks like filler, see our guide on adding a GIF without looking spammy.
X video size and length
No subscription
140 sec
up to 512MB per video
Paid X subscriber
Under 4 hours
up to 16GB at up to 1080p (X also lists 720p for videos over 2 hours)
For web uploads, X lists a minimum of 32 × 32 and a maximum of 1920 × 1200 pixels, any shape from 1:2.39 to 2.39:1, at most 40 frames per second and 25 Mbps. Videos of 60 seconds or less loop automatically, and videos don’t use any of the post’s characters. X’s developer docs give different numbers for uploads through the API (20 minutes and 8GB by default), which matters if you schedule posts with a tool. The X video size guide sets the two side by side, works through the bitrate maths and has a file checker.
X link preview image size
When you paste a link into a post, X builds a card from tags on the linked page (twitter:image, or og:image as a fallback). You don’t upload this image to X; whoever runs the website sets it. X’s developer documentation for the large-image card, last archived in January 2026 before the page left X’s docs site, gave these rules:
- Shape
- 2:1
- Smallest
- 300 × 157 pixels
- Largest
- 4096 × 4096 pixels
- File size
- Under 5MB
- Formats
- JPG, PNG, WEBP, GIF (first frame only)
- Not supported
- SVG
- Image description tag
- twitter:image:alt, up to 420 characters
A 1200 × 600 PNG or JPG meets every rule with room to spare. X’s docs also asked for an image unique to each page, not a site logo or author photo used everywhere. The card itself has changed twice in recent years: in October 2023 X removed the headline and description and left only the image with the website name on top; in January 2024 headlines came back, reported as one short line of white text in a box over the bottom-left of the image. So keep your own text and faces out of the bottom-left of a preview image, and don’t rely on the headline being readable. Write the point of the link in the post itself.
X ad image and video specs
Ads follow their own spec sheet, and it is stricter in some places than normal posts. Ad copy can be up to 280 characters, and X notes that each link takes 23 of them. For image ads with a website card or app buttons, X recommends 800 × 418 (1.91:1) or 800 × 800 (1:1), up to 5MB, with PNG or JPEG recommended and no BMP or TIFF. A GIF in an image ad shows as a still image. X lists these shapes and sizes for image and video ads:
1:1
1080 × 1080
1.91:1
2064 × 1080
16:9
1920 × 1080
9:16
1080 × 1920
4:5
1440 × 1800
2:3
1080 × 1620
Video ads
MP4 or MOV up to 1GB (X strongly suggests under 30MB). 15 seconds or less recommended, up to 2 minutes 20 seconds supported. 1200 × 1200 or 1920 × 1080 for standalone video. 29.97 or 30 fps, up to 60 fps, and don’t upsample a lower frame rate. Bitrate 6,000 to 10,000 kbps for 1080p, 5,000 to 8,000 kbps for 720p. Keep any logo in the upper-left throughout; captions or text overlays are strongly recommended. Thumbnail: PNG or JPEG up to 5MB.
Vertical video ads
Shown full screen in X’s immersive video viewer. 9:16 recommended, from 720 × 1280 up to 1080 × 1920. Under 15 seconds recommended, up to 2 minutes 20 seconds. Up to 60 fps, 25 Mbps at most, with 5 to 10 Mbps as the target. H.264 video and AAC LC audio.
Carousel ads
2 to 6 swipeable slides of images or videos. Images: 800 × 418 or 800 × 800 recommended. Videos: 800 × 450 (16:9) or 800 × 800. Every slide in one carousel should share one shape. Website titles can be 70 characters, but X suggests 50 or fewer to avoid being cut off.
X notes that not every ad format is open to self-serve advertisers. If you only run the occasional promoted post, the 1:1 and 1.91:1 sizes cover almost everything. For how X ads work more generally, see our X ads glossary entry.
Alt text and captions on X
Each image in a post can carry its own description of up to 1,000 characters. X’s iOS and Android apps and x.com all let you add one; on iOS you tap the +Alt button on the attached image. You can edit it until you post. X calls the description the only place that guarantees a description of the image, and it is read aloud by screen readers. If the image contains words, such as a quote card or a chart title, put those words in the description, because a screen reader can’t read text baked into pixels. Our guide to writing alt text for a tweet image has worked examples.
Videos can’t have an image description. Instead, upload a caption file: after adding the video, choose “Upload caption file (.srt)” below it, pick the file and select Done. X says automatic captions can miss or mistranslate words, sometimes in offensive ways, so a caption file you wrote yourself is the reliable option.
Which size should I use? Pick by job
X gives rules (shapes, file caps) more than exact sizes, so here is what to export for the most common jobs. Pixel sizes that aren’t X’s own recommendation are our worked examples of the right shape.
| You are making | Export at | Why |
|---|---|---|
| Profile photo | 400 × 400 | X’s own recommendation. A bigger square works too, as long as the file stays under 2MB. |
| Header | 1500 × 500 | X’s recommendation. Keep words out of the top and bottom 60 pixels. |
| Screenshot of a slide, chart or video still | 1600 × 900 (16:9) | Matches the shape of most screens and slides, and sits well inside the 2:1 to 3:4 range. |
| Photo from a camera | 1800 × 1200 (3:2) | Most cameras shoot 3:2 or 4:3, both of which X shows in full, so don’t crop at all. |
| Quote card or graphic you also use on Instagram or LinkedIn | 1080 × 1080 (1:1) | One square file works on every network without a second export. |
| Graphic meant to fill a phone screen | 1080 × 1350 (4:5) | Taller than square, so it takes more of the screen, and still inside the range X shows in full. |
| Phone screenshot | Pad to 1080 × 1440 (3:4) | A raw phone screenshot (about 9:19.5 or 9:16) is taller than 3:4, so X doesn’t promise to show all of it. |
| Preview image for a page on your own website | 1200 × 600 (2:1) | The large link card uses a 2:1 image. Use a picture of that page, not your logo. |
| Image ad with a website card | 800 × 418 or 800 × 800 | X’s recommended sizes for card ads; the bigger ratio sizes in X’s ad spec also work. |
| GIF reaction or short loop | 480 to 800 px wide | Keeps the file under the 5MB mobile limit, so it uploads from the app as well as the web. |
If the same graphic goes to several networks, square (1:1) and 4:5 are the shapes that travel best. Compare with our Threads image sizes, Reddit image sizes and LinkedIn image size guide before you export, see every network on the size guides hub, or use the social media image size cheat sheet for all five in one table.
Why your X image looks wrong, and the fix
My photo is cut off in the timeline
Check the shape first. X only promises to show a single photo in full when it is between 2:1 and 3:4. A phone screenshot or a wide panorama falls outside that range. With two to four images, each one shares the space and can be cropped. X says the preview in the post box is what people will see, so look at it before you post.
The upload fails or the button is greyed out
Post photos must be 5MB or less, and X doesn’t accept BMP or TIFF. Profile photos can be 2MB at most. Animated GIFs can’t be used for a profile photo or header. Also check you are on x.com or the official app; X says profile images can’t be changed from anywhere else.
My GIF doesn’t move
X plays looping GIFs. A GIF set to play once is shown as a still picture. Animated GIFs aren’t supported as a profile photo or header, a GIF in an image ad shows as a still image, and link previews use only a GIF’s first frame.
My image looks blurry on someone’s phone
X scales every photo for display, so start with enough pixels: at least 1080 pixels on the short side for a photo, and, as our own rule of thumb, text no smaller than about 4% of the image height. The viewer’s own app settings matter too. The X apps have a high-quality images option under Data usage, and reports say the app compresses images more when it isn’t set to load them on the connection the viewer is using (for example, set to Wi-Fi only while they are on mobile data). You can’t control that from your side.
My link preview shows the wrong picture, or none
The image comes from the page you link to, through its twitter:image or og:image tag. It must be under 5MB and in JPG, PNG, WEBP or GIF; SVG is not supported. For the large card, use a 2:1 image between 300 × 157 and 4096 × 4096 pixels.
A scheduling tool won’t take my mix of photos and a video
X’s posting guide and its developer docs, which posting tools follow, both describe up to 4 photos, or 1 GIF, or 1 video per post. Mixing media types launched in the apps in 2022, but X no longer describes it in its help pages, so most tools won’t accept a mix. Post that one from the X app if it works there, or split it across a thread.
What changed on X, and when
Most outdated size advice online comes from before these changes. If a guide tells you X crops every photo to 16:9, or that a post can only hold one kind of media, it was written before 2021 or 2022.
- 2018Twitter starts cropping photo previews with a “saliency” algorithm that guesses the most interesting part of the picture.
- March to May 2021After people said the crop didn’t serve all people equitably, Twitter tests full, uncropped previews of single photos on iOS and Android, then rolls them out to everyone with a true preview in the post box. This is where the 2:1 to 3:4 rule comes from.
- April 2021The iOS and Android apps start uploading and showing 4K images, controlled by a data-usage setting in the app.
- October 2022Posts can mix photos, videos and GIFs, up to four items in one post. At launch, mixed posts could only be created from the iOS and Android apps. By October 2026, X’s posting guide describes only up to 4 photos, a GIF, or a video.
- 25 July 2023Videos you post become downloadable by paid subscribers unless you switch off “Allow video to be downloaded” while composing.
- October 2023Link previews drop the headline and description; only the image shows, with the website name laid over it.
- January 2024Headlines return to link previews as a small line of text over the bottom-left of the image.
- By October 2026X’s ad spec lists six image and video ad shapes, including the taller 4:5 and 2:3, alongside the long-standing 800 × 418 and 800 × 800 card sizes.
What X doesn’t publish (so we left it out)
- A maximum pixel size for post photos. X only gives the 5MB file cap and says photos are scaled for display.
- A file-size cap for header images. Profile photos are capped at 2MB; staying under that for your header is the safe choice.
- Exact crop sizes when you post two, three or four items. Size guides around the web disagree with each other, so we describe the layout on the post image page instead of quoting pixel numbers.
- The size of the profile photo where it overlaps the header, or how big it appears next to posts.
- Sizes for List banners and Community cover photos. X only sets content rules for them.
Got the image sorted and need the words? Check the X character limit, see every X limit in one place, or preview your X post before it goes out. PostInstantly helps you write and schedule X posts in your own voice; you write, and the AI helps with ideas, hooks and edits. For numbers on how people use the platform, see our X statistics.
Frequently asked questions
What is the best image size for an X post?
X does not name one best size. It says a single photo with a shape between 2:1 (wide) and 3:4 (tall) shows in full in the timeline, so any image in that range works, for example 1200 × 675 (16:9), 1080 × 1080 (square) or 1080 × 1350 (4:5). Keep each file under 5MB.
What size is the X header?
X recommends 1500 × 500 pixels, a 3:1 strip, in JPG, PNG or a still GIF. X warns that about 60 pixels at the top and bottom can be cut off depending on the screen and browser, so keep text away from those edges.
What size should my X profile picture be?
X recommends 400 × 400 pixels. The file must be JPG, PNG or GIF and no bigger than 2MB. Animated GIFs are not supported for profile or header photos. Most accounts show the photo as a circle, so keep the important part in the middle.
Why is my profile picture square when other people’s are round?
X gives square profile photos to accounts on Premium Business (gold checkmark) and Premium Organizations (grey checkmark), to set them apart from personal accounts. Everyone else gets a round one.
How big can a video on X be?
X’s help centre says that without a subscription you can upload videos up to 140 seconds and 512MB. Paid subscribers can upload videos shorter than 4 hours, up to 16GB, at up to 1080p (X also mentions 720p for videos between 2 and 4 hours). X’s developer docs list different caps for uploads through the API, which we compare on our X video size page.
How many images can I add to one X post?
Up to four photos. X’s posting guide says you can include up to 4 photos, a GIF, or a video in a post, and its developer docs, which scheduling tools follow, say the same.
What size is the image in an X link preview?
For the large link card, X’s developer docs gave a 2:1 shape, at least 300 × 157 and at most 4096 × 4096 pixels, under 5MB, in JPG, PNG, WEBP or GIF (only the first frame of a GIF is used). SVG is not supported. 1200 × 600 is a safe size to export.
How do I post a tall phone screenshot on X without it being cut?
A phone screenshot is taller than 3:4, so X doesn’t promise to show it in full. Either crop it to a 3:4 slice of the part that matters, or place it on a wider plain background so the whole canvas is 3:4.
Do images count towards the character limit?
No. X says photo, GIF and video attachments do not use any of the post’s characters.
Does X keep the location data in my photos?
X says it keeps a photo’s Exif data temporarily to process it, and people who view the photo can’t see it. If location services are on, it uses that data to suggest a location tag while you compose, and it also uses Exif data for analytics about whether the photo was taken with the device camera.
Sources
Checked 13 October 2026. Platforms change their rules often; if something here is out of date, tell us through the contact page.
- How to customize your profile · X Help Center: 1500 × 500 header, 400 × 400 profile photo, formats, no animated GIFs
- Help with uploading a profile photo · X Help Center: 2MB cap, 60px header crop, upload checks
- How to post · X Help Center: Up to 4 photos, a GIF, or a video in a post (checked October 2026)
- How to post photos or GIFs on X · X Help Center: 2:1 to 3:4, 5MB, GIF limits, formats, Exif, search
- How to share and watch videos on X · X Help Center: Video length, size and web limits; download setting
- How to write great image descriptions · X Help Center
- How to make images accessible for people · X Help Center: 1,000-character descriptions, +Alt button, none on videos
- How to upload caption (.srt) file to Posts · X Help Center
- Creative ad specs · X Help Center: Image, video, vertical video and carousel ad specs
- About Premium Business · X Help Center: Gold checkmark and square avatar
- About Premium Organizations · X Help Center: Grey checkmark and square avatar
- Adult content policy · X Help Center: Not allowed in profile photos, headers, List banners or Community covers
- Violent content policy · X Help Center
- Media best practices · X Developer Platform: WEBP, GIF 1280 × 1080 / 350 frames / 300 million pixels, API media rules
- Cards markup tag reference (archived January 2025) · X Developer Platform via Internet Archive: twitter:image and og:image fallback
- Summary card with large image (archived January 2026) · X Developer Platform via Internet Archive: Link card image spec; the page is no longer on X’s current docs site
- Sharing learnings about our image cropping algorithm (19 May 2021) · X Engineering blog
- Twitter now supports viewing and uploading 4K images on iOS (21 April 2021) · MacRumors
- How to always load X images in high resolution (September 2025) · Roboin: Unofficial; viewer-side image quality setting
- Twitter now lets you post images, videos and GIFs in a single tweet (6 October 2022) · TechCrunch
- X’s updated link preview format removes headlines and descriptions (4 October 2023) · Social Media Today
- Headlines return to X link previews (3 January 2024) · The Register
- X brings back headlines in link previews (2 January 2024) · AlternativeTo: Headline as white text in a box at the bottom left of the image