JPG vs PNG vs WebP: which image format should you use?

Choosing an image format can be confusing. Each format is good at different things, so matching the format to the kind of image and where it will be used gets you both good quality and small files.

Comparison at a glance

FormatCompressionTransparencyBest for
JPGLossyNoPhotos
PNGLosslessYesLogos, icons, screenshots, charts
WebPLossy or losslessYesPhotos and graphics for the web
GIFLossless (up to 256 colours)Simple onlyShort animations

JPG and PNG

JPG uses lossy compression, discarding fine colour detail the eye barely notices, so photos stay small. It suits images with smooth tones, but sharp edges such as text and shapes can look smudged, and it cannot store transparency.

PNG uses lossless compression, so nothing is thrown away. Text, logos and screenshots stay crisp, and transparent backgrounds are supported. Saving a photo as PNG, however, often makes it several times larger than a JPG.

What makes WebP good?

WebP is a format Google designed for the web. It supports lossy and lossless compression as well as transparency, and at the same quality it is often smaller than JPG or PNG, which helps pages load faster. Current versions of Chrome, Edge, Firefox and Safari all display WebP.

Some older programs and sites still do not accept WebP uploads. If you are not sure where an image will end up, JPG for photos and PNG for graphics remain the safest choices.

What to use when

  • Sharing or printing phone photos: JPG
  • Logos, icons and images with transparent backgrounds: PNG
  • Screenshots and charts with lots of text: PNG
  • Photos for a blog or website: WebP (JPG if WebP is not supported)
  • Website favicons and Windows icons: ICO
  • Submitting or printing an image as a document: PDF
  • The EasyTools image converter switches between these formats right in your browser.