Twitter (X) Image Size: Every Dimension You Need in 2026
Twitter rebranded to X, but the image dimension requirements stayed the same. Whether you're setting up a profile, designing a header, or optimizing images for in-feed posts, you need exact pixel values — not vague ranges. Here they are.
Twitter Image Sizes at a Glance
Copy what you need from the table, then skip to the relevant section for details.
| Image Type | Recommended Size | Aspect Ratio | Max File Size | Formats |
|---|---|---|---|---|
| Profile photo | 400 × 400 px | 1:1 | 2 MB | JPG, PNG, GIF |
| Header image | 1500 × 500 px | 3:1 | 5 MB | JPG, PNG, GIF |
| Single in-stream photo | 1200 × 675 px | 16:9 | 5 MB | JPG, PNG, GIF, WEBP |
| 2-image layout (each) | 700 × 800 px | 7:8 | 5 MB | JPG, PNG, GIF, WEBP |
| 3-image layout (large) | 700 × 800 px | 7:8 | 5 MB | JPG, PNG, GIF, WEBP |
| 3-image layout (small, ×2) | 600 × 400 px | 3:2 | 5 MB | JPG, PNG, GIF, WEBP |
| 4-image layout (each) | 600 × 400 px | 3:2 | 5 MB | JPG, PNG, GIF, WEBP |
| Summary Card | 144 × 144 px min | 1:1 | 5 MB | JPG, PNG, GIF, WEBP |
| Summary Card with Large Image | 300 × 157 px min | 2:1 | 5 MB | JPG, PNG, GIF, WEBP |
| DM photo | 1200 × 675 px | 16:9 | 5 MB | JPG, PNG, GIF, WEBP |
Twitter Profile Photo Size
Recommended: 400 × 400 px. Maximum file size: 2 MB. Formats: JPG, PNG, GIF (animated GIFs work for verified accounts).
Twitter displays profile photos as circles, so your subject needs to be centered. If you upload a 400 × 400 square, the circle crop will cut about 57 px from each corner — anything critical (text, logo elements) must stay within a roughly 280 × 280 px safe circle in the center.
The minimum accepted size is 200 × 200 px, but Twitter upscales it, and the quality shows. Start with 400 × 400.
Upload PNG for logos and graphics with clean lines. Upload JPG for headshots and photos. The 2 MB limit is easy to stay under — a properly compressed 400 × 400 PNG should be well under 100 KB.
Twitter Header Image Size
Recommended: 1500 × 500 px. Aspect ratio: 3:1. Maximum file size: 5 MB.
The header is the wide banner behind your profile photo. On desktop, it renders at roughly 1500 × 500. On mobile, it's cropped to approximately 1500 × 420 — trimming the top and bottom.
Safe zone: Keep all important content (text, logo, focal points) in the center band: roughly 1500 × 300 px, centered vertically. The bottom-left corner is covered by your profile photo on desktop, so avoid putting anything critical there. Leave about 60 px of padding from the left edge and 260 px from the bottom on desktop.
GIFs are supported but don't animate in headers — Twitter renders only the first frame. Use a static JPG or PNG instead.
One practical tip: design the header at 1500 × 500 but export it at 2x (3000 × 1000) if your source artwork is high resolution. Twitter will downsample it, and you'll get sharper results on HiDPI displays.
Twitter Post Image Sizes
Twitter supports up to 4 images per tweet, and the display layout changes based on how many images you attach.
Single Image
1200 × 675 px (16:9 ratio). This is the safe default for any single-image post. Twitter previews it in the feed without cropping. Square images (1200 × 1200) also work well — Twitter won't crop them significantly. Tall portrait images (anything taller than 4:5) get cropped in the feed preview; the full image is visible on click.
2-Image Layout
700 × 800 px each. Twitter displays two images side by side. Each image gets roughly half the available width. Using 700 × 800 (7:8) fills the frame well on both desktop and mobile.
3-Image Layout
The left slot gets a taller image (700 × 800), and the two right slots are stacked smaller (600 × 400 each). Design with this asymmetry in mind — the visual weight should be on the left.
4-Image Layout
600 × 400 px each, arranged in a 2×2 grid. All four get equal treatment. Landscape format (3:2) works cleanly in this layout.
Mobile Cropping
Twitter's mobile app crops in-feed previews more aggressively than desktop. For any image that contains text or an important focal point, keep the critical content within the center 80% of the frame. Check your post on mobile before it matters.
If you need to resize images to these exact dimensions before uploading, Pixotter's resize tool handles batch resizing without re-uploads or server round-trips — everything runs in your browser.
Twitter Card Image Sizes
Twitter Cards are the rich preview panels that appear when you share a URL. The image is pulled from og:image or twitter:image meta tags on the linked page.
Summary Card
The default card type. Displays a small square thumbnail alongside the title and description.
- Minimum: 144 × 144 px
- Maximum: 4096 × 4096 px
- Recommended: 800 × 800 px (1:1 ratio)
- Max file size: 5 MB
- Formats: JPG, PNG, GIF, WEBP
Use this for blog posts, documentation pages, and any URL where a square thumbnail fits naturally.
Summary Card with Large Image
A full-width banner image above the title and description — much higher visibility in the feed.
- Minimum: 300 × 157 px
- Maximum: 4096 × 4096 px
- Recommended: 1200 × 628 px (roughly 1.91:1)
- Max file size: 5 MB
To activate this card type, set <meta name="twitter:card" content="summary_large_image"> in your page's <head>. This is what most content publishers use — it generates significantly more clicks than the small thumbnail variant.
Player Card
Used for video and audio embeds. Minimum 640 × 360 px (16:9). This requires Twitter's approval process, so it's less common for standard publishing use cases.
How to Resize Images for Twitter
Getting dimensions right before uploading matters more than it sounds. Twitter's upload pipeline compresses every image — if you start with an already-compressed file, you stack two compression passes and compound the artifacts. Start clean.
Workflow for any Twitter image:
- Start from your highest-resolution source file.
- Resize to the target dimensions (400 × 400 for profile, 1500 × 500 for header, 1200 × 675 for posts).
- Compress before uploading — target under 500 KB for post images, under 100 KB for profile photos.
- Upload once.
Pixotter's resize tool handles step 2: drop your image, set the target width and height, and download. The compress tool handles step 3. Both run client-side — your images never leave your browser.
For platform-specific sizing on other networks, the approach is the same — see the Instagram image size guide and LinkedIn banner size guide for their respective dimension tables.
Twitter Image Optimization Tips
PNG vs. JPG: Pick the Right Format
Use PNG for graphics, screenshots, text overlays, and anything with sharp edges or solid colors. PNG preserves these without compression artifacts.
Use JPG for photos and anything with continuous gradients. A well-compressed JPG at 80-85% quality will be dramatically smaller than the equivalent PNG with no visible quality difference.
Avoid GIF for still images. A GIF will always be larger than a PNG of the same content, with worse color reproduction.
Compress Before Uploading
Twitter recompresses every image you upload. This is unavoidable. What you control is the starting quality. If you upload a bloated 3 MB JPG, Twitter's compressor has to work harder and introduces more artifacts. If you start with a well-compressed 300 KB JPG at the correct dimensions, Twitter's pass has minimal impact.
Rule: compress to under 500 KB before uploading any post image. Profile photos should be under 100 KB.
Alt Text for Accessibility
Twitter supports alt text on uploaded images. Set it before posting — click the image preview in the compose window and select "Add description." Keep it under 1000 characters. Write what's actually in the image: not "graph" but "bar chart showing monthly active users from Jan to Dec 2025."
Alt text also serves as a fallback when images fail to load, and it's indexed by search engines.
Avoid Uploading Text as Images
Twitter's algorithm does not read text in images. If the important information in your tweet is inside an image (a screenshot of a quote, a text graphic), it's invisible to search and inaccessible to screen readers. When possible, include the key text in the tweet body itself.
Frequently Asked Questions
What is the best image size for Twitter posts?
For a single in-stream image, 1200 × 675 px (16:9) is the safest choice. It renders without cropping in the feed on both desktop and mobile. Square images (1200 × 1200) are a close second — they take up more vertical space in the feed, which can increase visibility.
Does Twitter compress uploaded images?
Yes. Every image you upload goes through Twitter's compression pipeline. The practical implication: compress your images before uploading. Starting with a bloated source file means two compression passes, which visibly degrades quality. Start lean.
What file formats does Twitter support?
JPG, PNG, GIF, and WEBP for in-stream photos. Profile photos and headers support JPG, PNG, and GIF only (no WEBP). Animated GIFs work for profile photos on verified accounts. Twitter converts GIFs to MP4 internally for display.
How do I avoid image cropping on Twitter?
Keep the critical content — faces, text, logos — within the center 80% of your image both horizontally and vertically. For single post images at 1200 × 675, the full image renders without cropping. Tall portrait images (taller than approximately 4:5) get cropped in the feed preview; users see the full image only after clicking.
What is the Twitter header safe zone?
Design your 1500 × 500 header so all important elements are within the central 1500 × 300 px band. On desktop, your profile photo overlaps the bottom-left corner (roughly 200 × 200 px). On mobile, the top and bottom are clipped by about 40 px each. If you follow the central band rule, you're safe on both.
Need to resize or compress images for other platforms? Check the YouTube thumbnail size guide for video platform specs.