Compress AVIF Images for Twitter / X
Twitter / X displays images in a compressed format. Uploading pre-optimized images ensures the best possible quality in your timeline, profile, and shared links. Next-generation image format based on the AV1 video codec. Offers superior compression to both WebP and JPEG. Use ImageSmith to compress your AVIF images to the ideal file size for Twitter / X — target under 5,000KB for optimal performance. Processing is fully browser-based — no server uploads.
Recommended format
JPEG
Max file size
5,000KB
Dimensions
1200×675 (landscape), 1080×1080 (square), 1200×1200 (profile)
✓Twitter supports up to 4 images per tweet
✓GIFs must be under 15MB and 150 frames for Twitter
✓Profile photos display at 400×400px but accept larger uploads
✓Use 1200×675 for optimal landscape tweet card display
Compress AVIF for Other Platforms
Compress AVIF for Twitter / X — FAQ
Twitter / X works best with images under 5,000KB. Recommended dimensions: 1200×675 (landscape), 1080×1080 (square), 1200×1200 (profile). ImageSmith can compress AVIF images to any target size in seconds.
Twitter / X primarily supports JPEG, PNG, WEBP, GIF. Converting to JPEG is recommended for best compatibility.
Upload your AVIF image to ImageSmith, set a target size under 5,000KB, and compress. Twitter supports up to 4 images per tweet
Twitter accepts photos up to 5MB and GIFs up to 15MB. Use 1200×675 pixels for landscape tweet images to fill the full card preview.
JPEG is recommended for photographs. PNG works well for graphics and screenshots. Twitter also supports WebP and GIF. The 5MB file size limit applies to all formats.