SkyTooler logo
SKYTOOLER

JPG, PNG or WebP: which image format should you use?

The same picture can be a few hundred kilobytes or several megabytes depending on the format it is saved in. This guide explains what each one is for.

Published

The short answer

  • Photos: JPG, or WebP if the place you use it supports it.
  • Logos, icons, screenshots and anything with sharp text: PNG.
  • A picture with a see-through background: PNG (or WebP).
  • A short looping animation: GIF, or a short MP4 or WebM video, which is usually smaller.
  • When you are not sure who will open it: JPG for photos, PNG for graphics. Both open almost everywhere.

The formats compared

FormatBest forTransparencyThings to know
JPG / JPEGPhotographsNoLossy. Every save at a lower quality drops some detail for good. Small files, opens everywhere.
PNGGraphics, screenshots, logos, cutoutsYesLossless, so edges and text stay crisp. Photos saved as PNG are large.
WebPPhotos and graphics on websitesYesCan be lossy or lossless. Often smaller than JPG or PNG for the same picture. Some older software cannot open it.
GIFVery simple graphics and short animationsYes, on or off onlyLimited to 256 colours, so photos look rough. Long animations become large files.
HEIC / HEIFPhotos taken on many iPhonesDependsSmall files, but many websites, forms and programs do not accept it. Convert or compress it before you share it.
AVIFPhotos and graphics on modern websitesYesVery efficient. Newer than the others, so older programs may not open it.
TIFFScans, print work and archivesYesVery large files. Not meant for web pages or email.
BMPLittle todayUsually notStores pixels almost as they are, so files are large. Almost always better saved as PNG.

Lossy and lossless in plain words

A lossy format such as JPG makes the file smaller by throwing away detail your eye is unlikely to notice. Do it once at a sensible setting and the picture still looks good. Do it again and again and the damage builds up, so keep an original and make copies from it.

A lossless format such as PNG keeps every pixel exactly. That is why it suits a logo or a screenshot full of text, where lossy blurring around the edges would show. The price is size.

Choosing for a purpose

A photo on a website

Use JPG or WebP and shrink it to about the size it appears on the page. A 6000-pixel photo shown 600 pixels wide wastes most of its data. Run it through the image compressor and compare the result with the original at the real display size.

A photo you are emailing or uploading to a form

JPG is the safe choice. If the file came from an iPhone as HEIC and the form rejects it, the image compressor accepts HEIC and HEIF files.

A logo or a screenshot

Use PNG. It keeps edges clean. If the file is large, a smaller size level in the compressor can reduce it, but check that text is still sharp.

A picture with no background

You need a format that can hold transparency. The background remover takes a JPG, PNG or WebP and saves the cutout as a PNG, which keeps the transparent area. JPG cannot do this, so saving the result as JPG fills the empty area with a solid colour.

Choosing a size level in the compressor

The image compressor offers Ultra Small, Very Small, Small, Medium, Large and Mono (black and white).

  • Medium is a good first try for most photos.
  • Large keeps the most detail, so use it for pictures that will be looked at closely.
  • Small, Very Small and Ultra Small give the smallest files. Soft gradients, such as a sky, can look flatter.
  • Mono turns the picture into black and white and makes the file smaller still.

Common questions

Is WebP better than JPG?

For websites it is often smaller at similar quality, and it can hold transparency. JPG still wins on compatibility, since almost everything opens it.

Why is my PNG so large?

PNG keeps every pixel, and photos contain a huge number of different pixels. If the picture is a photo, JPG or WebP will be much smaller. If it is a graphic, try a smaller size level.

Can I turn a JPG into a transparent PNG?

Changing the format does not remove a background. Use the background remover to cut the subject out first.

Will compressing a picture change its look?

Smaller levels remove some detail. Compare the new file with the original before you use it.

Try it