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

The short answer

Use JPG for photos, PNG for screenshots, logos and anything with a transparent background, and WebP for pictures on a website. In our tests a 1600-pixel phone photo was 469 KB as JPG and 3.6 MB as PNG. A screenshot shrank from 984 KB to 356 KB as a 256-colour PNG with no visible change. WebP was the smallest at the same quality setting, but some apps, email and upload forms still don’t accept it.

The three formats at a glance

JPGPNGWebP
CompressionLossy: drops detail you mostly can’t seeLossless: keeps every pixelEither lossy or lossless
Transparent backgroundNoYesYes
AnimationNoNo (APNG is a separate variant)Yes
Best forPhotosScreenshots, logos, graphics with textPictures on websites
Opens everywhereYesYesIn browsers; not in every app or form

Photos: JPG, or WebP on a website

A photo has millions of slightly different colours, and lossy compression throws away detail your eye won’t miss. PNG keeps it all, which makes photos enormous:

Typical (median) size of six iPhone 13 photos, in KB
FormatFull size (12 MP)1600 px wide
JPG, quality 903,913852
JPG, quality 752,074469
WebP, quality 902,834668
WebP, quality 751,511396
PNG14,9523,696

PNG came out 7–8 times the size of a quality-75 JPG. WebP was 16–28% smaller than JPG at the same quality number. The numbers don’t mean exactly the same thing in both formats, but Google, which created WebP, reports a similar gap (25–34%) at equal visual quality.

Convert with PNG to JPG or, for a website, JPG to WebP.

Screenshots, text and logos: PNG

Screenshots have large flat areas and sharp edges around letters. Lossy formats blur and speckle those edges. Lossless PNG keeps them exact, and our PNG Compressor can make it much smaller by reducing it to 256 colours, which a screenshot rarely needs more of.

Two 1920 × 1080 screenshots, in KB
FormatSettings windowDesktop
PNG984236
PNG, 256 colours356100
WebP, lossless697191
JPG, quality 90291237
JPG, quality 75147118
WebP, quality 756649

At quality 75 the text stayed readable in every format. Zoomed in, JPG showed faint speckles around the letters and WebP slightly softer edges. The 256-colour PNG looked identical to the original. For the desktop screenshot, a JPG at quality 90 was no smaller than the PNG.

One exception: a screenshot that is mostly a photo or a smooth gradient can show bands with 256 colours. Keep full colour for those, or use JPG.

Transparent backgrounds: PNG or WebP

JPG can’t store transparency. When you convert a logo or cut-out with a transparent background to JPG, the transparent areas have to be filled. Our converters fill them with white unless you pick another colour. To keep the background see-through, stay with PNG or use WebP: PNG to WebP keeps transparency.

WebP: smaller, but check where it’s going

About 97% of web users have a browser that shows WebP (caniuse, October 2026), so it’s a safe choice for a website. Outside the browser it’s patchier. Microsoft only began rolling out WebP editing in the Windows 11 Photos app in October 2026, email apps vary, and many official upload forms accept only JPG. Canada’s online passport renewal, for one, takes .jpg or .jpeg files only.

If you downloaded a WebP and need it somewhere else, convert it with WebP to JPG for photos or WebP to PNG for graphics and transparency.

Two newer formats come up too. HEIC is what iPhones save photos in by default; convert it with HEIC to JPG when a computer or a form won’t open it. AVIF is shown by about 97% of browsers as well (caniuse, October 2026); outside the browser, check that the app you need opens it before you rely on it.

How we measured

In November 2026 we saved six 12-megapixel iPhone 13 photos (from Wikimedia Commons) and two 1920 × 1080 Linux desktop screenshots (also from Wikimedia Commons) in each format with PHP GD, the image library our server uses for these tools. PNG used the highest compression level; 256 colours used GD’s palette reduction, as our PNG Compressor does. In your browser the tools use its built-in encoders, so sizes can differ slightly. Sizes are in KB of 1,024 bytes.

Frequently asked questions

Does converting a JPG to PNG improve its quality?

No. PNG keeps exactly what is in the JPG, including any blur or blocks the JPG already has, and the file gets several times bigger. Keep photos as JPG.

Is WebP better than JPG?

For websites, usually yes: at the same quality setting our WebP photos were 16–28% smaller. For sending, printing or uploading to forms, JPG is safer because everything opens it.

Why does my screenshot look smudged as a JPG?

JPG’s lossy compression is designed for photos, and it leaves speckles around sharp edges like letters. Save screenshots as PNG; to make them smaller, use the PNG Compressor’s 256 colours.

Which format is best for a logo?

PNG, because it keeps sharp edges and a transparent background. If you have the original vector file (SVG, AI or EPS), keep that too: it scales to any size.

How do I open a WebP file?

Any current web browser opens it: drag the file into a browser window. To use it in apps or forms that refuse it, convert it to JPG or PNG.

Convert

Popular

Language

About