Skip to the tool
OnPageKit

Webp Converter

Batch-convert images to WebP without uploading them.

Compression
80%

Lossless asks the encoder for quality 1.0, which Chrome, Edge and other Chromium browsers encode as true lossless WebP. Other browsers may give a maximum-quality lossy file instead. The canvas also drops EXIF metadata, GPS location included.

Add one or more images to convert them to WebP.

Everything runs in your browser. Nothing you type is sent to a server.

Found a bug in this tool? Report it.

Share this tool

Convert images to WebP in your browser

This webp converter turns PNG, JPG, GIF, AVIF and BMP files into WebP, several at a time, without sending anything to a server. Drop a batch, choose lossy or lossless, and each file is converted in turn with its own size comparison and download button. The work happens on your device, using the image encoder already built into the browser.

How to use it

  1. Drop your images on the box, or click it and select several files.
  2. Choose Lossy for photographs or Lossless for graphics and screenshots.
  3. In lossy mode, adjust the quality slider; every file is re-encoded with the new setting.
  4. Check each row: the percentage tells you whether WebP actually helped for that file.
  5. Download the files you want to keep. The output names keep the original stem.

Convert PNG to WebP, or JPG to WebP?

The two conversions behave differently, and it is worth knowing why. A PNG is lossless, so a PNG screenshot or logo converted to lossless WebP keeps every pixel and typically drops by around a quarter. Converting that same PNG with lossy WebP can shrink it much further, but text and sharp edges may show faint halos — check the result at full size.

A JPG to WebP conversion is lossy to lossy. The JPEG already threw detail away, and a second lossy encoder throws some more away, so aim for a quality close to the original's. For a typical camera JPEG, WebP at 80 lands noticeably smaller with no visible change. Running an existing WebP back through lossy compression is the one case the tool flags: every generation adds loss, so keep the original unless the saving is large.

How lossless works here

The canvas API has no explicit "lossless" switch. What it offers is a quality value between 0 and 1, and Chromium-based browsers — Chrome, Edge, Opera, Brave — treat a WebP request at quality 1.0 as a request for true lossless encoding. That is what the lossless option sends. Other engines may give you a maximum-quality lossy file instead, which is still visually identical but not bit-exact, so use a Chromium browser when exactness matters.

WebP vs AVIF

AVIF is newer and, on photographs, often 20% smaller than WebP at the same visual quality. It is also slower to encode and, crucially for a browser-based tool, not every browser can produce it from a canvas. WebP is universally supported, encodes quickly and has a mature lossless mode that AVIF lacks in practice. For most sites the pragmatic choice is WebP everywhere, with AVIF added through a <picture> element where the extra saving justifies the work. If you want to try AVIF on a single image, the image compressor offers it and tells you when your browser cannot encode it.

Metadata is stripped

Because each output is rebuilt from pixels, EXIF metadata does not carry over. Camera details, timestamps and GPS coordinates are all removed, which is usually what you want for images published on the web. After converting, run your pages through the image alt checker so the new files arrive with proper descriptions.

Frequently asked questions

Should I choose lossy or lossless WebP?

Lossy for photographs, lossless for logos, icons, diagrams and screenshots with text. Lossy WebP at quality 75 to 85 is usually 25 to 35 percent smaller than a JPEG of similar appearance. Lossless WebP reproduces every pixel and still tends to beat PNG by around a quarter, which makes it the natural replacement for PNG graphics.

How do I convert PNG to WebP without losing transparency?

Just convert it: WebP supports an alpha channel in both lossy and lossless modes, and this tool draws the image onto a transparent canvas, so see-through areas stay see-through. For crisp edges around a transparent logo, pick lossless.

Can I convert several images at once?

Yes. Drop as many files as you like; they are converted one after another in your browser, each row shows its own before and after size, and each file has its own download button. Two inputs that would end up with the same name get a numbered suffix so one download never overwrites another.

WebP vs AVIF, which should I use?

AVIF usually compresses photographs further at the same visual quality, but it encodes slowly and not every browser can create it from a canvas. WebP is decoded by every current browser, encodes fast and is the lower-risk default. Many sites serve AVIF with a WebP fallback inside a picture element.

Are my images uploaded to a server?

No. Each file is decoded, drawn and encoded inside this tab using the browser's own canvas. There is no upload, no queue on a server and no copy kept anywhere; closing the tab discards everything.

Related tools

Updated