Pixsqueeze

Convert any image to WebP

To convert an image to WebP, drop it onto this page and choose WebP as the output. The conversion runs inside your browser, so nothing is uploaded. Expect roughly 25-35% smaller files than JPEG and 60-80% smaller than photographic PNG, with transparency and EXIF preserved.

WebP is the safe default for the web in a way no other modern format is yet: every current browser supports it, it handles both photographs and flat graphics well, it keeps an alpha channel, and it encodes fast enough that converting a folder of camera images is a matter of seconds rather than minutes. If you are picking one format to standardise on and you do not want to think about it again, this is the one.

What you gain, by source format

From JPEG
25-35% smaller at matched visual quality, with cleaner edges and none of the blocky mosquito noise JPEG leaves around text.
From PNG
60-80% smaller for photographic PNGs; transparency survives, and lossless WebP still beats PNG by 20-30% when you need pixel-exactness.
From AVIF
Larger files, but far faster to decode and supported by older browsers — the conversion to make when compatibility matters more than bytes.
From GIF
Much smaller for the first frame, with real 8-bit alpha instead of GIF's single transparent colour and its 256-colour ceiling.
From BMP
Enormous savings — BMP is essentially uncompressed, so almost any encoder wins by an order of magnitude.

What to know

  • Every current browser supports WebP, including Safari since version 14. It is the modern format with the fewest compatibility caveats.
  • Quality 82 is the default here because it is where WebP stops being visibly distinguishable from the source for most photographs.
  • Near-lossless mode is worth knowing about: it preprocesses the image so lossy encoding comes out visually exact, at a fraction of true lossless size. Pillow does not expose this, so the command line tool cannot do it.
  • Animated GIFs convert as their first frame only. Animation is not carried across.

Frequently asked questions

How do I convert an image to WebP without uploading it?
Use a converter that runs in the browser rather than on a server. This page loads WebAssembly builds of libwebp — the same encoder behind the command line tools — and runs them on your own machine. Your files are never transmitted. You can verify that by watching the network tab, or by going offline after the page loads and converting anyway.
Which formats can be converted to WebP?
JPEG, PNG, AVIF, GIF and BMP. Mixed folders are fine — drop them all in at once and everything comes back as WebP, whatever it started as.
Does converting to WebP lose EXIF data?
Not here. EXIF, ICC colour profiles and XMP are copied into the WebP container byte for byte, including maker notes and vendor tags that most converters discard. The EXIF orientation is baked into the pixels and the tag reset, so the image cannot end up sideways. You can switch preservation off if you would rather strip metadata before publishing.
Is WebP better than AVIF?
Neither is strictly better. AVIF produces smaller files — typically 20-30% below WebP at matched quality — but encodes far more slowly and needs Safari 16 or later. WebP is faster, universally supported, and still a large win over JPEG and PNG. For most websites WebP is the pragmatic choice and AVIF is the optimisation.

Convert a specific format to WebP

Related conversions