TheFileTools

How to convert JPG to WebP for a faster website

Shrink JPG photos by converting them to WebP, choose a sensible quality and avoid the usual compatibility traps.

If you run a website, a shop or a blog, pictures are usually the heaviest part of every page. WebP is a newer format that stores a photo in less space than JPG at a similar look. Speed test tools often recommend it under a heading like "serve images in modern formats".

Steps

  1. Open JPG to WebP.
  2. Choose your JPG files, as many as you like. They are converted in the browser.
  3. Adjust Quality. It starts at 92 %. Each row shows the old and new size, and the files are converted again whenever you move the slider.
  4. Download the results, or take them all with Download all (ZIP).

Choosing the quality

At 92 % the picture is very close to the original and the saving may be modest. For web pages, values around 75 to 85 % are a common compromise. Look at the result at full size before you publish, especially faces and areas of smooth sky, where compression shows first.

Resize before you convert

Format is only half of the weight. A 4000 pixel wide photo shown in a 800 pixel column wastes most of its bytes. Use Resize image to bring the picture down to the size it is displayed at, and choose WebP as the format there. That usually saves more than the format change alone.

Compatibility

  • All current browsers display WebP. Very old browsers do not.
  • Email programs, older office software and many upload forms still expect JPG. Keep the originals.
  • If your own browser cannot write WebP, this tool hands back a JPG instead. Look at the file ending of the download to be sure.

If someone sends you a WebP you cannot open, WebP to JPG reverses the step. To hit an exact size in KB, use Compress image.