Image to WebP Converter

Convert JPEG, PNG, GIF or BMP to WebP with a quality slider and see the real size change before you download. Encoding runs in your browser.

The interactive tool loads here when JavaScript runs.

About this tool

What is the Image to WebP Converter?

The Image to WebP Converter re-encodes one image as WebP using your browser's own encoder. Pick a file, set Quality between 10 and 100, click Convert to WebP, and the result appears with its exact byte size and how much smaller (or larger) it is than the original. Download WebP Image saves it with the same base name and a .webp extension.

Transparency survives the conversion, because WebP has an alpha channel. Animation does not: an animated GIF is drawn once, so you get its first frame as a still WebP. Metadata such as EXIF camera data, GPS location and embedded colour profiles is dropped by the canvas re-encode, which is usually what you want for web images and occasionally a problem for photography workflows.

The conversion needs a browser that can encode WebP from a canvas. Chrome, Edge and Firefox can. Safari has historically returned PNG instead, and when that happens the tool tells you rather than handing you a PNG file named .webp.

  • Quality slider from 10 to 100
  • Exact output size and an honest size change, including growth
  • Alpha channel preserved
  • Detects browsers that cannot encode WebP
  • Runs in your browser; nothing is uploaded
Read the guide: JPEG, PNG, WebP, AVIF and JPEG XL: What Each Image Format Is For

Updated

How to use the Image to WebP Converter

  1. Click the upload area or drop an image onto it. The file name, original size and type appear underneath.
  2. Move the Quality slider. Start around 80 for photos; go lower to save bytes, higher for graphics with fine edges.
  3. Click Convert to WebP. The preview, WebP size, size change and quality used appear in the Converted Image panel.
  4. If the result is bigger than the original, or the preview shows artefacts, change Quality and convert again.
  5. Click Download WebP Image. Use the reset button next to Convert to start over with another file.

Worked examples

Reading the size change

Input

photo.jpg, 2,400,000 bytes, Quality 80

Output

photo.webp, 1,560,000 bytes: "35.0% smaller"

The percentage is (original - new) / original. The bytes in this example are illustrative; your result depends entirely on the picture. Busy, noisy photos shrink less than smooth ones.

When WebP comes out bigger

Input

icon.png, 4,000 bytes, flat colours, Quality 90

Output

Change: "x% larger than the original"

A small, well-optimised PNG of flat graphics can beat lossy WebP. The tool reports growth honestly instead of a negative "smaller" figure. Keep the original in that case, or try a lower quality setting.

Background and insight

Google announced WebP in 2010. Its lossy mode reuses the intra-frame coding from the VP8 video codec: the image is split into macroblocks, each block is predicted from its neighbours, and only the difference is transformed and quantised. A lossless mode with its own entropy coder, an alpha channel and animation followed over the next few years. The format was finally written up as an IETF standard, RFC 9649, in 2024. Safari added display support in version 14 (2020), which is when WebP became safe to serve without a fallback.

The quality number is not a percentage of anything measurable. It controls how coarsely the encoder quantises detail, and each encoder maps it differently, so WebP quality 80 is not equivalent to JPEG quality 80. For photos, 75 to 85 is a sensible range. Lossy WebP always stores colour at half resolution (4:2:0 chroma subsampling), which is invisible in photos and very visible as smeared edges on small red or blue text in screenshots.

Converting does not undo past compression. A JPEG that already has blocking artefacts becomes a WebP that faithfully preserves those artefacts, plus a second generation of loss. Convert from the best original you have, not from a file that has already been through a CMS or a chat app.

Common use cases

  • Lighter product photos

    Convert catalogue JPEGs to WebP before uploading them to a site whose CMS does not do it for you.

  • Transparent graphics without PNG weight

    Turn a large transparent PNG illustration into a WebP that keeps its alpha channel at a fraction of the size.

  • Checking whether WebP is worth it

    Convert one representative image at a few quality settings and compare the numbers before changing an image pipeline.

  • Stripping metadata

    Get a copy of a photo without EXIF data or GPS coordinates as a side effect of the re-encode.

Tips and limitations

  • Keep your originals. Every lossy re-encode loses a little more, so always convert from the master file.
  • Screenshots with small coloured text often look worse as lossy WebP than as PNG because of chroma subsampling. Compare the preview at 100% zoom.
  • Animated GIFs come out as a single still frame. This tool does not create animated WebP.
  • WebP images are limited to 16,383 px on each side. Very large panoramas need resizing first.
  • Serve WebP with a <picture> element and a JPEG fallback only if you still support very old browsers; every current browser displays WebP.

Sources and further reading

  1. RFC 9649: WebP Image Format, IETF. The 2024 standard for the WebP container and codecs
  2. Compression Techniques, Google for Developers. How lossy WebP predicts and quantises blocks
  3. New WebKit Features in Safari 14, WebKit. Safari adds WebP support

Frequently asked questions

What quality setting should I use for WebP photos?

Start at 80. Most photos look the same as the original between 75 and 85, and below about 60 you start to see smearing in fine texture such as hair and foliage. Graphics with sharp edges or text usually need a higher setting, or lossless PNG.

Why is my WebP file bigger than the original image?

The original was already efficiently compressed, often a small PNG of flat colours or a heavily compressed JPEG. Re-encoding at a high quality setting can then add bytes. Try a lower quality, or keep the original if it is already small.

Does converting to WebP keep transparency?

Yes. WebP supports an 8-bit alpha channel in both lossy and lossless modes, and the canvas keeps the transparent pixels, so a transparent PNG converts to a transparent WebP.

Why does the WebP converter fail in Safari?

Safari displays WebP but has not offered WebP encoding through canvas.toBlob, so it returns a PNG instead. The tool checks the type it got back and shows an error instead of saving a mislabelled file. Use Chrome, Edge or Firefox for the conversion.

Can I convert an animated GIF to animated WebP here?

No. The image is drawn onto a canvas once, so only the first frame is converted. Animated WebP needs a dedicated tool such as gif2webp from Google's libwebp package.

Is WebP supported in all browsers now?

Every current version of Chrome, Edge, Firefox, Opera and Safari displays WebP. Safari added it in version 14 in 2020. Only old Internet Explorer and long-unpatched Safari versions lack it.

Does the WebP converter remove EXIF and GPS data?

Yes, as a side effect. Drawing the image to a canvas and encoding it again writes only pixels, so camera data, GPS coordinates and embedded colour profiles are not carried over.

Is there an in-depth guide to the Image to WebP Converter?

Yes. “JPEG, PNG, WebP, AVIF and JPEG XL: What Each Image Format Is For” covers the background, how it works, common pitfalls and worked examples. Read the full guide.