Images

JPG vs PNG vs WebP: Which Image Format to Use?

What makes JPG, PNG and WebP different, which one to pick for photos, screenshots, logos and websites, and what happens when you convert.

· 2 min read

An upload form asks for “JPG only”. Your poster needs a logo without a white box around it. Your screenshot of some code looks blurry. All three problems come down to choosing the right image format, and there are only three you really need to know.

JPG: the everyday photo format

JPG (also written JPEG) is the most widely supported image format in the world.

  • Best for: photos.
  • How it saves space: lossy compression. It throws away fine detail your eyes are unlikely to notice, which makes photos dramatically smaller.
  • Limits: no transparency, and sharp edges such as text and lines can pick up fuzzy “artifacts”, especially at low quality.

If a form or website asks for an image and doesn’t say which format, JPG is the safest choice.

PNG: sharp graphics and transparency

PNG keeps every pixel exactly as it was.

  • Best for: screenshots, diagrams, charts, logos and anything with text.
  • How it saves space: lossless compression. Nothing is thrown away, so text and edges stay perfectly crisp.
  • Bonus: transparency. A PNG logo can sit on any background without a white box around it.
  • Limits: photos saved as PNG are very large, often several times bigger than the same photo as a JPG.

WebP: smaller files for the web

WebP is a newer format created by Google for websites.

  • Best for: images on websites and blogs.
  • How it saves space: it can work either way, lossy like JPG or lossless like PNG, and it supports transparency too. Google reports that WebP files are typically around a quarter to a third smaller than comparable JPG and PNG files.
  • Limits: all modern browsers support it, but some older programs, printers and upload forms still don’t accept it.

Which format should you use?

What you’re saving Best format
A photo for a form, email or document JPG
A screenshot of text, code or a chart PNG
A logo or image with a see-through background PNG
Images for your own website or blog WebP
A photo that has to be under a size limit JPG, then resize

What happens when you convert

Converting with the Image Converter takes seconds, but it helps to know what changes:

  • PNG to JPG usually makes photos much smaller. Any transparent areas become white, because JPG can’t store transparency.
  • JPG to PNG doesn’t bring back lost detail. The file gets bigger without looking any better, so only do it if you need PNG for another reason.
  • Anything to WebP generally gives a smaller file, which is great for websites but worth avoiding for forms that ask for JPG.

Each lossy save throws away a little more detail, so convert once from the original rather than back and forth.

Need it smaller too?

Changing the format is often only half the job. To shrink a photo without changing its dimensions, use Compress Image. To hit an exact limit, like a 100 KB maximum on an application form, use Resize Image and choose File size (KB).

And if your photos came from an iPhone as HEIC files, convert them with HEIC to JPG first, since most browsers can’t read HEIC on their own.

Free tools from this guide

Ready to finish that assignment?

Pick a tool and get your files sorted in seconds. Free, private and no sign-up.

Browse all tools