Image sizes

X (Twitter) image sizes: header, posts and profile

X crops images in the feed and on the profile, so the right size is mostly about keeping the subject safe from the crop.

X (Twitter)

  • Header1500 x 500
  • Post image1600 x 900
  • Profile picture400 x 400

X (Twitter) sizes at a glance

UseSizeRatioNotesFree tool
Header1500 x 500 px3:13:1. The profile picture covers the lower left, and phones crop the edges.X header 1500x500
Post image1600 x 900 px16:916:9 fits in the feed without being cropped.X post image 1600x900
Profile picture400 x 400 px1:1Shown as a circle.profile picture 400x400
  • Keep important content in the middle third of a header.
  • A 16:9 picture shows in full in most feeds; taller ones get cropped.

Platforms change their layouts: if an exact size matters, check the platform's own help page. Need another size? Resize image.

Serve it with Fileboy

Upload one picture and ask for the size in the URL. Fileboy makes the copy when it is first requested and keeps it, so you never prepare a file for each platform.

Post image, 1600 x 900 px
https://api.fileboy.io/images/get/FILE_ID?transform=resize:1600x900;format:jpeg

More in the image transformation docs.

Common questions

What size is an X header?

1500 by 500 pixels, a 3:1 ratio.

Add Fileboy to your next project

We built Fileboy to stop rebuilding file handling for every app. Create an app, paste your key and upload a file. The free plan needs no card.