X link preview
For a large card on X, use a landscape image near 2:1. We recommend 1200 × 600 pixels, at least 300 × 157 pixels and under 5 megabytes.
- Recommended
- 1200 × 600 pixels
- Minimum
- 300 × 157 pixels
- Shown as
- A large card
- File size
- Up to 5 megabytes
X’s own documentation is behind a login and we could not read it. These numbers come from a published guide that describes X’s older documentation, so they can be out of date. The largest image is 4096 × 4096 pixels, and JPG, PNG, WEBP and GIF work.
The guide says X shows the title over the image on a large card. We have not measured where, so keep the bottom of the image free of text.
Add the twitter:card tag with the value summary_large_image to get the large card.
Last updated
Use the arrow keys to switch format.