This guide provides media specifications and limitations for publishing on Twitter (X). Follow these guidelines to ensure your content meets platform requirements.
Limitations
-
Text-only posts: 280 characters (10,000 with "Long Tweet" client property)
-
Photo, GIF, and video attachments do not count towards the character limit.
Media Specifications
Images
-
Supported types: JPG, PNG, GIF, WEBP
-
File size: Up to 5MB
Animated GIFs
-
Resolution: Up to 1280x1080
-
Frames: Up to 350
-
File size: Up to 15MB
Videos
-
Recommended codec: H264 High Profile
-
Frame rate: 30 or 60 FPS
-
Duration: 0.5 seconds to 140 seconds
-
File size: Up to 512MB
-
Recommended resolution: 1280x720 (landscape), 720x1280 (portrait), 720x720 (square)