X Post Image Dimensions
X (Twitter) supports several aspect ratios for post images. The right one depends on the format:
| Format | Dimensions | Best For |
|---|---|---|
| Landscape (16:9) | 1600 × 900 px | Default — most desktop feed real estate |
| Square (1:1) | 1200 × 1200 px | Mobile feed, profile grid harmony |
| Portrait (4:5) | 1080 × 1350 px | Quote cards, infographics |
| Link Preview (1.91:1) | 1200 × 628 px | og:image / twitter:image card |
Multi-Image Post Layout
X supports up to 4 images per post. The grid layout depends on image count:
- 1 image: Full size, original aspect ratio
- 2 images: Side-by-side, both cropped to 7:8
- 3 images: One large left, two stacked right
- 4 images: 2×2 grid, all cropped to 1:1
Keep important subjects centered. Anything in the corners gets cropped out of grid view.
Link Preview Card
When you share a URL, X renders the link's twitter:image at 1200 × 628 pixels (the "summary large image" card). Set this in your page meta:
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://example.com/twitter-card.png" />If X caches an old image, force a refresh with the X Card Validator. Avoid placing fine text in the card image — it scales down significantly in feed.
File Format Guidance
- JPG: Photos, gradients, scenery — smallest file
- PNG: Graphics with text, logos, transparent overlays — sharpest edges
- WebP: Allowed, marginal benefit over JPG
- GIF: Animation only — X compresses static GIFs poorly
Always export in sRGB color mode. Adobe RGB shifts colors when X converts.
Tips for Better X Post Performance
- Upload at 1600 × 900 for desktop, 1200 × 1200 for mobile-first feed
- Keep critical subjects in the center 16:9 area to survive feed crop
- Use PNG for any post with text; JPG for photos
- Set
twitter:imageat 1200 × 628 for link previews - Save in sRGB at under 5 MB
- For visual grids, design subjects centered — corners get clipped
- Need to resize? Use our X Photo Resizer.
Frequently Asked Questions
What is the Twitter post image size?
The recommended X (Twitter) post image size is 1600 × 900 pixels at a 16:9 aspect ratio. X also accepts 1200 × 1200 (square), 1080 × 1350 (4:5 portrait), and most other ratios — but landscape gets the most feed real estate on desktop.
What is the X aspect ratio?
X (Twitter) supports multiple aspect ratios: 16:9 (landscape, recommended), 1:1 (square), 4:5 (portrait), and 3:4. Anything outside these gets cropped or letterboxed in the feed.
How many images can I add to a Twitter post?
You can attach up to 4 images per X post. The grid layout depends on count: 1 = full size, 2 = side-by-side, 3 = one large + two stacked, 4 = 2×2 grid. All grid images get cropped to 16:9.
What is the X link preview card size?
X link preview cards display at 1200 × 628 pixels (1.91:1) for the "summary large image" card type. Set this as your og:image meta tag (or twitter:image specifically). Use the X Card Validator if a cached image isn't updating.
What is the maximum file size for a Twitter image?
X limits static images (JPG, PNG, WebP) to 5 MB and animated GIFs to 15 MB. Files over the limit get rejected. Pre-compress JPG to under 1 MB without visible quality loss.
Why does my Twitter image get cropped in the feed?
In the feed, X auto-crops images to a 16:9 ratio for preview. Tap-through reveals the full image. Place key subjects in the center 16:9 area to ensure they survive the feed crop.
What file format should I use for Twitter posts?
Use JPG for photos (smallest file). Use PNG for graphics with text or transparent backgrounds. WebP works but offers little benefit over JPG at X compression levels. GIF for actual animation only.
Why does my Twitter image look blurry?
Blurry posts are usually caused by uploading below 1600 × 900, using a non-sRGB color profile, or letting X re-compress an oversized JPG. Always export at 1600 × 900 in sRGB at JPG quality 85+ and under 5 MB.