HandyBench

WebP Converter

Convert images to lightweight WebP.

How to use the WebP Converter

  1. 1 Select a PNG or JPG image.
  2. 2 Choose the WebP quality.
  3. 3 Download the smaller WebP file.

How the WebP encoder is chosen

WebP was released by Google in 2010 and has two internal modes. The lossy mode borrows intra-frame prediction from the VP8 video codec. The lossless mode (called VP8L) is a separate algorithm that predicts pixels and applies colour transforms. A lossy WebP can still carry transparency, stored as a separate alpha plane. This converter decodes your PNG or JPG with the browser, paints it on a same-size canvas, and calls the canvas encoder with the type image/webp and your slider value. That slider runs from 10% to 100% and starts at 90%.

The page does not let you pick lossless WebP. The browser's canvas encoder decides the mode, and in practice a quality value below 100% yields a lossy file. Moving the slider triggers a new conversion and updates the size on the download button.

Worked example

Take a 1600×900 PNG hero image of 1.1 MB with a soft gradient and a transparent rounded corner. At 90% the WebP will usually be a few hundred KB and keep the transparent corner, where a JPG would have needed a white fill. Drop to 75% and it often falls to under 200 KB, but banding in the gradient is the first thing to appear, so look at the preview before downloading. The saving is not guaranteed: a tiny 120×120 icon can come out larger than its PNG, because WebP's headers and prediction do little for a handful of flat-colour pixels.

Format comparison

JPGPNGWebP
TransparencyNoYesYes, even when lossy
AnimationNoNo (APNG is separate)Yes, in the format itself
Lossless modeNoAlwaysOptional
Safari supportAlwaysAlwaysDisplay since Safari 14 (2020)

Limits and gotchas

  • Your browser must be able to encode WebP. Chrome, Edge and Firefox can. Safari has historically been unable to export WebP from a canvas, in which case the canvas API hands back a PNG instead. The tool checks what the browser actually produced: if it is not a WebP, the download is named .png and a notice above the button says so, rather than saving a PNG under a .webp name. Try another browser if you need a real WebP.
  • Animated input becomes a still. A GIF or animated WebP is drawn as its first frame only, so the output has no animation.
  • Metadata is dropped. EXIF, ICC profiles and thumbnails are not copied through the canvas.
  • Old software may reject the file. Some email clients, print shops and CMS uploaders still refuse WebP. If a form refuses it, convert it back with WebP to JPG or WebP to PNG.
  • Converting an already-compressed JPG adds a second lossy step. If you still have the original, convert that.

For the full picture on choosing formats and sizes for page speed, read How to Compress and Convert Images for the Web.

Examples

  • ▸ A 1.1 MB PNG hero image with a transparent corner converted at 90% to a WebP of a few hundred KB that keeps the transparency.
  • ▸ A 2 MB JPG photo converted at 80% for a faster-loading blog post.
  • ▸ A tiny 120 by 120 icon where the WebP may come out no smaller than the PNG.

Frequently asked questions

Why use WebP?

Google reports WebP files are often 25 to 35% smaller than JPG or PNG at comparable visual quality, which helps page speed and Core Web Vitals. The saving varies by image, so compare the size shown on the download button.

Does WebP support transparency?

Yes. Unlike JPG, WebP keeps an alpha channel even in lossy mode, so a transparent PNG converts without a background being filled in.

Is WebP supported everywhere?

All current major browsers display WebP, with Safari joining in version 14 in 2020. Some older email clients, print services and CMS uploaders still reject it, so keep a JPG or PNG copy for those.

Why did my download not look like a WebP?

This page uses the browser canvas encoder, and some browsers (Safari has historically been one) cannot export WebP from a canvas and return a PNG instead. The tool detects that: the download is named .png and a notice appears above the button. For a real WebP, try Chrome, Edge or Firefox.

Does an animated GIF stay animated?

No. Only the first frame is drawn on the canvas, so the WebP is a still image. Animated output is not supported here.

Are my images uploaded?

No. Your PNG or JPG is decoded and re-encoded locally by the browser, so nothing leaves your device.

Related guides