OnlineTextLab
Esc

JPG to WebP Converter

A smaller web-ready copy of your photos, with live size figures and a before and after view.

Drop your JPG images here

Or paste it with Ctrl V

or drop them here, or paste from the clipboard

A lighter copy of your photo for the web. Needs Chrome, Edge or Firefox.

Runs on your device. Your files and text are not uploaded.

About JPG to WebP

Images are usually the heaviest part of a web page, and photos are usually the heaviest images. WebP tends to store a photo in less space than JPG at a similar visual quality, which translates directly into faster loading, particularly on mobile data.

This tool is for people publishing photos: bloggers, store owners, and developers with a folder of hero images. It also strips camera metadata, which is a privacy bonus, and bakes in rotation so your pictures still face the right way.

Bear in mind that this is a second round of lossy compression. It's a publishing step, so keep your original JPG as your master.

How it works

The browser decodes the JPG, applies any EXIF rotation, and draws the upright picture to a canvas. Its WebP encoder then writes the output, at 82 by default. In our test with an orientation flag of 6, an 80 by 40 JPG came out as a 40 by 80 WebP, with no EXIF block inside.

A WebP can come out larger than its source if the JPG was already heavily compressed. The tool reports that plainly, instead of hiding it.

How to use JPG to WebP

  1. Open this page in Chrome, Edge or Firefox, then press Select JPG images or drop your photos.
  2. Drag Quality. The figures show the real size of the WebP at that setting.
  3. Pull the Compare slider across the preview, and use 100% zoom on faces and fine texture.
  4. Press Download WebP, or Download all as ZIP for a batch.

A real run

We started with a 1600 × 1067 JPG saved at high quality, 698.4 KB in all. At the default setting of 82, the WebP came out at 257.7 KB, 63% smaller.

When it helps

  • Lightening a blog's photo library when an audit flags images as too heavy.
  • Preparing the main image on a landing page, where load time affects conversions.
  • Sharing vacation photos online without the GPS position stored in the file.
  • Producing the WebP half of a picture element, with the JPG kept as the fallback.

Tips for a better result

  • Compress from the best copy you have. Converting an already heavily compressed JPG stacks artifacts and saves little.
  • Use the HTML <picture> element if you must also serve older software, with JPG as the fallback source.
  • Check skin tones and skies at 100% zoom, since those show compression first.

Good to know

  • Safari can't produce WebP through its canvas, so this page shows an error there.
  • All EXIF data is removed, including capture date and copyright fields. Don't use this if you need to retain them.
  • Every round of lossy compression loses some detail, so converting back to JPG later would lose more.

Questions people ask

How much smaller will my photos get?

It depends on the photo and on how compressed the JPG already is. A high-quality JPG can drop by a lot, while an already tiny JPG can barely change. Load one and read the Change figure, which is measured from the real output.

Do all browsers show WebP now?

All current versions of Chrome, Edge, Firefox and Safari display WebP. The exceptions are outdated browsers and some desktop or email software.

Does this keep the location data from my phone photo?

No. The output contains pixels only, and all EXIF fields, including GPS, are left behind. Our test confirms that no EXIF block appears in the WebP.

Will converting hurt the quality?

Slightly, since WebP is lossy here and the JPG was too. At the default setting most people can't see a difference at normal size, and the Compare slider lets you judge for yourself.

What to use next

Learn more

Last reviewed . Read our editorial policy.