# Free Online JPG to WebP Converter

> Convert JPG and PNG to WebP, lossy or lossless, in your browser. A WASM encoder does the work, so it produces WebP in Safari too. Free online.

Canonical: https://stayslocal.app/image/convert-image-to-webp
Last updated: 2026-08-16

WebP is the easiest page-weight win still available: the same picture, typically a quarter to a third smaller than the JPEG, supported by every browser in use. Conversion happens here in the tab, so a folder of client photographs does not have to be handed to a website to be modernised.

## VP8 for lossy, VP8L for lossless, in a RIFF container

A WebP file is a RIFF container holding either a VP8 keyframe — the same intra-frame coding as the video codec, with better prediction than JPEG's DCT-only approach — or a VP8L bitstream, which is a genuinely lossless coder with its own colour transforms and entropy coding. Lossy WebP runs roughly 25–35% smaller than JPEG at matched quality; lossless WebP roughly 26% smaller than PNG. Alpha is supported in both modes, which is the part JPEG has never had.

Fields:
- Lossy mode: VP8 intra coding with a 0–100 quality scale. The right choice for photographs; 75–85 covers almost everything.
- Lossless mode: VP8L. Byte-exact pixels, and the better choice for screenshots, logos and flat-colour graphics that a lossy coder would smear.
- Alpha channel: Preserved in both modes. A transparent PNG becomes a transparent WebP, usually at a fraction of the size.
- WASM encoder: Encoding runs through @jsquash/webp on every browser, because Safari still cannot produce WebP from canvas.toBlob in 2026.
- Metadata: EXIF and ICC live in optional RIFF chunks. Re-encoding here drops them, so a converted photo loses its GPS tags as a side effect.

## How to convert JPG to WebP online

1. Drop in a JPG or PNG — The source is decoded in the page; the file on disk is left alone.
2. Pick lossy or lossless — Lossy for photographs, lossless for anything with flat colour, sharp edges or text.
3. Compare the sizes and download — The before and after are shown side by side so the trade is visible.

## Where WebP is worth the conversion

- Cutting image weight on a page that a Lighthouse audit is complaining about.
- Replacing large transparent PNGs with lossless WebP at a fraction of the size.
- Preparing assets for an app or site where every kilobyte over the wire is billed.
- Getting a photo set under a CMS upload limit without dropping visible quality.

## Questions

**Can it convert animated GIFs to animated WebP?**

No. This handles single still frames only. Animated WebP is a different container arrangement with frame timing and disposal methods, and encoding it properly needs a different pipeline than the one behind this tool.

**Does Safari support WebP now?**

It decodes WebP fine, since Safari 14. It still cannot encode it — canvas.toBlob('image/webp') does not work there — which is exactly why the encoding here is done by a WebAssembly codec rather than by the browser.

**Is the image uploaded to convert it?**

No. Decoding and encoding both happen in this browser tab, so the photograph and everything recorded about it stay on your device.

**Should I use lossy or lossless?**

Lossy for photographs, where the artefacts hide in the texture. Lossless for screenshots, diagrams, logos and anything containing text — lossy coding puts visible ringing around hard edges, and the lossless file is often smaller for that kind of image anyway.

## Related

- [WebP to JPG or PNG](https://stayslocal.app/image/convert-webp-to-jpg-png): Convert WebP for tools that refuse it
- [Image Compressor](https://stayslocal.app/image/image-compressor): Shrink a photo without visible loss
- [Image Tools](https://stayslocal.app/image): every tool in this family
