How to Resize an Image for X (Twitter) in 3 Easy Steps
Follow these three simple steps to resize an image for Twitter or X. No software installation required. Free and secure.
Choose an Image
Select one JPG, JPEG, PNG, WebP, AVIF, or BMP image from your device, or drag and drop it into the browser.
Choose an X Preset
Select a landscape, square, or portrait post, profile photo, or header, then crop to fill or fit the complete image and adjust its framing.
Preview and Download
Review the output dimensions and composition, choose JPG or PNG, and download the resized Twitter/X image.
How Does the X (Twitter) Image Resizer Work?
The CompressFly X (Twitter) image resizer creates an image at the exact dimensions of the selected landscape, square, or portrait post, profile photo, or header preset. Crop to Fill covers the target canvas and lets you reposition or zoom the source. Fit Entire Image keeps all of the source visible and fills unused space with the selected background color.
The profile preset includes a circular display guide. The header preset includes a guide that keeps important content away from areas that may be cropped at the top and bottom on different screens. Neither guide is included in the JPG or PNG download. Processing runs directly in your browser.
What "in your browser" means
- No Twitter/X image is uploaded to a server
- Resizing, cropping, and export are processed locally on your device
- The finished JPG or PNG is downloaded directly from your browser
X (Twitter) Image Placements You Can Resize For
The X-only selector includes three post shapes plus dedicated profile and header presets.
Twitter/X Posts
Choose 1200 × 628 landscape, 1200 × 1200 square, or 1440 × 1800 portrait output.
Profile Photos
Create a 400 × 400 square source while previewing the circular profile display.
Header Images
Resize a wide header to 1500 × 500 pixels.
Header Crop Guidance
Use the visible guide to keep key text and subjects away from possible top and bottom cropping.
Which Twitter/X Image Size Should You Use?
Choose a post shape based on your composition, or use the dedicated profile and header presets for account imagery.
| Twitter/X Preset | Output Size | Common Use |
|---|---|---|
| Landscape Post | 1200 × 628 | Wide 1.91:1 post image |
| Square Post | 1200 × 1200 | Square post image |
| Portrait Post | 1440 × 1800 | Vertical 4:5 post image |
| Profile Photo | 400 × 400 | Square source displayed inside a circle |
| Header Image | 1500 × 500 | Wide account header |
X may crop headers at the top and bottom on some devices. Keep critical content away from the edges and check the published header on more than one screen size.
Why Use CompressFly to Resize Images for Twitter/X?
Prepare post, profile, and header images with purpose-built sizes and visible composition controls.
Five Twitter/X Presets
Choose dedicated sizes for landscape, square, and portrait posts, profile photos, and headers.
Exact Pixel Output
Download a JPG or PNG at the width and height shown for the selected X placement.
Header Framing Guide
Position key header content away from areas that may be cropped on different displays.
Crop and Fit Controls
Fill the target canvas or keep the complete source, then adjust its zoom and position.
Private & Secure
Your image is processed locally in your browser and is not uploaded to a server.
Free Access
Use the Twitter/X image resizer for free without signing up or entering credit card details.
Related Twitter/X and Social Image Tools
Twitter/X Image Resizer FAQ
How do I resize an image for Twitter or X?
Resize an image in three steps: 1. Add one supported image. 2. Choose a Twitter/X post, profile, or header preset and adjust the crop or fit. 3. Select JPG or PNG and download the image at the displayed dimensions.
Which Twitter/X image sizes are included?
The presets are 1200 × 628 landscape post, 1200 × 1200 square post, 1440 × 1800 portrait post, 400 × 400 profile photo, and 1500 × 500 header image.
Why does the Twitter/X header have a safe-area guide?
X may crop the top and bottom of header images on different screens. The guide helps keep key content away from those areas, but it does not guarantee identical display everywhere.
Does the profile preset export a circular image?
No. It exports a 400 × 400 square JPG or PNG. The circular overlay is only a guide for the profile display.
Are the header and profile guides included in the download?
No. Both guides are editor overlays and are not included in the exported image.
Are my Twitter/X images uploaded to a server?
No. Resizing and export run locally in your browser, so the image is not uploaded to a server.