Blog
X / Twitter·5 min read

X (Twitter) Image Sizes: The Complete 2026 Guide

Every X (Twitter) image format explained — profile photos, headers, in-stream images, and card images. Exact pixel dimensions to look sharp across the timeline and search.

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

Aspect ratio: 1:1Recommended: 400 × 400 pxMinimum: 200 × 200 pxMax file size: 2 MBShape: circular crop

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.

Need to crop your profile photo to a perfect square?
Free, in-browser. No account. Done in seconds.
Open editor →

Header image — 1500 × 500 px

Aspect ratio: 3:1Resolution: 1500 × 500 pxMax file size: 5 MB

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

Aspect ratio: 16:9 (recommended)Resolution: 1600 × 900 pxAlternate square: 1200 × 1200 pxMax file size: 5 MB per imageUp to 4 images per tweet

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.

Aspect ratio: ~1.91:1Resolution: 1200 × 628 pxNotes: pulled from og:image meta tag

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

FormatDimensionsAspect ratioNotes
Profile photo400 × 4001:1Circular crop
Header image1500 × 5003:1Clear the profile photo overlap zone
Post image (wide)1600 × 90016:9No crop in timeline
Post image (square)1200 × 12001:1More vertical feed space
Link card1200 × 6281.91:1Set 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.

  1. Upload your image — drag and drop, or click to browse. JPG, PNG, WebP, and HEIC supported.
  2. Select the X preset — choose the format you need from the Presets panel: Profile Photo, Header, or Post Image.
  3. Adjust the crop — drag handles to frame your shot as intended.
  4. 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.