Image to WebP

Convert PNG to WebP, or JPG and GIF to WebP, with a quality slider from 10% to 100%. The image is re-encoded on a canvas in your browser and downloads as a .webp file.

Updated
Loading tool…

Convert JPG/PNG to WebP.

How to use Image to WebP

  1. Upload a PNG, JPG, GIF, or BMP image
  2. Adjust the quality slider and watch the size savings
  3. Download the optimized .webp file
Try next →PNG to JPGConvert PNG images to JPG.

About Image to WebP

Image to WebP turns a PNG, JPG, GIF, BMP, SVG or even an existing WebP into a WebP file entirely inside your browser. It decodes the picture with the browser's own image decoder, draws it onto an off-screen canvas at its exact width and height, and re-encodes it as WebP at whatever quality you pick. The slider runs from 10% to 100% in 5% steps and starts at 80%; each time you nudge it the image is re-encoded and the panel refreshes the original size, the new size, the percentage saved and the pixel dimensions, so you can settle on the smallest file that still looks right. Download hands you a .webp named after the original.

The usual reason people convert an image to WebP is page weight. A 2.4 MB camera JPEG often drops to 300–400 KB at 80% with no visible change, which is why it is handy for prepping product shots for a Shopify or WordPress theme. Transparency survives the trip, so a PNG logo on a transparent background comes out as a transparent WebP rather than one filled with white.

Two things to know. An animated GIF is flattened to its first frame, since a canvas holds one still image. And WebP encoding depends on the browser — Chrome, Edge and Firefox do it natively, while Safari's canvas cannot, so use one of the others here. Camera metadata like EXIF and GPS is dropped, though the photo is rotated upright first so a phone picture never lands sideways. Nothing is uploaded; decoding and encoding both happen in your browser and the file is offered straight back.

Frequently asked questions

How do I convert an image to WebP?
Pick or drop in a PNG, JPG, GIF, BMP or SVG, set the quality slider, then click download to get a .webp. Everything runs in the page, so there is no upload step and no account. The saved file keeps the original name with a .webp extension.
What quality setting should I use?
80% is the default and is right for most photos. Drop to 60 to 70% for thumbnails or background images where size matters more, and use 90% or above for images with fine text or gradients.
Which image formats can I convert to WebP?
PNG, JPG, GIF, BMP, SVG with defined dimensions, and even an existing WebP you want to re-compress — anything the browser can decode goes in. The output is always a WebP, so the input format does not change how the file is saved.
Does it keep transparency?
Yes. WebP supports an alpha channel, so transparent regions in a PNG stay transparent in the converted file rather than being filled with white.
Can this convert a WebP image to JPG?
No — this tool only outputs WebP, so it turns JPG, PNG and other formats into WebP, not the other way round. You can load a WebP, but it comes back out as a WebP. To go from WebP to JPG you need a separate WebP-to-JPG converter.
How do I save a WebP as a JPG or PNG image?
That is the reverse of what this tool does, since it produces WebP rather than reading one out to another format. If you have downloaded a .webp and need a standard image, use a WebP-to-JPG or WebP-to-PNG converter. This page is for shrinking JPGs and PNGs into WebP.
Can I convert a GIF to WebP?
Only as a still image. The canvas captures the first frame, so an animated GIF becomes a static WebP. For an animated WebP, use the Video to WebP tool with a short clip.
Why is the WebP larger than my original?
This happens with small, flat PNGs such as icons, or with JPEGs that were already heavily compressed. The panel shows Larger instead of Smaller when that occurs; lower the quality or keep the original.
Does converting change the image dimensions?
No. The canvas is set to the image's exact pixel width and height, so a 1920 x 1080 PNG produces a 1920 x 1080 WebP. Resize first with the Image Resizer if you also need it smaller.
Which browsers can convert to WebP?
Chrome, Edge, Firefox and other Chromium-based browsers encode WebP in canvas. Safari does not, so results there are unreliable; switch browsers for this tool.
Is WebP always smaller than JPG?
Usually 25 to 35% smaller at similar visual quality for photos, and often far smaller than PNG for graphics. The panel reports the exact saving for your file so you can decide.
Can I convert several images at once?
No. The tool handles one image at a time; drop the next one in after downloading, and the slider keeps the quality you set.
Is EXIF data kept in the WebP?
No. Drawing the image through a canvas discards camera, date and GPS metadata. The picture is rotated correctly first, so a phone photo does not come out sideways.
Are my images uploaded for conversion?
No. Decoding and WebP encoding happen inside your browser's canvas, and the converted file is offered back as a download from memory.