Twitter supports JPG, PNG, GIF, and WebP formats for images. It’s best to use JPG for photographs and PNG for images with text or transparency​.