How to Convert Images to WebP

To convert an image to WebP, re-encode it with a WebP encoder at a quality setting you choose. The free Image Converter does it in your browser: drop in JPG, PNG, WebP, or AVIF files, leave Output format on WebP (the default), set Quality (default 85%), and click Convert images. Several files download together as one ZIP, and nothing is uploaded.
Try it now
WebP Converter
Loading tool…
How to convert images to WebP with Toolstik
- Open the Image Converter and drop files onto Drop images to convert. It accepts JPG, PNG, WebP, AVIF, up to 25 MB each. AVIF only works if your browser can decode it.
- Under Output format, keep WebP selected. The other choices are JPG and PNG.
- Set the Quality slider (10-100%, default 85%). It's disabled for PNG output because PNG is lossless.
- Click Convert images.
- Click Download for one file or Download ZIP for several (
converted-images.zip). Click Reset to start over.
Files keep their base name and get the new extension, so hero.png becomes hero.webp. Dimensions don't change. To change size too, see the resizing step below.
Worked example: a landing page hero
You have hero-banner.png, a 2400×1200 photo that a designer exported as PNG. PNG is lossless, so photos saved that way are usually much larger than they need to be.
- Drop
hero-banner.pnginto the converter. - Keep WebP and set Quality to 80%.
- Convert and download
hero-banner.webp. It's still 2400×1200. - Compare the two file sizes in your file manager. Then open both side by side at 100% zoom and check edges and gradients.
If the page only displays the banner at 1600 px wide, resize it first with the Image Resizer (2400×1200 at width 1600 becomes 1600×800). Note that the resizer saves JPG or PNG, so run the converter after resizing.
What quality to use
Treat these as starting points and judge by eye:
- 75-85% for most photos on websites. The default of 85% is a cautious starting point.
- 85-95% for images with fine text, sharp UI edges, or smooth gradients that tend to show banding.
- Below 70% only for thumbnails or previews where small size matters more than detail.
Google's WebP documentation reports that WebP files are typically smaller than comparable JPEG and PNG files. Your results will vary with the image content and the setting you pick, so measure your own files instead of assuming a fixed saving.
Troubleshooting
Transparent areas turned white. For WebP and JPG output, the converter paints a white background before drawing your image, so transparency is flattened. For logos and icons that need a transparent background, choose PNG output or use an encoder that supports transparent WebP, such as Squoosh.
I chose WebP but got a .jpg. Your browser couldn't encode WebP, so the tool fell back to JPG. Always check the downloaded file's extension. Switching to Chrome, Edge, or Firefox usually fixes it.
The WebP is bigger than my JPG. This happens with JPGs that were already compressed hard, or when the quality is set high. Lower the quality a few points, or keep the JPG. Converting a lossy file into another lossy format adds a second round of loss, so convert from the best original you have.
My AVIF file won't load. Your browser can't decode AVIF. Check support on caniuse.com or try an up-to-date Chrome, Firefox, or Safari.
My iPhone HEIC photo was rejected. The converter doesn't read HEIC. Convert it with HEIC to JPG first, then convert that JPG to WebP.
A file vanished from the list when I dropped it. It was over 25 MB or not a supported format.
Should you convert at all?
WebP is a good default for images on your own website, and current versions of major browsers display it (caniuse.com/webp). It's a worse choice for email attachments, print shops, and some older desktop software, where JPG is still the safe format. If you're weighing the two, our WebP vs JPEG comparison walks through the decision. For PNG and AVIF as well, see JPG vs PNG vs WebP vs AVIF.
After converting, you can still run WebP files through the Image Compressor. It keeps WebP output where your browser supports it and won't return a file bigger than the one you gave it.
Other ways to make WebP files
- Squoosh (squoosh.app) has a side-by-side preview, lossless WebP, transparency, and AVIF output. It's best for tuning a few important images.
- Google's cwebp command-line tool, available from the WebP developer site, suits developers converting thousands of files in a build script.
- Your CMS or CDN. Many platforms generate WebP automatically from uploaded JPGs. If yours does, upload high-quality JPGs and let it handle conversion.
Privacy
Decoding and encoding happen in your browser's canvas. Files never leave your device. For the complete toolkit and suggested workflows, see the best free image tools.
Frequently asked questions
Tools in this guide
WebP Converter
Convert images to WebP, JPG, or PNG with quality control — including AVIF input when supported.
Image Compressor
Compress JPG, PNG, and WebP images in your browser. Batch processing supported.
Image Resizer
Resize JPG, PNG, and WebP images to custom width and height in your browser.
Keep reading
- ImagesWebP vs JPEG - Quality, Size, and Browser SupportWebP vs JPEG: compare file size, quality, transparency, and compatibility to decide which format to use for your website, email, or clients.
- ImagesJPG vs PNG vs WebP vs AVIF - Which Image Format Is Best?JPG vs PNG vs WebP vs AVIF compared: transparency, animation, browser support, and best uses, so you can pick the right image format for every job.
- ImagesBest Free Image Tools Online - Compress, Resize, Convert & HEICThe best free image tools online: compress, resize, convert to WebP, and turn HEIC into JPG in your browser, with no uploads, sign-ups, or watermarks.