Image format reference

Twelve formats, what each is actually for, and the trade-offs that decide between them. No marketing — just what changes when you pick one over another.

Comparison of image formats
FormatCompressionTransparencyAnimationBest for
JPGLossyNoNoPhotos from cameras, phones, and almost any website
PNGLosslessYesNoScreenshots, logos, design exports, and graphics with transparency
WebPLossyYesYesSaved from a website — Chrome and most modern sites serve WebP by default
AVIFLossyYesYesDownloaded from a modern website that serves next-gen images
GIFLosslessYesYesMemes, reaction images, simple animations and old web graphics
BMPLosslessNoNoLegacy Windows applications, scanners, and industrial equipment
TIFFLosslessYesNoScanners, fax systems, print workflows and professional photo software
ICOLosslessYesNoWebsite favicons and Windows application icons
SVGVectorYesYesLogos and icons exported from Figma, Illustrator or Inkscape
HEICLossyYesNoPhotos taken on an iPhone or iPad with default camera settings
JPEG XLLossyYesYesPhotography workflows and archival projects experimenting with next-gen formats
PDFLosslessNoNoRequired by an application form, a print shop or an office workflow

Choosing a format in one paragraph

If it is a photograph destined for other people, use JPG. If it is a photograph on your own website and you control delivery, use WebP or AVIF and keep a JPG fallback. If it has transparency, or it is a screenshot, logo or anything containing text, use PNG. If it is a logo or icon that will be shown at more than one size, keep it as SVG for as long as you can. If a form or a print shop is asking, the answer is almost always JPG or PDF.

Cookie preferences

Choose what you are happy for us to store on your device. You can change this at any time from the “Cookie settings” link in the footer.