JPG to WebP

Convert JPG to WebP in your browser

Click or drop an image hereChoose an image

About JPG to WebP

JPG to WebP re-encodes a .jpg or .jpeg photo as a WebP image. Choose a quality from 1 to 100 (it starts at 80), or check "Lossless", which stores the decoded JPG pixels exactly but makes a larger file. After converting, the page shows the old and the new size in KB, so you can try another quality and compare. On a computer, Chrome, Edge, and Firefox use their own WebP encoder for the lossy mode; Safari and every browser on iPhone and iPad have none, so there libwebp compiled to WebAssembly makes the file, and lossless mode always uses libwebp. One photo per conversion.

How to convert JPG to WebP

  1. 1Open a .jpg or .jpeg photo in the upload area.
  2. 2Move the "Quality" slider, or check "Lossless" for an exact copy of the pixels.
  3. 3Click "Convert" and compare the two sizes shown in KB.
  4. 4Click "Download" to keep the WebP, which takes the photo's name.

Formats and limits

Input format
JPG (.jpg, .jpeg)
Output format
WebP, lossy (quality 1 to 100) or lossless
Largest image
268 MP on a computer, and at most 16,383 px on each side (a limit of WebP)
On iPhone and iPad
The whole photo is encoded by libwebp in memory; 48 MP is the largest photo size confirmed on a real iPhone

Where your file is processed

The photo is not uploaded. It is decoded by your browser and encoded to WebP on this page, by the browser's encoder or by libwebp, a WebAssembly file downloaded from our site the first time it is needed. If an error message is shown, its cleaned text, the tool's name, and your browser's name and version are logged so that we can fix the cause.

Frequently asked questions

Is lossless WebP a good choice for a photo?

No, not for saving space. Lossless keeps the decoded JPG pixels exactly, but the file is larger than a lossy WebP of the same photo. Use it only when the pixels must not change at all.

Why is my photo refused?

It is too long or too large. 16,383 pixels is the widest or tallest a WebP image can be, and a longer photo gets a message asking for JPG, PNG, or AVIF instead; on a computer, a photo over 268 MP is refused as too large for a browser.

Can Safari make a real WebP file?

Yes. Safari cannot encode WebP itself, so the page loads libwebp, the encoder Squoosh uses, as WebAssembly and makes a real WebP file with it, not a PNG renamed.

Tips and tricks

  • ✓If the WebP comes out larger than the JPG, lower "Quality" and convert again; the KB figures show the difference right away.