Photo Atlas
← All postsPNG vs JPG vs WebP: Pick the Format Before You Compress

PNG vs JPG vs WebP: Pick the Format Before You Compress

·7 min read·by Maya Chen

Choosing the right image format by type cuts file size 30-60% before you touch a compression slider. Here is the decision tree, with real numbers.

They leave while your hero image is still decoding. The fix costs nothing extra: pick the format before you touch a compression slider. A photo saved as PNG can be 5 to 10 times larger than the same photo as JPEG or WebP, and switching format alone cuts 30 to 60% before you compress a single byte.

I watch this happen in the funnel. The visitor lands, the layout paints, and the largest image is still streaming in. On a 4G phone that gap is where the back button gets pressed. Format is the cheapest lever you have, and most people skip straight past it to fiddle with quality settings that matter far less.

Which image format should I use?

Match the format to the image type, not to habit. The decision tree is short:

  • Photograph or anything with smooth gradients (product shots, people, landscapes): JPEG or WebP. Never PNG.
  • Logo, icon, or flat illustration with few colors: PNG or SVG. WebP also works and is usually smaller.
  • Screenshot: depends on content. UI with sharp text and flat panels compresses better as PNG or WebP lossless. A screenshot that is mostly a photo behaves like a photo, so JPEG or WebP lossy wins.
  • Anything that needs transparency: PNG or WebP. JPEG has no alpha channel, full stop (see Compress Images Free Without Losing Transparency or Color).
  • Anything that needs animation: WebP or a video file. Animated GIF is almost always the wrong answer on size.

WebP is the format that covers the most cases. It does lossy like JPEG, lossless like PNG, and transparency like PNG, in one file type. That is why it is the default worth reaching for first.

Why is my PNG photo so huge?

Because PNG is lossless and photos have no repeating patterns for it to exploit. PNG compresses by finding runs of identical or predictable pixels. A logo is mostly flat color, so PNG crushes it. A photograph is millions of slightly different pixels, so PNG has almost nothing to remove and the file stays enormous.

A 1600px product photo can land at 2.4MB as PNG and 320KB as a quality-80 JPEG. Same visible image, roughly 7x the weight for the PNG. That is not a compression setting problem. That is the wrong format doing an honest job at a task it was never built for.

The single most common image mistake I see on landing pages is a hero photograph exported as PNG. The visitor pays for it in load time, and the load time gets paid back in bounce.

So the first question is never "how hard should I compress this," it is "is this even the right format." If a photo is sitting in a PNG, you have already lost most of the file size you could have saved.

When should I use WebP?

Use WebP whenever the browsers you care about support it, which in 2025 is effectively all of them. Support crossed 95% of global traffic years ago, and every current version of Chrome, Firefox, Edge, and Safari renders it.

Google's own measurements put WebP lossy files 25 to 34% smaller than comparable JPEG at equivalent visual quality, and WebP lossless around 26% smaller than PNG. Those are before you tune anything. You get that reduction just by changing the container.

The practical rule:

  • Photo that would have been JPEG, use WebP lossy instead.
  • Graphic that would have been PNG, use WebP lossless instead.
  • Only fall back to JPEG or PNG when you need to serve a browser or tool that genuinely cannot read WebP, which is rare now.

One honest caveat, since I test this on you too and this page is serving WebP right now: keep a JPEG or PNG fallback in your pipeline for the odd email client or old CMS that chokes on WebP. The <picture> element handles that automatically, so support gaps cost you nothing.

PNG vs JPG vs WebP: the comparison table

Here is the short version you can pin above your export dialog.

Factor PNG JPEG WebP
Compression type Lossless Lossy Lossy and lossless
Best for Logos, icons, flat graphics, transparency Photographs Almost everything
Transparency (alpha) Yes No Yes
Animation No No Yes
Typical size vs JPEG (photo) 5-10x larger Baseline 25-34% smaller
Typical size vs PNG (graphic) Baseline Not suitable ~26% smaller
Browser support 2025 Universal Universal ~95%+

Read it as a routing table. Photo goes down the JPEG or WebP path. Flat graphic goes down the PNG or WebP path. WebP shows up in both columns, which is exactly why it is the safe default.

Does format choice really cut file size before compression?

Yes, and it is usually the biggest single cut you will make. Compression quality settings move file size along a curve. Format choice moves you to a different curve entirely.

Take a real example. A 1200x800 marketing photo:

  • PNG-24 export: about 1.9MB
  • JPEG at quality 85: about 260KB
  • WebP at quality 82: about 180KB

Going from PNG to WebP there is a 90% reduction, and I have not touched a slider beyond picking a sane default quality. Now compare that to tightening JPEG from quality 85 to quality 70: you might save another 40 to 60KB. Real, but small next to the format decision that came before it (see WebP vs AVIF at equal SSIM: a 100-photo compression benchmark).

This is why the order matters. web.dev's image guidance frames the same point: choose the format that fits the content first, then optimize within it. Do it the other way around and you are polishing a file that should never have existed in that format.

For the funnel, the math is direct. Every extra second of load time is measured at roughly a 4% hit to conversion in study after study. A hero image that drops from 1.9MB to 180KB is not a cosmetic win. It is the difference between the page being ready when the visitor's attention is, and the visitor leaving before your headline finishes painting.

How does Pixel Wand pick the format for you?

It inspects the image and routes it automatically, so you do not have to remember the table above. Pixel Wand looks at whether the image is photographic or flat, whether it carries transparency, and what the target browsers support, then converts to the format that gives the smallest file at the quality you set. You upload a PNG photo, it hands back a WebP. You upload a logo with transparency, it keeps the alpha and still shrinks it (see Pixel Wand).

That removes the most common failure point, which is a person exporting everything as one format out of habit and never questioning it. You can see the whole tool and try a conversion at https://photo-atlas.com. The point is to make the right format the default outcome instead of a decision you have to get right by hand on every single image.


FAQ

Is WebP always smaller than JPEG?

Almost always at the same visual quality, by roughly 25 to 34% for photographs. The rare exception is a very small or already heavily compressed image where the difference is negligible. For any real hero or product photo, WebP wins on size.

Should I ever still use PNG?

Yes, for flat graphics that need crisp edges or transparency and where you want lossless quality: logos, icons, line art, UI elements. For those, PNG or WebP lossless are both fine. Just never put a photograph in a PNG.

What format is best for photos on a website?

WebP lossy, with a JPEG fallback for the small share of clients that cannot read WebP. WebP gives you the smallest file at a given quality, and the <picture> element serves the JPEG only when needed, so you get the size win without breaking anyone.

Does converting format lose quality?

Converting a photo to JPEG or WebP lossy discards some data, but at quality settings around 80 to 85 the loss is invisible to the eye while the file shrinks dramatically. Converting a flat graphic to WebP lossless or PNG loses nothing at all.

Pull up your three heaviest images right now, check the format on each, and re-route any photo sitting in a PNG. That one pass will usually cut more weight than a week of tweaking compression sliders.


Find any asset in seconds. Photo Atlas is digital asset management for creative and brand teams, with early-access founder pricing for the first users. Get early access

Maya Chen

Conversion + growth

An optimizer that dreams in funnels and cannot stop running the test. Writes about conversion, checkout and form design, and the exact moment a visitor leaves.

Try Photo Atlas Free

Optimize images with SSIM-based compression. 10 free conversions per day, no credit card required.