JPG, PNG, or WebP — which format should you choose?
Choosing the right format is the single biggest factor in how small a file can get without looking worse. JPG (JPEG) uses lossy compression tuned for photographs: it discards detail the eye barely notices, so a photo shrinks to a fraction of its size while still looking clean. That makes it the default for camera photos, product shots, and anything with smooth gradients and many colours.
PNG is lossless and supports transparency. It keeps every pixel exactly as it was, which is ideal for logos, icons, screenshots, and graphics with sharp edges or text. The trade-off is size: a full-colour photo saved as PNG is often several times larger than the same photo as JPG, with no visible benefit.
WebP is a newer format that usually beats both — JPG-like lossy compression plus PNG-like transparency, often 25–35% smaller. The catch is compatibility: a few older programs and some marketplaces still do not accept WebP, so use it where you control the destination (your own website, modern browsers) rather than for uploads to third-party platforms.
- Photos and product shots → JPG (or WebP if you control where it is shown).
- Logos, icons, screenshots, transparency → PNG.
- Your own website with a modern audience → WebP for the smallest files.