How do I resize an image for Twitter?
To resize an image for Twitter (X), drop it into the free Twitter Image Resizer, pick a preset such as 1500 x 500 for a header or 400 x 400 for a profile photo, choose Fill or Fit, and download a JPEG, PNG or WebP. Everything runs in your browser, so nothing is uploaded.
Here's the thing. X takes photos of almost any shape, but a wide header gets trimmed and a tall photo can get cropped. Resizing first puts you in charge of what people see.
How to use the Twitter Image Resizer
- Drop a picture on the box above, or click it to choose a file from your device.
- Pick a preset. Header and Profile use X's own recommended sizes. The Post presets cover popular shapes for images inside a post.
- Type a custom width and height if you need something else. Any whole number from 16 to 6000 works.
- Choose Fill (crop) to cover the whole frame, or Fit (no crop) to keep the entire image with bars around it.
- Drag the horizontal and vertical sliders to move the crop until the important part is in view.
- Pick JPEG, PNG or WebP, set the quality, check the file size, and press Download image.
What image sizes does X recommend?
X recommends 1500 x 500 pixels for a header and 400 x 400 pixels for a profile photo, as of October 2026. For pictures inside a post, X gives no single size. Its help page says a single photo with a ratio between 2:1 and 3:4 shows in full.
The popular post sizes below all sit inside that range. Only the first three rows come from X.
| Use | Size in pixels | Where it comes from |
|---|---|---|
| Header (banner) | 1500 x 500 | X Help Center recommendation |
| Profile photo | 400 x 400 | X Help Center recommendation |
| Single post photo | Any ratio from 2:1 to 3:4 | X Help Center: shows in full |
| Landscape post | 1600 x 900 (16:9) | Common recommendation |
| Square post | 1080 x 1080 (1:1) | Common recommendation |
| Portrait post | 1080 x 1350 (4:5) | Common recommendation |
Check the official numbers on X's page about how to customize your profile and its page on posting photos and GIFs. That photo page also lists a 5MB photo limit and GIF, JPEG and PNG as accepted formats.
Should I use Fill or Fit?
Use Fill when the frame must be covered edge to edge, like a header or profile photo. Use Fit when nothing can be cut, like a chart or a screenshot with text near the edges. Fit adds bars in the background color you pick.
Fill scales the image until it covers the frame, then trims whatever spills over. The two position sliders decide which part goes. Slide horizontal to 0 and you keep the left side. Slide vertical to 100 and you keep the bottom.
Fit shrinks the image until all of it fits, then fills the empty space with your background color. With PNG or WebP, you can tick Keep transparent instead.
Tips for sharper results
Start with the biggest original you have. Shrinking keeps a photo crisp, while stretching makes it soft.
- For photos, JPEG at 85 to 90 percent quality is a good balance of size and detail.
- For screenshots, logos and text, PNG keeps letters sharp.
- For a profile photo, keep the face in the middle. X shows it as a circle, so the corners disappear.
- For a header, keep words away from the bottom left, where your profile photo sits on top of it.
Here's an example. Maya, a fictional baker, has a 4000 x 3000 cake photo. She picks Square 1:1, keeps Fill, slides horizontal to 40 to center the cake, and downloads a JPEG.
Common mistakes to avoid
- Stretching a tiny image to 1500 pixels wide. It will look blurry.
- Saving a photo as PNG. Photos as PNG are often several times bigger than JPEG with no visible gain.
- Choosing WebP for X. X's help page names JPEG, PNG and GIF.
- Putting key text at the very edge of a header, where some screens trim it.
Which related tool should I use next?
- Need a round avatar preview? Try the Twitter Profile Picture Resizer.
- Want to see how your header looks behind your photo on desktop and phone? Use the Twitter Banner Crop Preview.
- File still too heavy? Shrink it with the Twitter Image Compressor.
- Building a header from scratch? Start with the Twitter Header Maker.
- Posting the image? Write a description with the Twitter Alt Text Generator.
For ideas on what to put in the image, read header ideas for businesses, how to optimize your profile for followers and the best content formats for X growth.
Frequently Asked Questions
What is the best image size for a Twitter post?
X gives no single best size for post images. Its help page says a single photo with a ratio between 2:1 and 3:4 shows in full, as of October 2026. Common choices inside that range are 1600 x 900 for landscape, 1080 x 1080 for square and 1080 x 1350 for portrait.
Why does my resized image look blurry?
A resized image looks blurry when the original is smaller than the target size, so the pixels get stretched. The Twitter Image Resizer warns you when it enlarges a picture. Start from the largest original you have, or choose a smaller output size such as 1080 pixels wide instead of 1600.
Can I upload a WebP image to X?
X's help page on posting photos lists GIF, JPEG and PNG as accepted formats and says BMP and TIFF are not accepted. It does not mention WebP. To be safe, download your resized image as JPEG for photos or PNG for screenshots and graphics before you post it on X.
What is the maximum photo file size on X?
Photos on X can be up to 5MB, according to the X Help Center as of October 2026. Animated GIFs can be up to 5MB on mobile and 15MB on the web. The resizer shows the output file size and warns you if a download would go over 5MB.
Is this Twitter image resizer free and private?
Yes, the Twitter Image Resizer is free, needs no sign-up and works inside your browser. Your image is drawn on a canvas on your own device and saved from there. No file is sent to a server, so private photos stay with you and the tool keeps working on slow connections.