X (formerly Twitter) has a deceptively complex image handling system. The platform displays different crops depending on whether a viewer is on desktop or mobile, whether they've expanded an image or are seeing it inline, and whether the image appears in a tweet, a card, or a profile.
This guide covers every X image format in 2026 with exact pixel dimensions and practical advice for each.
Why dimensions matter on X
X renders images inline in the timeline at a fixed width with variable height, capped at a 2:1 aspect ratio. Images taller than that ratio get cropped before expansion — and X uses an automatic subject-detection algorithm to decide where to crop, which doesn't always pick the right place.
Getting dimensions right means your images display as intended without relying on X's crop algorithm.
Profile photo — 400 × 400 px
Your profile photo is one of the most persistently visible images on X — it appears next to every tweet, in mentions, in search results, and in the follower list. Always upload at 400 × 400 px or larger. The platform renders it as a circle, so keep the main subject centered.
Header image — 1500 × 500 px
The header image spans the top of your profile and is one of the few large-format branding surfaces on X. The 3:1 aspect ratio is the same whether you're on desktop or mobile — but mobile shows a slightly taller crop (approximately 1500 × 500 minus the top and bottom 50 px, roughly), so keep important content out of the very top and bottom edges.
Your profile photo overlaps the bottom-left of the header. Leave that area free of text or key visuals.
In-stream post image — 1600 × 900 px
Images in tweets are shown inline in the timeline at a fixed width, cropped to a 2:1 aspect ratio maximum. A 16:9 image (1600 × 900 px) fits cleanly within that limit and shows completely without any crop in the timeline.
Square images (1200 × 1200 px) also work well — they take up more vertical space in the feed and tend to draw more attention.
When posting multiple images in a single tweet, X arranges them in a grid. Two images are shown side by side; three images show one large on the left and two stacked on the right; four images show a 2×2 grid.
Link preview card — 1200 × 628 px
When you share a URL, X fetches the og:image meta tag from the linked page and shows it as a card. This card image is not uploaded to X directly — it's controlled by the destination website. The standard og:image size of 1200 × 628 px renders cleanly as an X card.
If you're building a landing page or blog post and want its X card to look good, ensure your og:image is set to 1200 × 628 px.
Quick reference
| Format | Dimensions | Aspect ratio | Notes |
|---|---|---|---|
| Profile photo | 400 × 400 | 1:1 | Circular crop |
| Header image | 1500 × 500 | 3:1 | Clear the profile photo overlap zone |
| Post image (wide) | 1600 × 900 | 16:9 | No crop in timeline |
| Post image (square) | 1200 × 1200 | 1:1 | More vertical feed space |
| Link card | 1200 × 628 | 1.91:1 | Set via og:image on the destination page |
How to resize for X with ImageSizeTool
ImageSizeTool has X (Twitter) presets built in — no manual math required.
- Upload your image — drag and drop, or click to browse. JPG, PNG, WebP, and HEIC supported.
- Select the X preset — choose the format you need from the Presets panel: Profile Photo, Header, or Post Image.
- Adjust the crop — drag handles to frame your shot as intended.
- Export — JPG for photos, PNG for graphics or screenshots with text.
Everything runs in your browser. No upload to a server, no account required.
Common X image mistakes
Relying on X's auto-crop. X uses a salience algorithm to guess which part of your image to show in the timeline preview. It's right often enough that most people don't notice it's cropping — until a critical moment when it picks wrong. Use a 16:9 image that requires no cropping and remove the guesswork entirely.
Forgetting the profile photo overlap on the header. Your round profile photo sits over the bottom-left corner of your header image. Placing a logo, tagline, or important visual in that zone means it's partially obscured. Design the left third of your header as a clear zone.
Posting large images that slow load time. X resizes uploads server-side, but a 15 MB PNG still takes longer to process and can appear blurry during load. Export at the recommended resolution — 1600 × 900 px — without over-engineering the file size.
Using a square profile photo source without centering. Non-centered subjects get cut off when the platform applies the circular crop. Always check your profile photo with a circle overlay before finalizing.