X (Twitter) image sizes: posts, header and link cards
Posts: 1600×900 (16:9), up to 4 images. Header: 1500×500 (top and bottom may be cropped; the profile photo covers the lower left), profile photo 400×400. Link cards: 1200×628 with twitter:card = summary_large_image. Posts: 280 characters (25,000 with Premium).
The details
| Format | Pixels | Keep clear | File | Text | Source |
|---|---|---|---|---|---|
| X in-feed image 16:9 | 1600×900 | — | Sprout lists up to 20MB for JPG/PNG (not confirmed on an X page) | post 280 chars (free); 25,000 chars with Premium (only ~280 show before 'Show more') | sproutsocial.com community |
| X profile header 3:1 | 1500×500 | top and bottom can be cropped depending on screen (community: ~60 px each); the profile photo covers the lower left | profile photo 2MB; header limit not stated | — | help.x.com official |
| X link card (summary_large_image) ~1.91:1 (X's old docs said 2:1) | 1200×628 | keep text centred; the title overlays the image in some clients | 5MB | — | kb.theseoframework.com community |
Notes: Up to 4 images per post. help.x.com and docs.x.com refused automated fetches, so the image size and text limits come from guides updated in 2026. Profile photo is 400x400. JPEG, GIF or PNG. Confirmed from X Help Center search snippets; the page itself blocks fetches. Minimum 300x157. A 1200x630 og:image works. X's developer card docs are now paywalled or have moved, so this is from secondary sources.
What usually goes wrong
- No twitter:card tag: X shows the small square card for your links.
- Header text in the lower left, under the profile photo.
From Palm's tests
Across Palm's design tests (thumbnail, post, carousel, poster, story), blind judges picked the Palm version in most pairs: see the results.
What your agent can't do alone
Sizes and limits move every few months, after your agent was trained. Palm's data is dated and sourced, and its render tool shows the agent the design with the real fonts at the size people see it, measuring every line for collisions, split words and text too small for a phone. For link cards, Palm's share-preview (Pro) draws the card X will show.
Questions
What size is the X header?
1500×500 (3:1).
Why is my link card small on X?
Add <meta name="twitter:card" content="summary_large_image"> and a 1200×628 (or 1200×630) image.