By Arkay · Updated
How do you use the JPG and PNG to WebP converter?

Add your JPG or PNG files, choose WebP as the output and download the results. The steps below cover each control and what its result shows.
- Drop, browse for or paste one or many JPG and PNG files.
- Choose WebP as the output format. The converter also offers JPG and PNG.
- Set the quality. It is 90% by default and applies to JPG and WebP output; PNG is lossless.
- Check each result's new size and the change in file size.
- Download each file, or all of them in one ZIP file.
SVG inputs also need a size, which you set before you convert them.
How does the converter work?
The browser draws each image onto a canvas and saves it as WebP with canvas.toBlob, one file at a time, on your device. Images are drawn at full size, and only very large ones are scaled down to at most 16,384 px on the long side, the canvas limit in most browsers. Metadata such as EXIF and location is not copied to the new file, so keep the original if you need that data.
Why use WebP on a website, and how much smaller is it?
Google measured lossy WebP at 25-34% smaller than comparable JPEG images at equivalent SSIM quality, and lossless WebP at 26% smaller than PNG. Both figures come from Google's WebP overview.
The JPEG range comes from Google's comparative study. The study made JPEG and WebP images at comparable SSIM values from PNG source images, then compared their file sizes. It used version 0.1.2 of the WebP library, an early version of the encoder, so the figures are a guide rather than a promise for your own images.
web.dev's guide to WebP images puts the usual saving at 25-35% smaller than JPEG and PNG counterparts.
Size matters most when it affects Largest Contentful Paint (LCP). LCP reports the render time of the largest image, text block or video visible in the viewport, and sites should aim for 2.5 seconds or less. If an image is the LCP element on your slowest pages, a smaller file is a sensible first step.
Be realistic about the gain. web.dev's LCP guide says load duration tends not to be a significant bottleneck for most sites. Measure each page before and after you convert, and do not expect a large speed gain from smaller files alone.
Do all browsers support WebP?
Nearly all of them. WebP is natively supported in Google Chrome, Safari, Firefox, Edge and Opera. Safari supports it from Safari 14 (iOS 14 and macOS Big Sur), Firefox from version 65 and Microsoft Edge from version 18, according to Google's WebP FAQ.
Can I use reports that 97.32% of global browser usage supports WebP, which is 97.24% full support plus 0.08% partial support, based on StatCounter data for October 2026. The remaining share needs a fallback, which the next section covers.
How do you serve WebP with a fallback?

Use a picture element with a WebP source and a JPG img as the fallback. web.dev's guide to WebP images says the browser uses the first listed source in a format it supports. MDN's picture reference describes how it skips any source whose type it does not support, and how it falls back to the src of the img element when no source matches.
<picture>
<source srcset="photo.webp" type="image/webp" />
<img src="photo.jpg" alt="photo" />
</picture>
In that example, photo.webp and photo.jpg are placeholder names. Keep the img in a universally supported format such as JPEG, so it works as the fallback. Browsers that skip the WebP source load the JPG instead, so older visitors still see the picture.
Platforms matter too. From WordPress 5.8, you can upload and use WebP images, as long as your host supports WebP. Without host support, the upload shows an error.
Cloudflare Polish can optionally serve PNG and JPEG images from your origin server as WebP to browsers that support it. It sends the WebP version only when the browser's Accept header includes WebP, according to Cloudflare's compression notes.
What quality should you choose for photos and graphics?
Start with the default of 90% for photos. Convert a sample, compare it with the original at full size, and lower the setting only while the difference is acceptable to you. A smaller file alone does not show whether the quality holds.
Logos, screenshots and flat graphics need more care. Google's 26% figure applies to lossless WebP against PNG, but this converter's quality setting applies to lossy WebP. So compare a high setting with the original, and check text and thin lines closely, since lossy compression can soften them.
Does WebP keep PNG transparency?
Yes. WebP keeps PNG transparency, and this converter's WebP output keeps it too. JPG cannot store transparency, so transparent areas are filled with the background color you choose.
Transparency has a cost. Google says lossless WebP supports it at a cost of about 22% additional bytes. Lossy WebP also supports transparency and typically gives files about 3 times smaller than PNG, according to the WebP overview. The 3-times figure applies where lossy compression is acceptable, so use the quality setting to judge that for your image.
This converter's WebP output follows the quality setting, so it is lossy WebP. Before you publish, view the result on a dark and a light background to check the edges of transparent areas.
How do you convert a whole site's images in bulk?
Add many images at once and download them as one ZIP file. This converter runs in your browser, so the batch is not sent to a server.
- Add all the images in one batch, choose WebP and set the quality.
- Review the new size and the change in file size for each image.
- Download the ZIP file and test a few converted images on a page.
- Replace the originals, and update any links where the extension changed from .jpg or .png to .webp.
WebP vs AVIF: which should you use?
AVIF usually compresses better, but browsers have supported WebP for longer. MDN's guide to image types says AVIF generally has better compression than WebP, and that lossy AVIF images are around 50% smaller than JPEG images.
| WebP | AVIF | |
|---|---|---|
| Size against JPEG | 25-34% smaller (Google's study) | Around 50% smaller (MDN) |
| Firefox | From version 65 | From version 93 |
| Edge | From version 18 | From version 121 |
| Safari | From Safari 14 | From Safari 16.1 |
| WordPress | From 5.8, if the host supports WebP | From 6.5, if the host supports AVIF |
Pick WebP when reach matters most, because it works in older browsers and WordPress versions. Pick AVIF when you want the smallest files and your host supports it. If your host does not support AVIF, WebP is the format to use.
A picture element can list AVIF first, then WebP, then JPG, and the browser uses the first format it supports. MDN's guide to image types advises a WebP, JPEG or PNG fallback when you use AVIF, through the picture element or another approach.
When should you not use WebP?
Avoid WebP in email. Can I email lists Gmail's WebP support as partial, because Gmail converts the file to JPG. That test was last run on February 6, 2021, so check it again before you rely on it.
Keep the original JPG or PNG wherever WebP is not accepted. Keep it too when you need EXIF or location data, because the converter does not copy metadata to the new file. Check any app or service that reads your files, and test one converted file in it before you convert a batch.
More guides in Image Tools.
Related guides
- WebP to PNG Converter: Free, Keeps Transparency (2027)
- WebP to JPG: Free Bulk Converter and Guide (2027)
- Image Converter: JPG, PNG, WebP and HEIC Guide (2027)
- HEIC to JPG Converter: Convert iPhone Photos Free (2027)
- PSD to PNG: Free Converter and PSD Viewer Guide (2027)
- SVG to PNG Converter: Free, Transparent, High-Res (2027)
- JPG to PNG: Lossless Copy, Not a Quality Fix (2027)
Frequently asked questions
- Is WebP better than JPG?
- For website images, usually yes on size. Google measured lossy WebP at 25-34% smaller than comparable JPEG images at equivalent SSIM quality. Keep JPG where WebP is not accepted, such as email.
- How do I convert JPG or PNG to WebP for free?
- Use the converter on this page. Add one or many files, choose WebP, then download each result or all of them in one ZIP file.
Sources
- Google says WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent (developers.google.com)
- Google's comparative study generated JPEG and WebP images at comparable SSIM values from P (developers.google.com)
- web.dev says WebP images are usually 25-35% smaller than their JPEG and PNG counterparts. (web.dev)
- Largest Contentful Paint (LCP) reports the render time of the largest image, text block or (web.dev)
- web.dev lists reducing the size of the resource and using modern image formats as ways to (web.dev)
- Safari supports WebP from Safari 14 (iOS 14 and macOS Big Sur), Firefox from version 65 an (developers.google.com)
- Can I use reports that 97.32% of global browser usage supports WebP (97.24% full plus 0.08 (caniuse.com)
- In a <picture> element, a <source> whose type the browser does not support is skipped, and (developer.mozilla.org)
- From WordPress 5.8, you can upload and use WebP images, as long as your hosting service su (make.wordpress.org)
- Cloudflare Polish can optionally serve PNG and JPEG images from the origin as WebP to brow (developers.cloudflare.com)
- Cloudflare serves the WebP version only when the browser's Accept header includes WebP. (developers.cloudflare.com)
- MDN says AVIF generally has better compression than WebP, and that lossy AVIF images are a (developer.mozilla.org)
- Can I email lists Gmail's WebP support as partial because it converts the file to JPG; the (www.caniemail.com)