When a client says "the site feels slow", I almost always open the Network tab first, and nine times out of ten the story is the same: a handful of huge JPGs and PNGs making up most of the page weight. Fixing that doesn't take a rebuild or a new hosting plan. Converting images to WebP, at the right size, is one of the quickest wins there is.
What WebP gives you
WebP is an image format built for the web. It can store photos with lossy compression like JPG, or graphics with lossless compression like PNG, and it supports transparency in both modes. In practice, a WebP is often noticeably smaller than the JPG or PNG it replaces at a similar level of quality. How much smaller depends on the picture, so I never promise a number to a client. I measure it.
Is it safe to use?
All of the current major browsers display WebP, so for a normal public website you can use it without worrying. The places I still reach for JPG or PNG are the ones outside the browser: email newsletters, and the image used for social sharing previews (the og:image), since some platforms and mail clients handle WebP less reliably.
My routine
- Resize first. A WebP that's still 4000 pixels wide is still too big. I make the image the size it'll actually be displayed, or up to about twice that for sharp results on high-density screens. The Image Resizer & Cropper does this, and the Bulk Image Resizer handles a whole folder.
- Convert. For a quick conversion, the Image Converter switches PNG, JPG and other formats to WebP. If I want control over the quality, I use the Image Resizer & Cropper instead, choose WebP as the format and set the quality slider myself. Around 80 to 85 percent is where most photos still look the same as the original.
- Compare. I look at the result at 100 percent zoom next to the original. If I can't see a difference, the file is done.
- Name and place it sensibly, like hero-home-1600.webp, so I can find it in six months.
Add a fallback if you need one
If you have to support very old browsers, the picture element lets you offer WebP first and fall back to a JPG:
<picture>
<source srcset="/images/team-800.webp" type="image/webp">
<img src="/images/team-800.jpg" width="800" height="533"
alt="The team at work" loading="lazy">
</picture>Mistakes I try to avoid
- Converting a JPG that has already been compressed hard. You're compressing twice. If I can, I convert from the original.
- Forgetting transparency. A PNG logo converted to WebP keeps its transparent background, but the same logo saved as JPG gets a white box.
- Skipping the measurement. If a particular image doesn't get smaller as WebP, I keep whichever file is lighter.
Measure the difference
Before and after, I run the page through Lighthouse in Chrome (or PageSpeed Insights) and check the Network tab filtered to images. Total transferred size and the Largest Contentful Paint time are the two numbers I compare. If you have real before and after figures from your own project, they make the best proof.
Keep your original, full-size files somewhere safe, outside the website folder. Optimized copies are for publishing. You can always re-export from the original, but you can't get lost detail back.
If you want the plain comparison of the formats, our guide to PNG, JPG and WebP covers it.
