WebP is the image format you keep running into: pictures saved from websites end up as .webp, and some apps refuse to open them. It was created by Google to make web pages lighter, and for that job it is very good. For sending images to people and programs it is still less convenient than JPG and PNG. Here is what it does, with numbers, and when to convert.
How much smaller it is
WebP can work two ways: lossy, like JPG, and lossless, like PNG. It also handles transparency and animation. We saved the same three images in each format with our converters (JPG at quality 90, WebP at quality 80):
| Image | WebP | JPG | PNG |
|---|---|---|---|
| Photo, 512 × 512 | 34 KB | 70 KB | 417 KB |
| Screenshot, 1280 × 800 | 58 KB | 130 KB | 60 KB |
| Logo with transparent background | 3.6 KB | 16 KB, no transparency | 3.3 KB |
For photos, WebP was half the size of the JPG. Google's own study found lossy WebP files 25 to 34% smaller than JPGs of the same quality; our gap is bigger partly because the JPG was saved at a higher quality setting. For screenshots and flat graphics the advantage over PNG is small, and lossy WebP slightly softens text, so PNG is often just as good there.
Where WebP works, and where it doesn't
- Browsers: every current browser shows WebP, including Safari since 2020.
- Your own website: the best use. Smaller images load faster, which helps visitors on slow connections and counts towards page speed.
- Everything else: plenty of upload forms, office programs, older photo editors and print services still expect JPG or PNG. If you are sending an image to someone else, JPG or PNG is the safer choice.
Converting from WebP
- WebP to JPG for photos you need to upload or send: WebP to JPG saves at quality 90. A transparent background becomes white, because JPG has no transparency.
- WebP to PNG for graphics and anything with transparency: WebP to PNG keeps every pixel and the clear background, at the cost of a bigger file.
- Animated WebP to GIF for chats and forums that only take GIF: WebP to GIF keeps every frame and its timing, but GIF's 256-color limit and weaker compression make the file larger; a 42 KB sticker became 121 KB in our test.
Converting to WebP
For your own website, Compress Image turns PNGs into WebP automatically and lets you choose WebP for photos (except in Safari, which cannot save WebP); in our test a 38 KB logo became 12 KB. The converters, such as PNG to WebP and JPG to WebP, work too. Keep the original JPG or PNG: each time a lossy file is converted to another lossy format, a little more detail goes.
What about AVIF?
AVIF is a newer format that is often smaller still than WebP, and current browsers support it. It is slower to create, and support outside browsers is thinner than WebP's. Our converters do not create AVIF; for most sites, WebP with a JPG or PNG fallback remains the practical choice.
